Allow the border style to be set in the "grid" extras template.

master
Pacman Ghost 4 years ago
parent f1107e8e88
commit 509e326b90
  1. 5
      vasl_templates/webapp/data/default-template-pack/extras/grid.j2

@ -3,7 +3,8 @@
<!-- vasl-templates:name Grid -->
<!-- vasl-templates:description Generates a grid. -->
<!-- #cols = {{COLS:3/2|# columns}} ; #rows = {{ROWS:2/2|# rows}} ; color = {{PLAYER_COLOR2_DROPLIST_EX:|Border color}} -->
<!-- #cols = {{COLS:3/2|# columns}} ; #rows = {{ROWS:2/2|# rows}} -->
<!-- border: {{BORDER_STYLE:solid::dotted::dashed::double::groove::ridge::inset::outset|Border style}} ; {{PLAYER_COLOR2_DROPLIST_EX:|Border color}} -->
<head>
<style>
@ -11,7 +12,7 @@
td {
width: {{WIDTH:160px/5|Cell width}} ;
height: {{HEIGHT:60px/5|Cell height}} ;
border: 1px solid {{PLAYER_COLOR2_DROPLIST}} ;
border: 1px {{BORDER_STYLE}} {{PLAYER_COLOR2_DROPLIST}} ;
}
</style>
</head>

Loading…
Cancel
Save