From 4804b58b131cf0212ce18e9b7287d0c1f903158d Mon Sep 17 00:00:00 2001 From: Arthur Gerbaud Date: Sat, 6 Aug 2016 15:01:59 +0200 Subject: [PATCH] add missing templates files --- notes/templates/notes/note.html | 0 notes/templates/notes/table_inline.html | 12 ++++++++++++ suivi/templates/suivi/details.html | 10 ++++++++++ suivi/templates/suivi/index.html | 19 +++++++++++++++++++ suivi/templates/suivi/sujet_suivi.html | 8 ++++++++ 5 files changed, 49 insertions(+) create mode 100644 notes/templates/notes/note.html create mode 100644 notes/templates/notes/table_inline.html create mode 100644 suivi/templates/suivi/details.html create mode 100644 suivi/templates/suivi/index.html create mode 100644 suivi/templates/suivi/sujet_suivi.html diff --git a/notes/templates/notes/note.html b/notes/templates/notes/note.html new file mode 100644 index 0000000..e69de29 diff --git a/notes/templates/notes/table_inline.html b/notes/templates/notes/table_inline.html new file mode 100644 index 0000000..7520bc9 --- /dev/null +++ b/notes/templates/notes/table_inline.html @@ -0,0 +1,12 @@ + + + {{header}} {{small}} + + {% for label in labels %} + {{label}} + {% endfor %} + + + +

{{text}}

+ diff --git a/suivi/templates/suivi/details.html b/suivi/templates/suivi/details.html new file mode 100644 index 0000000..f500d7d --- /dev/null +++ b/suivi/templates/suivi/details.html @@ -0,0 +1,10 @@ + + +
+
{% include "suivi/sujet_suivi.html" %}
+
{% include "sujets/sujet_details_inner.html" %}
+
+ Notes : {{ notes }} diff --git a/suivi/templates/suivi/index.html b/suivi/templates/suivi/index.html new file mode 100644 index 0000000..6ad660b --- /dev/null +++ b/suivi/templates/suivi/index.html @@ -0,0 +1,19 @@ +
+
+
Sujets
+ +
+
+ +{% if user.is_superuser %} +
+
+
Administration
+ +
+
+{% endif %} diff --git a/suivi/templates/suivi/sujet_suivi.html b/suivi/templates/suivi/sujet_suivi.html new file mode 100644 index 0000000..e0bb206 --- /dev/null +++ b/suivi/templates/suivi/sujet_suivi.html @@ -0,0 +1,8 @@ +{% load notes %} +
+ + {% for note in notes %} + {% inline_table note %} + {% endfor %} +
+