From a13586a8f0ef63a596e3d162fa77e364115e86b1 Mon Sep 17 00:00:00 2001 From: asauer Date: Sat, 13 Apr 2019 17:58:13 +0200 Subject: [PATCH] Add admin view for solution submissions --- templates/{admin.html => admin_form.html} | 0 templates/admin_solution.html | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+) rename templates/{admin.html => admin_form.html} (100%) create mode 100644 templates/admin_solution.html diff --git a/templates/admin.html b/templates/admin_form.html similarity index 100% rename from templates/admin.html rename to templates/admin_form.html diff --git a/templates/admin_solution.html b/templates/admin_solution.html new file mode 100644 index 0000000..3a6e9a6 --- /dev/null +++ b/templates/admin_solution.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% block content %} +

Übersicht

+ + + + + + + {% for row in file_data %} + + + + + + {% endfor %} +
idquestionexplanation
{{ row[0] }}{{ row[1] }}{{ row[2] }}
+{% endblock %}