parent
187faa112b
commit
5667eaa0a5
@ -0,0 +1,27 @@ |
||||
<html> <!-- vasl-templates:id {{SNIPPET_ID}} --> |
||||
|
||||
<!-- 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}} --> |
||||
<style> |
||||
td { |
||||
width: {{WIDTH:160px/5|Cell width}} ; |
||||
height: {{HEIGHT:60px/5|Cell height}} ; |
||||
border: 1px solid {{PLAYER_COLOR2_DROPLIST}} ; |
||||
} |
||||
</style> |
||||
</head> |
||||
|
||||
<table> |
||||
{% for row in [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50] %} |
||||
{% if row <= ROWS %} |
||||
<tr> |
||||
{% for col in [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50] %} |
||||
{% if col <= COLS %} <td> {%endif%} |
||||
{%endfor%} |
||||
{%endif%} |
||||
{%endfor%} |
||||
</table> |
||||
|
||||
</html> |
Loading…
Reference in new issue