Add admin view for solution submissions
This commit is contained in:
parent
dcfb003678
commit
a13586a8f0
18
templates/admin_solution.html
Normal file
18
templates/admin_solution.html
Normal file
@ -0,0 +1,18 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>Übersicht</h1>
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<th>id</th>
|
||||
<th>question</th>
|
||||
<th>explanation</th>
|
||||
</tr>
|
||||
{% for row in file_data %}
|
||||
<tr>
|
||||
<th>{{ row[0] }}</th>
|
||||
<th>{{ row[1] }}</th>
|
||||
<th>{{ row[2] }}</th>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endblock %}
|
||||
Loading…
x
Reference in New Issue
Block a user