diff --git a/vasl_templates/webapp/data/default-template-pack/nationalities.json b/vasl_templates/webapp/data/default-template-pack/nationalities.json index 334c728..6583428 100644 --- a/vasl_templates/webapp/data/default-template-pack/nationalities.json +++ b/vasl_templates/webapp/data/default-template-pack/nationalities.json @@ -85,6 +85,10 @@ "croatian": { "display_name": "Croatian", "ob_colors": [ "#3ceb7c","#1de256", "#0ed93c" ] +}, +"bulgarian": { + "display_name": "Bulgarian", + "ob_colors": [ "#3ceb7c","#1de256", "#0ed93c" ] } } diff --git a/vasl_templates/webapp/data/ordnance/axis-minor/bulgarian.json b/vasl_templates/webapp/data/ordnance/axis-minor/bulgarian.json new file mode 100644 index 0000000..fb4593f --- /dev/null +++ b/vasl_templates/webapp/data/ordnance/axis-minor/bulgarian.json @@ -0,0 +1,43 @@ +[ + +{ "name": "LG de 50 mle 37", + "capabilities_other": [ "2PP" ], + "note_number": "37", + "notes": [ "A" ] +}, +{ "name": "Madsen M-35", + "capabilities": [ "NT", "QSU", "no Gunshield" ], + "capabilities_other": [ "R2", "IFE=B10\u2020" ], + "note_number": "38\u2020", + "notes": [ "T\u20201" ] +}, +{ "name": "Skoda Infantry Gun", + "capabilities": [ "NT", "QSU", "h-d" ], + "note_number": "39\u2020" +}, +{ "name": "Skoda Infantry Gun", + "capabilities": [ "NT", "QSU", "h-d" ], + "note_number": "39\u2020" +}, +{ "name": "Bofors 75mm M36", + "capabilities": [ "NT", "QSU", "h-d" ], + "note_number": "40\u2020", + "notes": [ "A" ] +}, +{ "name": "75mm K-S", + "capabilities": [ "NT", "QSU", "h-d" ], + "capabilities2": { "s": 5 }, + "note_number": "41\u2020" +}, +{ "name": "Ob 105mm GP", + "capabilities": [ "NT" ], + "capabilities2": { "s": 5, "LF": [ "105*\u20201" ] }, + "note_number": "42\u2020", + "notes": [ "G\u20201" ] +}, +{ "name": "D/30 Krupp", + "capabilities": [ "NT", "RFNM", "no IF" ], + "note_number": "43" +} + +] diff --git a/vasl_templates/webapp/data/vehicles/axis-minor/bulgarian.json b/vasl_templates/webapp/data/vehicles/axis-minor/bulgarian.json new file mode 100644 index 0000000..a8547d8 --- /dev/null +++ b/vasl_templates/webapp/data/vehicles/axis-minor/bulgarian.json @@ -0,0 +1,10 @@ +[ + +{ "name": "Vickers 6-Ton Mk E", + "no_radio": "\u00ae", + "CS#": 3, + "capabilities2": { "C": "5\u2020" }, + "note_number": "28\u2020" +} + +] diff --git a/vasl_templates/webapp/static/images/flags/bulgarian.png b/vasl_templates/webapp/static/images/flags/bulgarian.png new file mode 100644 index 0000000..79b78c6 Binary files /dev/null and b/vasl_templates/webapp/static/images/flags/bulgarian.png differ diff --git a/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1940.txt b/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1940.txt new file mode 100644 index 0000000..7d643ce --- /dev/null +++ b/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1940.txt @@ -0,0 +1,12 @@ +=== ordnance/bulgarian/1940 === + +Name Capabilities (effective) # Notes +------------------ ------------------------------- ------------------------------- --- -------------- +LG de 50 mle 37 2PP 2PP 37 A +Madsen M-35 NT QSU no Gunshield R2 IFE=B10† NT QSU no Gunshield R2 IFE=B10† 38† T†1 +Skoda Infantry Gun NT QSU h-d NT QSU h-d 39† n/a +Skoda Infantry Gun NT QSU h-d NT QSU h-d 39† n/a +Bofors 75mm M36 NT QSU h-d NT QSU h-d 40† A +75mm K-S NT QSU h-d s5 NT QSU h-d s5 41† n/a +Ob 105mm GP NT LF [105*†[1]] s5 NT LF [105*†[1]] s5 42† G†1 +D/30 Krupp NT RFNM no IF NT RFNM no IF 43 n/a diff --git a/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1941.txt b/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1941.txt new file mode 100644 index 0000000..1465bcc --- /dev/null +++ b/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1941.txt @@ -0,0 +1,12 @@ +=== ordnance/bulgarian/1941 === + +Name Capabilities (effective) # Notes +------------------ ------------------------------- ------------------------------- --- -------------- +LG de 50 mle 37 2PP 2PP 37 A +Madsen M-35 NT QSU no Gunshield R2 IFE=B10† NT QSU no Gunshield R2 IFE=B10† 38† T†1 +Skoda Infantry Gun NT QSU h-d NT QSU h-d 39† n/a +Skoda Infantry Gun NT QSU h-d NT QSU h-d 39† n/a +Bofors 75mm M36 NT QSU h-d NT QSU h-d 40† A +75mm K-S NT QSU h-d s5 NT QSU h-d s5 41† n/a +Ob 105mm GP NT LF [105*†[1]] s5 NT LF [105*†[1]] s5 42† G†1 +D/30 Krupp NT RFNM no IF NT RFNM no IF 43 n/a diff --git a/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1942.txt b/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1942.txt new file mode 100644 index 0000000..f8f9af2 --- /dev/null +++ b/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1942.txt @@ -0,0 +1,12 @@ +=== ordnance/bulgarian/1942 === + +Name Capabilities (effective) # Notes +------------------ ------------------------------- ------------------------------- --- -------------- +LG de 50 mle 37 2PP 2PP 37 A +Madsen M-35 NT QSU no Gunshield R2 IFE=B10† NT QSU no Gunshield R2 IFE=B10† 38† T†1 +Skoda Infantry Gun NT QSU h-d NT QSU h-d 39† n/a +Skoda Infantry Gun NT QSU h-d NT QSU h-d 39† n/a +Bofors 75mm M36 NT QSU h-d NT QSU h-d 40† A +75mm K-S NT QSU h-d s5 NT QSU h-d s5 41† n/a +Ob 105mm GP NT LF [105*†[1]] s5 NT LF [105*†[1]] s5 42† G†1 +D/30 Krupp NT RFNM no IF NT RFNM no IF 43 n/a diff --git a/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1943.txt b/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1943.txt new file mode 100644 index 0000000..a6ed35d --- /dev/null +++ b/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1943.txt @@ -0,0 +1,12 @@ +=== ordnance/bulgarian/1943 === + +Name Capabilities (effective) # Notes +------------------ ------------------------------- ------------------------------- --- -------------- +LG de 50 mle 37 2PP 2PP 37 A +Madsen M-35 NT QSU no Gunshield R2 IFE=B10† NT QSU no Gunshield R2 IFE=B10† 38† T†1 +Skoda Infantry Gun NT QSU h-d NT QSU h-d 39† n/a +Skoda Infantry Gun NT QSU h-d NT QSU h-d 39† n/a +Bofors 75mm M36 NT QSU h-d NT QSU h-d 40† A +75mm K-S NT QSU h-d s5 NT QSU h-d s5 41† n/a +Ob 105mm GP NT LF [105*†[1]] s5 NT LF [105*†[1]] s5 42† G†1 +D/30 Krupp NT RFNM no IF NT RFNM no IF 43 n/a diff --git a/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1944.txt b/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1944.txt new file mode 100644 index 0000000..cbf0700 --- /dev/null +++ b/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1944.txt @@ -0,0 +1,12 @@ +=== ordnance/bulgarian/1944 === + +Name Capabilities (effective) # Notes +------------------ ------------------------------- ------------------------------- --- -------------- +LG de 50 mle 37 2PP 2PP 37 A +Madsen M-35 NT QSU no Gunshield R2 IFE=B10† NT QSU no Gunshield R2 IFE=B10† 38† T†1 +Skoda Infantry Gun NT QSU h-d NT QSU h-d 39† n/a +Skoda Infantry Gun NT QSU h-d NT QSU h-d 39† n/a +Bofors 75mm M36 NT QSU h-d NT QSU h-d 40† A +75mm K-S NT QSU h-d s5 NT QSU h-d s5 41† n/a +Ob 105mm GP NT LF [105*†[1]] s5 NT LF [105*†[1]] s5 42† G†1 +D/30 Krupp NT RFNM no IF NT RFNM no IF 43 n/a diff --git a/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1945.txt b/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1945.txt new file mode 100644 index 0000000..c001d30 --- /dev/null +++ b/vasl_templates/webapp/tests/fixtures/vo-reports/ordnance/bulgarian/1945.txt @@ -0,0 +1,12 @@ +=== ordnance/bulgarian/1945 === + +Name Capabilities (effective) # Notes +------------------ ------------------------------- ------------------------------- --- -------------- +LG de 50 mle 37 2PP 2PP 37 A +Madsen M-35 NT QSU no Gunshield R2 IFE=B10† NT QSU no Gunshield R2 IFE=B10† 38† T†1 +Skoda Infantry Gun NT QSU h-d NT QSU h-d 39† n/a +Skoda Infantry Gun NT QSU h-d NT QSU h-d 39† n/a +Bofors 75mm M36 NT QSU h-d NT QSU h-d 40† A +75mm K-S NT QSU h-d s5 NT QSU h-d s5 41† n/a +Ob 105mm GP NT LF [105*†[1]] s5 NT LF [105*†[1]] s5 42† G†1 +D/30 Krupp NT RFNM no IF NT RFNM no IF 43 n/a diff --git a/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1940.txt b/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1940.txt new file mode 100644 index 0000000..29b8b2e --- /dev/null +++ b/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1940.txt @@ -0,0 +1,5 @@ +=== vehicles/bulgarian/1940 === + +Name Radio IF Crew survival Capabilities (effective) # Notes +------------------ ------- ---- --------------- -------------- ------------- --- ------- +Vickers 6-Ton Mk E ® yes CS 3 C5† C5† 28† n/a diff --git a/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1941.txt b/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1941.txt new file mode 100644 index 0000000..1c16b42 --- /dev/null +++ b/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1941.txt @@ -0,0 +1,5 @@ +=== vehicles/bulgarian/1941 === + +Name Radio IF Crew survival Capabilities (effective) # Notes +------------------ ------- ---- --------------- -------------- ------------- --- ------- +Vickers 6-Ton Mk E ® yes CS 3 C5† C5† 28† n/a diff --git a/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1942.txt b/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1942.txt new file mode 100644 index 0000000..ca1b849 --- /dev/null +++ b/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1942.txt @@ -0,0 +1,5 @@ +=== vehicles/bulgarian/1942 === + +Name Radio IF Crew survival Capabilities (effective) # Notes +------------------ ------- ---- --------------- -------------- ------------- --- ------- +Vickers 6-Ton Mk E ® yes CS 3 C5† C5† 28† n/a diff --git a/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1943.txt b/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1943.txt new file mode 100644 index 0000000..e9ff946 --- /dev/null +++ b/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1943.txt @@ -0,0 +1,5 @@ +=== vehicles/bulgarian/1943 === + +Name Radio IF Crew survival Capabilities (effective) # Notes +------------------ ------- ---- --------------- -------------- ------------- --- ------- +Vickers 6-Ton Mk E ® yes CS 3 C5† C5† 28† n/a diff --git a/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1944.txt b/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1944.txt new file mode 100644 index 0000000..429e69c --- /dev/null +++ b/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1944.txt @@ -0,0 +1,5 @@ +=== vehicles/bulgarian/1944 === + +Name Radio IF Crew survival Capabilities (effective) # Notes +------------------ ------- ---- --------------- -------------- ------------- --- ------- +Vickers 6-Ton Mk E ® yes CS 3 C5† C5† 28† n/a diff --git a/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1945.txt b/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1945.txt new file mode 100644 index 0000000..f5dbddb --- /dev/null +++ b/vasl_templates/webapp/tests/fixtures/vo-reports/vehicles/bulgarian/1945.txt @@ -0,0 +1,5 @@ +=== vehicles/bulgarian/1945 === + +Name Radio IF Crew survival Capabilities (effective) # Notes +------------------ ------- ---- --------------- -------------- ------------- --- ------- +Vickers 6-Ton Mk E ® yes CS 3 C5† C5† 28† n/a diff --git a/vasl_templates/webapp/tests/test_vo_reports.py b/vasl_templates/webapp/tests/test_vo_reports.py index 2886dfb..f0ec328 100644 --- a/vasl_templates/webapp/tests/test_vo_reports.py +++ b/vasl_templates/webapp/tests/test_vo_reports.py @@ -39,7 +39,7 @@ def test_vo_reports( webapp, webdriver ): nationalities = [ "german", "russian", "american", "british", "italian", "japanese", "chinese", "french", "polish", "belgian","yugoslavian","danish","dutch","greek", "allied-minor-common", - "romanian", "hungarian","slovakian","croatian" + "romanian", "hungarian","slovakian","croatian","bulgarian", ] for nat in nationalities: for vo_type in ["vehicles","ordnance"]: