diff --git a/vasl_templates/webapp/data/default-template-pack/atmm.j2 b/vasl_templates/webapp/data/default-template-pack/atmm.j2
old mode 100644
new mode 100755
index 5dc8975..fc7f0a8
--- a/vasl_templates/webapp/data/default-template-pack/atmm.j2
+++ b/vasl_templates/webapp/data/default-template-pack/atmm.j2
@@ -1 +1,37 @@
-Kaboom!!! ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]
+
+
+
+
+
+
+
+
+
+
+ Anti-Tank Magnetic Mines
+
+ |
+
+ ATMM check: dr ≤ 3 (△)
+
+
+ +1 | HS/crew
+ |
+ +2 | SMC
+ |
+ +1 | CX
+ |
+ +1 | vs. non-armored vehicle
+ |
+ original 6 = pinned (CCV reduced by 1)
+
+ |
+
+
diff --git a/vasl_templates/webapp/data/default-template-pack/baz.j2 b/vasl_templates/webapp/data/default-template-pack/baz.j2
old mode 100644
new mode 100755
index c31dce9..07f1168
--- a/vasl_templates/webapp/data/default-template-pack/baz.j2
+++ b/vasl_templates/webapp/data/default-template-pack/baz.j2
@@ -1 +1,79 @@
-BAZ: {%if BAZ_TYPE%}'{{BAZ_TYPE}} ; range=[{{BAZ_RANGE}}] ; X#=[{{BAZ_BREAKDOWN}}] ; TK#=[{{BAZ_TOKILL}}]{%if BAZ_WP%} ; WP#=[{{BAZ_WP}}]{%endif%} ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]{%else%}none{%endif%}
+
+
+
+
+
+
+
+
+
+
+ Bazooka {%if BAZ_TYPE%} ('{{BAZ_TYPE}}) {%endif%}
+
+ |
+
+
+
+
+ Range | TH#
+{%if BAZ_TYPE == 45 %}
+ |
+ 0 | 11
+ |
+ 1 | 10
+ |
+ 2 | 9
+ |
+ 3 | 8
+ |
+ 4 | 6
+ |
+ 5 | 4
+{%else%}
+ |
+ 0 | 11
+ |
+ 1 | 9
+ |
+ 2 | 8
+ |
+ 3 | 7
+ |
+ 4 | 4
+{%endif%}
+ |
+
+ |
+
+{%if BAZ_BREAKDOWN%}
+
+ X#:
+ | {{BAZ_BREAKDOWN}}
+{%endif%}
+{%if BAZ_WP%}
+ |
+ WP#:
+ | {{BAZ_WP}}
+{%endif%}
+{%if BAZ_TOKILL%}
+ |
+ TK#:
+ | {{BAZ_TOKILL}}
+{%endif%}
+{%if BAZ_RANGE%}
+ |
+ 8-{{BAZ_RANGE}}
+{%endif%}
+ |
+
+ |
+
\ No newline at end of file
diff --git a/vasl_templates/webapp/data/default-template-pack/mol-p.j2 b/vasl_templates/webapp/data/default-template-pack/mol-p.j2
old mode 100644
new mode 100755
index 9eb16d1..f5ff8cb
--- a/vasl_templates/webapp/data/default-template-pack/mol-p.j2
+++ b/vasl_templates/webapp/data/default-template-pack/mol-p.j2
@@ -1 +1,62 @@
-mol-p template ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]
+
+
+
+
+
+
+
+
+
+
+ MOL Projector
+
+ |
+
+
+
+
+ Range | TH#
+ |
+ 0 | 10
+ |
+ 1 | 9
+ |
+ 2 | 8
+ |
+ 3 | 6
+ |
+ 4 | 4
+ |
+
+ |
+
+
+ X#:
+ | 12
+ |
+ B#:
+ | 11
+ |
+ 4-4
+ |
+
+ |
+
+ IFT DR original colored dr:
+
+ - 1 = Flame in target Location
+
- 6 = thrower breaks, Flame in their Location
+
+
+ |
+
\ No newline at end of file
diff --git a/vasl_templates/webapp/data/default-template-pack/mol.j2 b/vasl_templates/webapp/data/default-template-pack/mol.j2
old mode 100644
new mode 100755
index 3fb395f..f1064ee
--- a/vasl_templates/webapp/data/default-template-pack/mol.j2
+++ b/vasl_templates/webapp/data/default-template-pack/mol.j2
@@ -1 +1,42 @@
-Burn, baby, burn! ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]
+
+
+
+
+
+
+
+
+
+
+ Molotov Cocktail
+
+ |
+
+ MOL check: dr ≤ 3 (△)
+
+
+ +1 | HS/crew
+ |
+ +2 | SMC
+ |
+ +1 | CX
+ |
+ +1 | non-AFV target
+ |
+ IFT DR original colored dr:
+
+ - 1 = Flame in target Location
+
- 6 = thrower breaks, Flame in their Location
+
+ Kindling Attempt: +2 DRM
+
+ |
+
diff --git a/vasl_templates/webapp/data/default-template-pack/nationalities.json b/vasl_templates/webapp/data/default-template-pack/nationalities.json
old mode 100644
new mode 100755
index 2984867..89265bc
--- a/vasl_templates/webapp/data/default-template-pack/nationalities.json
+++ b/vasl_templates/webapp/data/default-template-pack/nationalities.json
@@ -2,42 +2,42 @@
"german": {
"display_name": "German",
- "ob_colors": [ "OBCOL:german", "OBCOL2:german" ]
+ "ob_colors": [ "d3edfc", "91cdf5" ]
},
"russian": {
"display_name": "Russian",
- "ob_colors": [ "OBCOL:russian", "OBCOL2:russian" ]
+ "ob_colors": [ "eabe51", "d68d1a" ]
},
"american": {
"display_name": "American",
- "ob_colors": [ "OBCOL:american", "OBCOL2:american" ]
+ "ob_colors": [ "e5f700", "cdf000" ]
},
"british": {
"display_name": "British",
- "ob_colors": [ "OBCOL:british", "OBCOL2:british" ]
+ "ob_colors": [ "f6edda", "e5cea0" ]
},
"french": {
"display_name": "French",
- "ob_colors": [ "OBCOL:french", "OBCOL2:french" ]
+ "ob_colors": [ "a2ddff", "41a5ff" ]
},
"italian": {
"display_name": "Italian",
- "ob_colors": [ "OBCOL:italian", "OBCOL2:italian" ]
+ "ob_colors": [ "dde0e2", "a6adb2" ]
},
"finnish": {
"display_name": "Finnish",
- "ob_colors": [ "OBCOL:finns", "OBCOL2:finns" ]
+ "ob_colors": [ "edefef", "ced3d3" ]
},
"japanese": {
"display_name": "Japanese",
- "ob_colors": [ "OBCOL:japanese", "OBCOL2:japanese" ]
+ "ob_colors": [ "fff200", "ffdb00" ]
}
-}
+}
\ No newline at end of file
diff --git a/vasl_templates/webapp/data/default-template-pack/ob_setup.j2 b/vasl_templates/webapp/data/default-template-pack/ob_setup.j2
old mode 100644
new mode 100755
index 216fb22..3fb6d12
--- a/vasl_templates/webapp/data/default-template-pack/ob_setup.j2
+++ b/vasl_templates/webapp/data/default-template-pack/ob_setup.j2
@@ -1 +1,17 @@
-[{{OB_SETUP}}] (col=[{{OB_COLOR}}/{{OB_COLOR_2}}]){%if OB_SETUP_WIDTH%} (width=[{{OB_SETUP_WIDTH}}]){%endif%}
+
+
+
+
+
\ No newline at end of file
diff --git a/vasl_templates/webapp/data/default-template-pack/pf.j2 b/vasl_templates/webapp/data/default-template-pack/pf.j2
old mode 100644
new mode 100755
index ca4ab51..4782469
--- a/vasl_templates/webapp/data/default-template-pack/pf.j2
+++ b/vasl_templates/webapp/data/default-template-pack/pf.j2
@@ -1 +1,63 @@
-PF: range=[{{PF_RANGE}}] ; check=[{{PF_CHECK_DR}}]{%if PF_CHECK_DRM%} (drm=[{{PF_CHECK_DRM}}]){%endif%} ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]
+
+
+
+
+
+
+
+
+
+
+ Panzerfaust
+
+ |
+
+
+
+ range: {{PF_RANGE}} {%if PF_RANGE == 1%} hex {%else%} hexes {%endif%}
+
+ PF check: dr ≤ {{PF_CHECK_DR}} (△)
+
+
+ +1 | HS/crew
+ |
+ +2 | SMC
+ |
+ +1 | CX
+ |
+ +1 | non-AFV target
+ |
+ original 6 = pinned
+
+ |
+
+
+ Range | TH#
+ |
+ 0 | 10
+ |
+ 1 | 8
+ |
+ 2 | 6
+ |
+ 3 | 4
+ |
+
+ |
+
+
+ TK#: 31
+ 16-3
+
+ |
+
+
\ No newline at end of file
diff --git a/vasl_templates/webapp/data/default-template-pack/piat.j2 b/vasl_templates/webapp/data/default-template-pack/piat.j2
old mode 100644
new mode 100755
index 41610d8..b50410a
--- a/vasl_templates/webapp/data/default-template-pack/piat.j2
+++ b/vasl_templates/webapp/data/default-template-pack/piat.j2
@@ -1 +1,51 @@
-piat template ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]
+
+
+
+
+
+
+
+
+
+
+ PIAT
+
+ |
+
+
+
+
+ Range | TH#
+ |
+ 0 | 11
+ |
+ 1 | 9
+ |
+ 2 | 7
+ |
+ 3 | 5
+ |
+
+ |
+
+
+ B#:
+ | 10
+ |
+ TK#:
+ | 15
+ |
+ 8-3
+ |
+
+ |
+
\ No newline at end of file
diff --git a/vasl_templates/webapp/data/default-template-pack/players.j2 b/vasl_templates/webapp/data/default-template-pack/players.j2
old mode 100644
new mode 100755
index abca931..39a99ab
--- a/vasl_templates/webapp/data/default-template-pack/players.j2
+++ b/vasl_templates/webapp/data/default-template-pack/players.j2
@@ -1,2 +1,20 @@
-player1=[{{PLAYER_1}}:{{PLAYER_1_NAME}}] ; ELR=[{{PLAYER_1_ELR}}] ; SAN=[{{PLAYER_1_SAN}}]
-player2=[{{PLAYER_2}}:{{PLAYER_2_NAME}}] ; ELR=[{{PLAYER_2_ELR}}] ; SAN=[{{PLAYER_2_SAN}}]
+
+
+
+
+
+ {{PLAYER_1_NAME}}:
+ {{PLAYER_2_NAME}}:
+ |
+ ELR: {{PLAYER_1_ELR}}
+ ELR: {{PLAYER_2_ELR}}
+ |
+ SAN: {{PLAYER_1_SAN}}
+ SAN: {{PLAYER_2_SAN}}
+
+ |
+
+
\ No newline at end of file
diff --git a/vasl_templates/webapp/data/default-template-pack/psk.j2 b/vasl_templates/webapp/data/default-template-pack/psk.j2
old mode 100644
new mode 100755
index 638bbca..e9b82ee
--- a/vasl_templates/webapp/data/default-template-pack/psk.j2
+++ b/vasl_templates/webapp/data/default-template-pack/psk.j2
@@ -1 +1,53 @@
-====> whoosh! ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]
+
+
+
+
+
+
+
+
+
+
+ Panzerschrek
+
+ |
+
+
+
+
+ Range | TH#
+ |
+ 0 | 11
+ |
+ 1 | 9
+ |
+ 2 | 8
+ |
+ 3 | 7
+ |
+ 4 | 4
+ |
+
+ |
+
+
+ X#:
+ | 10
+ |
+ TK#:
+ | 26
+ |
+ 12-4
+ |
+
+ |
+
\ No newline at end of file
diff --git a/vasl_templates/webapp/data/default-template-pack/scenario.j2 b/vasl_templates/webapp/data/default-template-pack/scenario.j2
old mode 100644
new mode 100755
index 9e81d82..d65d84c
--- a/vasl_templates/webapp/data/default-template-pack/scenario.j2
+++ b/vasl_templates/webapp/data/default-template-pack/scenario.j2
@@ -1,4 +1,24 @@
-name = [{{SCENARIO_NAME}}]
-loc = [{{SCENARIO_LOCATION}}]
-date = [{{SCENARIO_DATE}}]{%if SCENARIO_DATE%} aka "{{SCENARIO_DAY_OF_MONTH}} {{SCENARIO_MONTH_NAME}}, {{SCENARIO_YEAR}}"{%endif%}
-{%if SCENARIO_WIDTH%}width = [{{SCENARIO_WIDTH}}]{%endif%}
+
+
+
+
+
+
+
+ {%if SCENARIO_NAME%} {{SCENARIO_NAME}} {%else%} Untitled scenario {%endif%}
+
+ {%if SCENARIO_LOCATION%} ({{SCENARIO_LOCATION}}) {%endif%}
+ {%if SCENARIO_DATE%}
+ ({{SCENARIO_MONTH_NAME}} {{SCENARIO_DAY_OF_MONTH}}, {{SCENARIO_YEAR}})
+ {%endif%}
+
+
+ |
+
+
\ No newline at end of file
diff --git a/vasl_templates/webapp/data/default-template-pack/ssr.j2 b/vasl_templates/webapp/data/default-template-pack/ssr.j2
old mode 100644
new mode 100755
index efa8e91..6afbf59
--- a/vasl_templates/webapp/data/default-template-pack/ssr.j2
+++ b/vasl_templates/webapp/data/default-template-pack/ssr.j2
@@ -1,2 +1,24 @@
-{% for ssr in SSR %}(*) [{{ssr}}]
-{% endfor %}{%if SSR_WIDTH%}width = [{{SSR_WIDTH}}]{%endif%}
+
+
+
+
+
+
+ Scenario Special Rules
+
+ |
+
+
+{% for ssr in SSR %}
+ - {{ssr}}
+{% endfor %}
+
+
+ |
+
+
\ No newline at end of file
diff --git a/vasl_templates/webapp/data/default-template-pack/victory_conditions.j2 b/vasl_templates/webapp/data/default-template-pack/victory_conditions.j2
old mode 100644
new mode 100755
index aa0f735..545bf51
--- a/vasl_templates/webapp/data/default-template-pack/victory_conditions.j2
+++ b/vasl_templates/webapp/data/default-template-pack/victory_conditions.j2
@@ -1 +1,22 @@
-VC: [{{VICTORY_CONDITIONS}}]{%if VICTORY_CONDITIONS_WIDTH%} ; width=[{{VICTORY_CONDITIONS_WIDTH}}]{%endif%}
+
+
+
+
+
+
+ Victory Conditions
+
+ |
+
+ {{VICTORY_CONDITIONS}}
+
+ |
+
+
\ No newline at end of file
diff --git a/vasl_templates/webapp/snippets.py b/vasl_templates/webapp/snippets.py
index 7b4f09d..28af412 100644
--- a/vasl_templates/webapp/snippets.py
+++ b/vasl_templates/webapp/snippets.py
@@ -26,7 +26,10 @@ def get_template_pack():
# initialize
# NOTE: We always start with the default nationalities data. Unlike template files,
# user-defined template packs can add to it, or modify existing entries, but not replace it.
- base_dir = os.path.join( DATA_DIR, "default-template-pack/" )
+ base_dir = os.path.join(
+ app.config.get( "DATA_DIR", DATA_DIR ),
+ "default-template-pack/"
+ )
data = { "templates": {} }
fname = os.path.join( base_dir, "nationalities.json" )
with open(fname,"r") as fp:
diff --git a/vasl_templates/webapp/tests/conftest.py b/vasl_templates/webapp/tests/conftest.py
index 4727fed..5366863 100644
--- a/vasl_templates/webapp/tests/conftest.py
+++ b/vasl_templates/webapp/tests/conftest.py
@@ -30,6 +30,10 @@ def webapp():
return url.replace( "localhost/", "localhost:{}/".format(FLASK_WEBAPP_PORT) )
app.url_for = make_webapp_url
+ # configure the webapp to use our test data
+ # NOTE: Can't seem to change constants.DATA_DIR (probably some pytest funkiness :-/)
+ app.config["DATA_DIR"] = os.path.join( os.path.split(__file__)[0], "fixtures/data" )
+
# start the webapp server (in a background thread)
logging.disable( logging.CRITICAL )
thread = threading.Thread(
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/atmm.j2 b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/atmm.j2
new file mode 100644
index 0000000..5dc8975
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/atmm.j2
@@ -0,0 +1 @@
+Kaboom!!! ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/baz.j2 b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/baz.j2
new file mode 100644
index 0000000..c31dce9
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/baz.j2
@@ -0,0 +1 @@
+BAZ: {%if BAZ_TYPE%}'{{BAZ_TYPE}} ; range=[{{BAZ_RANGE}}] ; X#=[{{BAZ_BREAKDOWN}}] ; TK#=[{{BAZ_TOKILL}}]{%if BAZ_WP%} ; WP#=[{{BAZ_WP}}]{%endif%} ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]{%else%}none{%endif%}
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/mol-p.j2 b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/mol-p.j2
new file mode 100644
index 0000000..9eb16d1
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/mol-p.j2
@@ -0,0 +1 @@
+mol-p template ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/mol.j2 b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/mol.j2
new file mode 100644
index 0000000..3fb395f
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/mol.j2
@@ -0,0 +1 @@
+Burn, baby, burn! ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/nationalities.json b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/nationalities.json
new file mode 100644
index 0000000..2984867
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/nationalities.json
@@ -0,0 +1,43 @@
+{
+
+"german": {
+ "display_name": "German",
+ "ob_colors": [ "OBCOL:german", "OBCOL2:german" ]
+},
+
+"russian": {
+ "display_name": "Russian",
+ "ob_colors": [ "OBCOL:russian", "OBCOL2:russian" ]
+},
+
+"american": {
+ "display_name": "American",
+ "ob_colors": [ "OBCOL:american", "OBCOL2:american" ]
+},
+
+"british": {
+ "display_name": "British",
+ "ob_colors": [ "OBCOL:british", "OBCOL2:british" ]
+},
+
+"french": {
+ "display_name": "French",
+ "ob_colors": [ "OBCOL:french", "OBCOL2:french" ]
+},
+
+"italian": {
+ "display_name": "Italian",
+ "ob_colors": [ "OBCOL:italian", "OBCOL2:italian" ]
+},
+
+"finnish": {
+ "display_name": "Finnish",
+ "ob_colors": [ "OBCOL:finns", "OBCOL2:finns" ]
+},
+
+"japanese": {
+ "display_name": "Japanese",
+ "ob_colors": [ "OBCOL:japanese", "OBCOL2:japanese" ]
+}
+
+}
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/ob_setup.j2 b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/ob_setup.j2
new file mode 100644
index 0000000..216fb22
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/ob_setup.j2
@@ -0,0 +1 @@
+[{{OB_SETUP}}] (col=[{{OB_COLOR}}/{{OB_COLOR_2}}]){%if OB_SETUP_WIDTH%} (width=[{{OB_SETUP_WIDTH}}]){%endif%}
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/pf.j2 b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/pf.j2
new file mode 100644
index 0000000..ca4ab51
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/pf.j2
@@ -0,0 +1 @@
+PF: range=[{{PF_RANGE}}] ; check=[{{PF_CHECK_DR}}]{%if PF_CHECK_DRM%} (drm=[{{PF_CHECK_DRM}}]){%endif%} ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/piat.j2 b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/piat.j2
new file mode 100644
index 0000000..41610d8
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/piat.j2
@@ -0,0 +1 @@
+piat template ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/players.j2 b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/players.j2
new file mode 100644
index 0000000..abca931
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/players.j2
@@ -0,0 +1,2 @@
+player1=[{{PLAYER_1}}:{{PLAYER_1_NAME}}] ; ELR=[{{PLAYER_1_ELR}}] ; SAN=[{{PLAYER_1_SAN}}]
+player2=[{{PLAYER_2}}:{{PLAYER_2_NAME}}] ; ELR=[{{PLAYER_2_ELR}}] ; SAN=[{{PLAYER_2_SAN}}]
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/psk.j2 b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/psk.j2
new file mode 100644
index 0000000..638bbca
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/psk.j2
@@ -0,0 +1 @@
+====> whoosh! ; col=[{{OB_COLOR}}]/[{{OB_COLOR_2}}]
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/scenario.j2 b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/scenario.j2
new file mode 100644
index 0000000..9e81d82
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/scenario.j2
@@ -0,0 +1,4 @@
+name = [{{SCENARIO_NAME}}]
+loc = [{{SCENARIO_LOCATION}}]
+date = [{{SCENARIO_DATE}}]{%if SCENARIO_DATE%} aka "{{SCENARIO_DAY_OF_MONTH}} {{SCENARIO_MONTH_NAME}}, {{SCENARIO_YEAR}}"{%endif%}
+{%if SCENARIO_WIDTH%}width = [{{SCENARIO_WIDTH}}]{%endif%}
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/ssr.j2 b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/ssr.j2
new file mode 100644
index 0000000..efa8e91
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/ssr.j2
@@ -0,0 +1,2 @@
+{% for ssr in SSR %}(*) [{{ssr}}]
+{% endfor %}{%if SSR_WIDTH%}width = [{{SSR_WIDTH}}]{%endif%}
diff --git a/vasl_templates/webapp/tests/fixtures/data/default-template-pack/victory_conditions.j2 b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/victory_conditions.j2
new file mode 100644
index 0000000..aa0f735
--- /dev/null
+++ b/vasl_templates/webapp/tests/fixtures/data/default-template-pack/victory_conditions.j2
@@ -0,0 +1 @@
+VC: [{{VICTORY_CONDITIONS}}]{%if VICTORY_CONDITIONS_WIDTH%} ; width=[{{VICTORY_CONDITIONS_WIDTH}}]{%endif%}