diff --git a/template.html b/template.html new file mode 100644 index 0000000..265c820 --- /dev/null +++ b/template.html @@ -0,0 +1,69 @@ + + +
+ + + + + + +{{rank}} | + % for file in files: + % sq = file + rank + % color = 'bgcolor=silver' if is_black(sq) else "" + % widths = i==0, file=='h', i==7, file=='a' + % widths = "pt ".join(map(str, map(int, widths))) + "pt" +{{game.board[sq]}} | + % end +
+ % for file in files: + | {{file}} | + % end +