aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates
diff options
context:
space:
mode:
Diffstat (limited to 'testing/templates')
-rw-r--r--testing/templates/big-table.html5
-rw-r--r--testing/templates/teams.html15
2 files changed, 20 insertions, 0 deletions
diff --git a/testing/templates/big-table.html b/testing/templates/big-table.html
new file mode 100644
index 0000000..2fbfce4
--- /dev/null
+++ b/testing/templates/big-table.html
@@ -0,0 +1,5 @@
+<table>
+{% for row in table %}
+<tr>{% for col in row %}<td>{{ col|escape }}</td>{% endfor %}</tr>
+{% endfor %}
+</table>
diff --git a/testing/templates/teams.html b/testing/templates/teams.html
new file mode 100644
index 0000000..cbeaec9
--- /dev/null
+++ b/testing/templates/teams.html
@@ -0,0 +1,15 @@
+<html>
+ <head>
+ <title>{{ year }}</title>
+ </head>
+ <body>
+ <h1>CSL {{ year }}</h1>
+ <ul>
+ {% for team in teams %}
+ <li class="{% if loop.index0 == 0 %}champion{% endif %}">
+ <b>{{ team.name }}</b>: {{ team.score }}
+ </li>
+ {% endfor %}
+ </ul>
+ </body>
+</html>