diff --git a/templates/show.html b/templates/show.html new file mode 100644 index 0000000..fca4a57 --- /dev/null +++ b/templates/show.html @@ -0,0 +1,47 @@ +{% extends "layout.html" %} +{% block body %} + + +
+ all + {% for tag in tags %} + {{tag.tagName}} + {% endfor %} + + known + unknown +
+ +
+
+ + + {% for card in cards %} + + + + + {% else %} + + + + {% endfor %} +
+ + +

+ {{ card.front }} +

+ {% if card.type == 1 %} + {{ card.back|replace("\n", "
")|safe }} + {% else %} +
{{ card.back|escape }}
+ {% endif %} +
+ No cards to show. +
+ +{% endblock %}