diff --git a/vasl_templates/webapp/data/default-template-pack/extras/kakazu-ridge-cave-complexes.j2 b/vasl_templates/webapp/data/default-template-pack/extras/kakazu-ridge-cave-complexes.j2 new file mode 100644 index 0000000..e547da0 --- /dev/null +++ b/vasl_templates/webapp/data/default-template-pack/extras/kakazu-ridge-cave-complexes.j2 @@ -0,0 +1,48 @@ + + + + + + + + + +
+
+{% if CAVE_COMPLEX == "Kakazu West" %} + {{CAVE_COMPLEX}} (15) +
E10, F10-12, G10-14, H10-14, I11-12
+{% elif CAVE_COMPLEX == "Kakazu Saddle" %} + {{CAVE_COMPLEX}} (12) +
J11-12, K11-14, L10-14, M9-13, N8-12
+{% elif CAVE_COMPLEX == "Kakazu Center" %} + {{CAVE_COMPLEX}} (20) +
N13, O9-13, P8-12, Q8-13, R7-9
+{% elif CAVE_COMPLEX == "Kakazu Front" %} + {{CAVE_COMPLEX}} (20) +
R10-11, S8-12, T8-12, U9-12, V8-12, W9-12, X9-11
+{% elif CAVE_COMPLEX == "Kakazu Reverse" %} + {{CAVE_COMPLEX}} (15) +
R12-13, S13-15, T13-15, U13-15, V13
+{% elif CAVE_COMPLEX == "Kakazu East" %} + {{CAVE_COMPLEX}} (15) +
W13, X12-13, Y11-14, Z11-14, AA11-14, BB13
+{% elif CAVE_COMPLEX == "Kakazu Village" %} + {{CAVE_COMPLEX}} (12) +
L15-17, M14-18, N14-18, O15-19, P15-19, Q16-20, R16-19, S17-19
+{% else %} + Cave Complex +{%endif%} +
+
diff --git a/vasl_templates/webapp/static/css/tabs-extras.css b/vasl_templates/webapp/static/css/tabs-extras.css index 4e6eb16..f258aa5 100644 --- a/vasl_templates/webapp/static/css/tabs-extras.css +++ b/vasl_templates/webapp/static/css/tabs-extras.css @@ -26,3 +26,8 @@ #tabs-extras .right-panel .footer td { vertical-align: top ; } #tabs-extras .right-panel .footer td.key, td.val { padding: 0.2em 0.5em; border: 1px dotted #ccc ; } #tabs-extras .right-panel .footer td.key { background: #f8f8f8 ; font-weight: bold ; } + +/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ + +#tabs-extras .right-panel [name="extras/kakazu-ridge-cave-complexes"] .select2 { width: 10em !important ; } +#tabs-extras .right-panel [name="extras/victory-points"] .select2 { width: 9em !important ; } diff --git a/vasl_templates/webapp/static/extras.js b/vasl_templates/webapp/static/extras.js index c73d796..7c5150b 100644 --- a/vasl_templates/webapp/static/extras.js +++ b/vasl_templates/webapp/static/extras.js @@ -71,7 +71,7 @@ function _show_extra_template( template_id ) if ( template_info.description ) buf.push( "
", template_info.description, "
" ) ; if ( template_info.params.length > 0 ) { - buf.push( "" ) ; + buf.push( "
" ) ; for ( var i=0 ; i < template_info.params.length ; ++i ) { buf.push( "" ) ; var display_name = template_info.params[i].caption || template_info.params[i].name ;