diff --git a/aircox/templates/admin/index.html b/aircox/templates/admin/index.html new file mode 100644 index 0000000..5517a9a --- /dev/null +++ b/aircox/templates/admin/index.html @@ -0,0 +1,71 @@ +{% extends "admin/index.html" %} +{% load i18n thumbnail %} + + +{% block messages %} +{{ block.super }} + +
+
+
+

{% trans "Today" %}

+ + + {% for diffusion in diffusions %} + {% with episode=diffusion.episode %} + + + + + + {% endwith %} + {% endfor %} + +
{{ diffusion.start|time }} - {{ diffusion.end|time }}{{ episode.title }}
+
+
+

{% trans "Latest comments" %}

+ + {% for comment in comments %} + {% with page=comment.page %} + + + + + + + {% endwith %} + {% endfor %} + +
+ {{ page.title }} + + | + {{ comment.nickname }} + — + {{ comment.date }} + + + + + + + +
+ {{ comment.content|slice:"0:128" }} +
+ +
+
+
+
+
+{% endblock %} +