From 342c275ff4006830b320cab32fe8bff7382fc694 Mon Sep 17 00:00:00 2001 From: bkfox Date: Wed, 27 May 2020 17:47:39 +0200 Subject: [PATCH] add missing dashboard --- aircox/templates/admin/index.html | 71 +++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 aircox/templates/admin/index.html 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 %} +