summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-29 21:40:25 +0100
committerTor Andersson <tor@ccxvii.net>2024-10-29 23:06:03 +0100
commitb81278195d8184e77fe778c325a74aa865562792 (patch)
treed56eeff66cb7d87fb1857dd7550a03a739e05612 /play.js
parent45802984b67a050844077ee45ecc22458d44311b (diff)
downloadmaria-b81278195d8184e77fe778c325a74aa865562792.tar.gz
Fully colored power action buttons.
Diffstat (limited to 'play.js')
-rw-r--r--play.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/play.js b/play.js
index 25acc5d..6ffb8df 100644
--- a/play.js
+++ b/play.js
@@ -614,12 +614,12 @@ function make_badge(power) {
}
const power_image = [
- '<img style="border-radius:50%" height="24" src="images/role_france.2x.png" alt="France">',
- '<img style="border-radius:50%" height="24" src="images/role_prussia.2x.png" alt="Prussia">',
- '<img style="border-radius:50%" height="24" src="images/role_pragmatic.2x.png" alt="Pragmatic Army">',
- '<img style="border-radius:50%" height="24" src="images/role_austria.2x.png" alt="Austria">',
- '<img style="border-radius:50%" height="24" src="images/role_bavaria.2x.png" alt="Bavaria">',
- '<img style="border-radius:50%" height="24" src="images/role_saxony.2x.png" alt="Saxony">',
+ '<img class="france" height="24" src="images/role_france.2x.png" alt="France">',
+ '<img class="prussia" height="24" src="images/role_prussia.2x.png" alt="Prussia">',
+ '<img class="pragmatic" height="24" src="images/role_pragmatic.2x.png" alt="Pragmatic Army">',
+ '<img class="austria" height="24" src="images/role_austria.2x.png" alt="Austria">',
+ '<img class="bavaria" height="24" src="images/role_bavaria.2x.png" alt="Bavaria">',
+ '<img class="saxony" height="24" src="images/role_saxony.2x.png" alt="Saxony">',
]
const power_badge = [