diff --git a/vasl_templates/webapp/data/default-template-pack/atmm-romanian.j2 b/vasl_templates/webapp/data/default-template-pack/atmm-romanian.j2 index ffb1702..869799a 100644 --- a/vasl_templates/webapp/data/default-template-pack/atmm-romanian.j2 +++ b/vasl_templates/webapp/data/default-template-pack/atmm-romanian.j2 @@ -14,7 +14,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Anti-Tank Magnetic Mines + {{INCLUDE:player_flag_large}}Anti-Tank Magnetic Mines diff --git a/vasl_templates/webapp/data/default-template-pack/atmm.j2 b/vasl_templates/webapp/data/default-template-pack/atmm.j2 index 86fb691..2bb4811 100644 --- a/vasl_templates/webapp/data/default-template-pack/atmm.j2 +++ b/vasl_templates/webapp/data/default-template-pack/atmm.j2 @@ -14,7 +14,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Anti-Tank Magnetic Mines + {{INCLUDE:player_flag_large}}Anti-Tank Magnetic Mines diff --git a/vasl_templates/webapp/data/default-template-pack/baz-cpva16.j2 b/vasl_templates/webapp/data/default-template-pack/baz-cpva16.j2 index bd408e4..f181b8e 100644 --- a/vasl_templates/webapp/data/default-template-pack/baz-cpva16.j2 +++ b/vasl_templates/webapp/data/default-template-pack/baz-cpva16.j2 @@ -16,7 +16,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Bazooka '44 + {{INCLUDE:player_flag_large}}Bazooka '44 diff --git a/vasl_templates/webapp/data/default-template-pack/baz-cpva17.j2 b/vasl_templates/webapp/data/default-template-pack/baz-cpva17.j2 index 6b9c807..2468b60 100644 --- a/vasl_templates/webapp/data/default-template-pack/baz-cpva17.j2 +++ b/vasl_templates/webapp/data/default-template-pack/baz-cpva17.j2 @@ -16,7 +16,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Bazooka Type 51 + {{INCLUDE:player_flag_large}}Bazooka Type 51 diff --git a/vasl_templates/webapp/data/default-template-pack/baz.j2 b/vasl_templates/webapp/data/default-template-pack/baz.j2 index f907dc5..ac51625 100644 --- a/vasl_templates/webapp/data/default-template-pack/baz.j2 +++ b/vasl_templates/webapp/data/default-template-pack/baz.j2 @@ -16,7 +16,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Bazooka {%if BAZ_TYPE%} ('{{BAZ_TYPE}}) {%endif%} + {{INCLUDE:player_flag_large}}Bazooka {%if BAZ_TYPE%} ('{{BAZ_TYPE}}) {%endif%} diff --git a/vasl_templates/webapp/data/default-template-pack/baz45.j2 b/vasl_templates/webapp/data/default-template-pack/baz45.j2 index 5ce3f2b..bcb38fb 100644 --- a/vasl_templates/webapp/data/default-template-pack/baz45.j2 +++ b/vasl_templates/webapp/data/default-template-pack/baz45.j2 @@ -16,7 +16,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Bazooka '45 + {{INCLUDE:player_flag_large}}Bazooka '45 diff --git a/vasl_templates/webapp/data/default-template-pack/baz50.j2 b/vasl_templates/webapp/data/default-template-pack/baz50.j2 index 3ed3469..9c37e53 100644 --- a/vasl_templates/webapp/data/default-template-pack/baz50.j2 +++ b/vasl_templates/webapp/data/default-template-pack/baz50.j2 @@ -16,7 +16,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Bazooka '50 + {{INCLUDE:player_flag_large}}Bazooka '50 diff --git a/vasl_templates/webapp/data/default-template-pack/extras/kgs/grenade-bundles.j2 b/vasl_templates/webapp/data/default-template-pack/extras/kgs/grenade-bundles.j2 index 254bf0e..f404d01 100644 --- a/vasl_templates/webapp/data/default-template-pack/extras/kgs/grenade-bundles.j2 +++ b/vasl_templates/webapp/data/default-template-pack/extras/kgs/grenade-bundles.j2 @@ -18,7 +18,7 @@ font-size: 105% ; font-weight: bold ; "> {# Some versions of Java require tags to have the width and height specified!?! #} - {%if PLAYER_FLAGS["german"]%} {%endif%}Grenade Bundles + {%if PLAYER_FLAGS["german"]%} {%endif%}Grenade Bundles diff --git a/vasl_templates/webapp/data/default-template-pack/extras/kgs/molotov-cocktails.j2 b/vasl_templates/webapp/data/default-template-pack/extras/kgs/molotov-cocktails.j2 index 797220e..b6280ab 100644 --- a/vasl_templates/webapp/data/default-template-pack/extras/kgs/molotov-cocktails.j2 +++ b/vasl_templates/webapp/data/default-template-pack/extras/kgs/molotov-cocktails.j2 @@ -18,7 +18,7 @@ font-size: 105% ; font-weight: bold ; "> {# Some versions of Java require tags to have the width and height specified!?! #} - {%if PLAYER_FLAGS["german"]%} {%endif%}Molotov Cocktails + {%if PLAYER_FLAGS["german"]%} {%endif%}Molotov Cocktails diff --git a/vasl_templates/webapp/data/default-template-pack/mol-p.j2 b/vasl_templates/webapp/data/default-template-pack/mol-p.j2 index c0b7358..2928774 100644 --- a/vasl_templates/webapp/data/default-template-pack/mol-p.j2 +++ b/vasl_templates/webapp/data/default-template-pack/mol-p.j2 @@ -16,7 +16,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}MOL Projector + {{INCLUDE:player_flag_large}}MOL Projector diff --git a/vasl_templates/webapp/data/default-template-pack/mol.j2 b/vasl_templates/webapp/data/default-template-pack/mol.j2 index cd16b85..32bc694 100644 --- a/vasl_templates/webapp/data/default-template-pack/mol.j2 +++ b/vasl_templates/webapp/data/default-template-pack/mol.j2 @@ -16,7 +16,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Molotov Cocktail + {{INCLUDE:player_flag_large}}Molotov Cocktail diff --git a/vasl_templates/webapp/data/default-template-pack/nat_caps.j2 b/vasl_templates/webapp/data/default-template-pack/nat_caps.j2 index 7bcdb30..8d64ca8 100644 --- a/vasl_templates/webapp/data/default-template-pack/nat_caps.j2 +++ b/vasl_templates/webapp/data/default-template-pack/nat_caps.j2 @@ -17,7 +17,7 @@ span.comment { font-size: 85% ; font-style: italic ; color: #404040 ; } border-bottom: 1px solid {{OB_COLOR_2}} ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}{{PLAYER_NAME|nbsp}} Capabilities + {{INCLUDE:player_flag_large}}{{PLAYER_NAME|nbsp}} Capabilities diff --git a/vasl_templates/webapp/data/default-template-pack/ob_ma_notes.j2 b/vasl_templates/webapp/data/default-template-pack/ob_ma_notes.j2 index 7d3f76e..48a504f 100644 --- a/vasl_templates/webapp/data/default-template-pack/ob_ma_notes.j2 +++ b/vasl_templates/webapp/data/default-template-pack/ob_ma_notes.j2 @@ -33,7 +33,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}{{PLAYER_NAME}} {{VO_TYPE}} Notes + {{INCLUDE:player_flag_large}}{{PLAYER_NAME}} {{VO_TYPE}} Notes {%if OB_MA_NOTES%} diff --git a/vasl_templates/webapp/data/default-template-pack/ob_vo.j2 b/vasl_templates/webapp/data/default-template-pack/ob_vo.j2 index c2e48f3..bf97873 100644 --- a/vasl_templates/webapp/data/default-template-pack/ob_vo.j2 +++ b/vasl_templates/webapp/data/default-template-pack/ob_vo.j2 @@ -26,7 +26,7 @@ white-space: nowrap ; "> {# CSS "white-space:nowrap" doesn't always work in VASSAL, we need to use and   here :-/ #} - {{INCLUDE:player_flag}}{{PLAYER_NAME|nbsp}} {{VO_TYPES}} + {{INCLUDE:player_flag_large}}{{PLAYER_NAME|nbsp}} {{VO_TYPES}} {%for vo in OB_VO%} diff --git a/vasl_templates/webapp/data/default-template-pack/ob_vo_note.j2 b/vasl_templates/webapp/data/default-template-pack/ob_vo_note.j2 index 23ebdc6..fddf355 100644 --- a/vasl_templates/webapp/data/default-template-pack/ob_vo_note.j2 +++ b/vasl_templates/webapp/data/default-template-pack/ob_vo_note.j2 @@ -17,7 +17,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}{{VO_NAME}} + {{INCLUDE:player_flag_large}}{{VO_NAME}} {{VO_NOTE_HTML}} diff --git a/vasl_templates/webapp/data/default-template-pack/pf-finnish.j2 b/vasl_templates/webapp/data/default-template-pack/pf-finnish.j2 index a8c3843..3504914 100644 --- a/vasl_templates/webapp/data/default-template-pack/pf-finnish.j2 +++ b/vasl_templates/webapp/data/default-template-pack/pf-finnish.j2 @@ -14,7 +14,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Panzerfaust + {{INCLUDE:player_flag_large}}Panzerfaust diff --git a/vasl_templates/webapp/data/default-template-pack/pf-hungarian.j2 b/vasl_templates/webapp/data/default-template-pack/pf-hungarian.j2 index 4d60082..07b7dde 100644 --- a/vasl_templates/webapp/data/default-template-pack/pf-hungarian.j2 +++ b/vasl_templates/webapp/data/default-template-pack/pf-hungarian.j2 @@ -14,7 +14,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Panzerfaust + {{INCLUDE:player_flag_large}}Panzerfaust diff --git a/vasl_templates/webapp/data/default-template-pack/pf-romanian.j2 b/vasl_templates/webapp/data/default-template-pack/pf-romanian.j2 index d742274..143c2bd 100644 --- a/vasl_templates/webapp/data/default-template-pack/pf-romanian.j2 +++ b/vasl_templates/webapp/data/default-template-pack/pf-romanian.j2 @@ -14,7 +14,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Panzerfaust + {{INCLUDE:player_flag_large}}Panzerfaust diff --git a/vasl_templates/webapp/data/default-template-pack/pf.j2 b/vasl_templates/webapp/data/default-template-pack/pf.j2 index dcee8ac..77519a2 100644 --- a/vasl_templates/webapp/data/default-template-pack/pf.j2 +++ b/vasl_templates/webapp/data/default-template-pack/pf.j2 @@ -14,7 +14,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Panzerfaust + {{INCLUDE:player_flag_large}}Panzerfaust diff --git a/vasl_templates/webapp/data/default-template-pack/piat.j2 b/vasl_templates/webapp/data/default-template-pack/piat.j2 index 619bd33..217c2bf 100644 --- a/vasl_templates/webapp/data/default-template-pack/piat.j2 +++ b/vasl_templates/webapp/data/default-template-pack/piat.j2 @@ -14,7 +14,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}PIAT + {{INCLUDE:player_flag_large}}PIAT diff --git a/vasl_templates/webapp/data/default-template-pack/player_flag_large.include b/vasl_templates/webapp/data/default-template-pack/player_flag_large.include new file mode 100644 index 0000000..62d9c76 --- /dev/null +++ b/vasl_templates/webapp/data/default-template-pack/player_flag_large.include @@ -0,0 +1,2 @@ +{# Some versions of Java require tags to have the width and height specified!?! #} +{%if PLAYER_FLAG%} {%endif%} diff --git a/vasl_templates/webapp/data/default-template-pack/psk.j2 b/vasl_templates/webapp/data/default-template-pack/psk.j2 index f1652c4..59c53f0 100644 --- a/vasl_templates/webapp/data/default-template-pack/psk.j2 +++ b/vasl_templates/webapp/data/default-template-pack/psk.j2 @@ -14,7 +14,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Panzerschrek + {{INCLUDE:player_flag_large}}Panzerschrek diff --git a/vasl_templates/webapp/data/default-template-pack/thh.j2 b/vasl_templates/webapp/data/default-template-pack/thh.j2 index 7744ef3..a755c33 100644 --- a/vasl_templates/webapp/data/default-template-pack/thh.j2 +++ b/vasl_templates/webapp/data/default-template-pack/thh.j2 @@ -14,7 +14,7 @@ padding: 2px 5px ; font-size: 105% ; font-weight: bold ; "> - {{INCLUDE:player_flag}}Tank-Hunter Heroes + {{INCLUDE:player_flag_large}}Tank-Hunter Heroes diff --git a/vasl_templates/webapp/snippets.py b/vasl_templates/webapp/snippets.py index 2637dda..cf51bfe 100644 --- a/vasl_templates/webapp/snippets.py +++ b/vasl_templates/webapp/snippets.py @@ -194,7 +194,9 @@ def get_flag( nat ): if not re.search( "^[-a-z~]+$", nat ): abort( 404 ) key = "flags:{}".format( nat ) - height = app.config.get( "DEFAULT_FLAG_HEIGHT", 11 ) + # NOTE: Most of the flags are at the larger size, so we default to that size (since we get better results + # doing that, and scaling down to the smaller size as needed, rather than the other way around). + height = app.config.get( "DEFAULT_FLAG_HEIGHT", 13 ) # check if a custom flag has been configured if globvars.template_pack: diff --git a/vasl_templates/webapp/static/images/flags/american.png b/vasl_templates/webapp/static/images/flags/american.png index 56103db..f300f7c 100644 Binary files a/vasl_templates/webapp/static/images/flags/american.png and b/vasl_templates/webapp/static/images/flags/american.png differ diff --git a/vasl_templates/webapp/static/images/flags/anzac.png b/vasl_templates/webapp/static/images/flags/anzac.png index d1d1e30..8f65a87 100644 Binary files a/vasl_templates/webapp/static/images/flags/anzac.png and b/vasl_templates/webapp/static/images/flags/anzac.png differ diff --git a/vasl_templates/webapp/static/images/flags/belgian.png b/vasl_templates/webapp/static/images/flags/belgian.png index 6133139..4a9ec99 100644 Binary files a/vasl_templates/webapp/static/images/flags/belgian.png and b/vasl_templates/webapp/static/images/flags/belgian.png differ diff --git a/vasl_templates/webapp/static/images/flags/british.png b/vasl_templates/webapp/static/images/flags/british.png index e2656a9..69e2e74 100644 Binary files a/vasl_templates/webapp/static/images/flags/british.png and b/vasl_templates/webapp/static/images/flags/british.png differ diff --git a/vasl_templates/webapp/static/images/flags/british~canadian.png b/vasl_templates/webapp/static/images/flags/british~canadian.png index 6783988..cf1e44c 100644 Binary files a/vasl_templates/webapp/static/images/flags/british~canadian.png and b/vasl_templates/webapp/static/images/flags/british~canadian.png differ diff --git a/vasl_templates/webapp/static/images/flags/british~newzealand.png b/vasl_templates/webapp/static/images/flags/british~newzealand.png index e2656a9..69e2e74 100644 Binary files a/vasl_templates/webapp/static/images/flags/british~newzealand.png and b/vasl_templates/webapp/static/images/flags/british~newzealand.png differ diff --git a/vasl_templates/webapp/static/images/flags/bulgarian.png b/vasl_templates/webapp/static/images/flags/bulgarian.png index 79b78c6..e4b2ffa 100644 Binary files a/vasl_templates/webapp/static/images/flags/bulgarian.png and b/vasl_templates/webapp/static/images/flags/bulgarian.png differ diff --git a/vasl_templates/webapp/static/images/flags/burmese.png b/vasl_templates/webapp/static/images/flags/burmese.png index 93877b8..35ff0e1 100644 Binary files a/vasl_templates/webapp/static/images/flags/burmese.png and b/vasl_templates/webapp/static/images/flags/burmese.png differ diff --git a/vasl_templates/webapp/static/images/flags/chinese.png b/vasl_templates/webapp/static/images/flags/chinese.png index 50ed813..d5121b9 100644 Binary files a/vasl_templates/webapp/static/images/flags/chinese.png and b/vasl_templates/webapp/static/images/flags/chinese.png differ diff --git a/vasl_templates/webapp/static/images/flags/chinese~gmd.png b/vasl_templates/webapp/static/images/flags/chinese~gmd.png index d7b77e1..2d58f30 100644 Binary files a/vasl_templates/webapp/static/images/flags/chinese~gmd.png and b/vasl_templates/webapp/static/images/flags/chinese~gmd.png differ diff --git a/vasl_templates/webapp/static/images/flags/croatian.png b/vasl_templates/webapp/static/images/flags/croatian.png index 79b78c6..e4b2ffa 100644 Binary files a/vasl_templates/webapp/static/images/flags/croatian.png and b/vasl_templates/webapp/static/images/flags/croatian.png differ diff --git a/vasl_templates/webapp/static/images/flags/danish.png b/vasl_templates/webapp/static/images/flags/danish.png index 6133139..4a9ec99 100644 Binary files a/vasl_templates/webapp/static/images/flags/danish.png and b/vasl_templates/webapp/static/images/flags/danish.png differ diff --git a/vasl_templates/webapp/static/images/flags/dutch.png b/vasl_templates/webapp/static/images/flags/dutch.png index 6133139..4a9ec99 100644 Binary files a/vasl_templates/webapp/static/images/flags/dutch.png and b/vasl_templates/webapp/static/images/flags/dutch.png differ diff --git a/vasl_templates/webapp/static/images/flags/filipino.png b/vasl_templates/webapp/static/images/flags/filipino.png index 466e25a..7fb9f07 100644 Binary files a/vasl_templates/webapp/static/images/flags/filipino.png and b/vasl_templates/webapp/static/images/flags/filipino.png differ diff --git a/vasl_templates/webapp/static/images/flags/finnish.png b/vasl_templates/webapp/static/images/flags/finnish.png index 676ceab..f9d4aed 100644 Binary files a/vasl_templates/webapp/static/images/flags/finnish.png and b/vasl_templates/webapp/static/images/flags/finnish.png differ diff --git a/vasl_templates/webapp/static/images/flags/free-french.png b/vasl_templates/webapp/static/images/flags/free-french.png index 72e5b67..d953187 100644 Binary files a/vasl_templates/webapp/static/images/flags/free-french.png and b/vasl_templates/webapp/static/images/flags/free-french.png differ diff --git a/vasl_templates/webapp/static/images/flags/french.png b/vasl_templates/webapp/static/images/flags/french.png index 8933d6f..1c6656e 100644 Binary files a/vasl_templates/webapp/static/images/flags/french.png and b/vasl_templates/webapp/static/images/flags/french.png differ diff --git a/vasl_templates/webapp/static/images/flags/german.png b/vasl_templates/webapp/static/images/flags/german.png index ff08ddf..5b88cca 100644 Binary files a/vasl_templates/webapp/static/images/flags/german.png and b/vasl_templates/webapp/static/images/flags/german.png differ diff --git a/vasl_templates/webapp/static/images/flags/greek.png b/vasl_templates/webapp/static/images/flags/greek.png index 6133139..4a9ec99 100644 Binary files a/vasl_templates/webapp/static/images/flags/greek.png and b/vasl_templates/webapp/static/images/flags/greek.png differ diff --git a/vasl_templates/webapp/static/images/flags/hungarian.png b/vasl_templates/webapp/static/images/flags/hungarian.png index 79b78c6..e4b2ffa 100644 Binary files a/vasl_templates/webapp/static/images/flags/hungarian.png and b/vasl_templates/webapp/static/images/flags/hungarian.png differ diff --git a/vasl_templates/webapp/static/images/flags/indonesian.png b/vasl_templates/webapp/static/images/flags/indonesian.png index a9a6c45..db26f01 100644 Binary files a/vasl_templates/webapp/static/images/flags/indonesian.png and b/vasl_templates/webapp/static/images/flags/indonesian.png differ diff --git a/vasl_templates/webapp/static/images/flags/italian.png b/vasl_templates/webapp/static/images/flags/italian.png index 3d36a26..b4b78e5 100644 Binary files a/vasl_templates/webapp/static/images/flags/italian.png and b/vasl_templates/webapp/static/images/flags/italian.png differ diff --git a/vasl_templates/webapp/static/images/flags/japanese.png b/vasl_templates/webapp/static/images/flags/japanese.png index 2b18fda..4c87043 100644 Binary files a/vasl_templates/webapp/static/images/flags/japanese.png and b/vasl_templates/webapp/static/images/flags/japanese.png differ diff --git a/vasl_templates/webapp/static/images/flags/kfw-cpva.png b/vasl_templates/webapp/static/images/flags/kfw-cpva.png index f812a1e..28a5a70 100644 Binary files a/vasl_templates/webapp/static/images/flags/kfw-cpva.png and b/vasl_templates/webapp/static/images/flags/kfw-cpva.png differ diff --git a/vasl_templates/webapp/static/images/flags/kfw-kpa.png b/vasl_templates/webapp/static/images/flags/kfw-kpa.png index a485e65..ff16485 100644 Binary files a/vasl_templates/webapp/static/images/flags/kfw-kpa.png and b/vasl_templates/webapp/static/images/flags/kfw-kpa.png differ diff --git a/vasl_templates/webapp/static/images/flags/kfw-ounc.png b/vasl_templates/webapp/static/images/flags/kfw-ounc.png index 70cf79e..576b4b0 100644 Binary files a/vasl_templates/webapp/static/images/flags/kfw-ounc.png and b/vasl_templates/webapp/static/images/flags/kfw-ounc.png differ diff --git a/vasl_templates/webapp/static/images/flags/kfw-rok.png b/vasl_templates/webapp/static/images/flags/kfw-rok.png index 7001097..d64f3cf 100644 Binary files a/vasl_templates/webapp/static/images/flags/kfw-rok.png and b/vasl_templates/webapp/static/images/flags/kfw-rok.png differ diff --git a/vasl_templates/webapp/static/images/flags/polish.png b/vasl_templates/webapp/static/images/flags/polish.png index bd87568..e394ee6 100644 Binary files a/vasl_templates/webapp/static/images/flags/polish.png and b/vasl_templates/webapp/static/images/flags/polish.png differ diff --git a/vasl_templates/webapp/static/images/flags/romanian.png b/vasl_templates/webapp/static/images/flags/romanian.png index 79b78c6..e4b2ffa 100644 Binary files a/vasl_templates/webapp/static/images/flags/romanian.png and b/vasl_templates/webapp/static/images/flags/romanian.png differ diff --git a/vasl_templates/webapp/static/images/flags/russian.png b/vasl_templates/webapp/static/images/flags/russian.png index a1acda4..4e650cf 100644 Binary files a/vasl_templates/webapp/static/images/flags/russian.png and b/vasl_templates/webapp/static/images/flags/russian.png differ diff --git a/vasl_templates/webapp/static/images/flags/slovakian.png b/vasl_templates/webapp/static/images/flags/slovakian.png index 6c8c9eb..3740791 100644 Binary files a/vasl_templates/webapp/static/images/flags/slovakian.png and b/vasl_templates/webapp/static/images/flags/slovakian.png differ diff --git a/vasl_templates/webapp/static/images/flags/thai.png b/vasl_templates/webapp/static/images/flags/thai.png index c25de6a..4b1bbad 100644 Binary files a/vasl_templates/webapp/static/images/flags/thai.png and b/vasl_templates/webapp/static/images/flags/thai.png differ diff --git a/vasl_templates/webapp/static/images/flags/yugoslavian.png b/vasl_templates/webapp/static/images/flags/yugoslavian.png index 6133139..4a9ec99 100644 Binary files a/vasl_templates/webapp/static/images/flags/yugoslavian.png and b/vasl_templates/webapp/static/images/flags/yugoslavian.png differ diff --git a/vasl_templates/webapp/static/snippets.js b/vasl_templates/webapp/static/snippets.js index 0409c16..2064b60 100644 --- a/vasl_templates/webapp/static/snippets.js +++ b/vasl_templates/webapp/static/snippets.js @@ -138,6 +138,11 @@ function make_snippet( $btn, params, extra_params, show_date_warnings ) params.CUSTOM_LIST_BULLETS = true ; // some versions of Java require tags to have the width and height specified!?! params.PLAYER_FLAG_SIZE = "width='11' height='11'" ; + // FUDGE! A lot of labels use a larger font for their heading (e.g. V/O notes, PF, ATMM, etc.) and so + // we would like to show a larger flag to match, or at least vertically center the flag. This would be + // trivial to do with CSS, but VASSAL's HTML engine can't handle it, so we have to manually force + // the flag to render at a larger size >:-/ + params.PLAYER_FLAG_SIZE_LARGE = "width='13' height='13'" ; // set player-specific parameters var player_no ;