templates/webfront.html

changeset 63
8949af6a4279
parent 62
f0a6bf48b05e
child 64
1c0884f5506e
--- a/templates/webfront.html	Sat Jun 08 01:32:25 2019 +0300
+++ b/templates/webfront.html	Sat Jun 08 01:42:48 2019 +0300
@@ -35,7 +35,28 @@
     {% else %}
     No problems whatsoever.
     {% endif %}
+    <hr />
 {% endif %}
+<h1>List of reported issue types</h1>
+<table>
+<thead>
+<tr>
+<th>Name of issue</th>
+<th>Severity</th>
+<th>Example message</th>
+</tr>
+</thead>
+<tbody>
+
+{% for problem_type in problem_types %}
+    <tr>
+    <td>{{ problem_type.name }}</td>
+    <td>{{ problem_type.severity }}</td>
+    <td>{{ problem_type.placeholder_message() }}</td>
+    </tr>
+{% endfor %}
+</tbody>
+</table>
 </div>
 </body>
 </html>

mercurial