diff --git a/resources/templates/comments.html b/resources/templates/comments.html new file mode 100644 index 0000000..e2064fc --- /dev/null +++ b/resources/templates/comments.html @@ -0,0 +1,6 @@ +{% extends "layout.html" %} + +{% block content %} +

Kommentarstream

+ +{% endblock %} diff --git a/resources/templates/detail.html b/resources/templates/detail.html index 27ccb2a..fd39161 100644 --- a/resources/templates/detail.html +++ b/resources/templates/detail.html @@ -8,24 +8,39 @@ {% else %} {% endif %} + Nächstes Bild + + + Zur Gallerie + + {% if prev-image %} {% else %} {% endif %} Vorheriges Bild + + + + +
+ + + Bearbeiten + + + + Löschen

{{ image.title }}

-
-

{{ image.created_at|parse-date|date:"dd-MM-yyyy HH:mm" }}

-
{% for tag in tags %} {{ tag.tagname }} @@ -35,14 +50,19 @@
+ + +
+
+

{{ image.created_at|parse-date|date:"dd-MM-yyyy HH:mm" }} Uhr

{% if image.description|length > 0 %} -
+

{{ image.description|markdown-to-html|safe }}

{% endif %} diff --git a/resources/templates/index.html b/resources/templates/index.html index 57649d6..7a7a8fd 100644 --- a/resources/templates/index.html +++ b/resources/templates/index.html @@ -1,20 +1,14 @@ {% extends "layout.html" %} {% block content %} -
- {% for image in images %} - - {{ image.title }} - - {% endfor %} -
-
- {% if pages|count > 1 %} +
{% endif %} + +
+ {% for image in images %} + + {{ image.title }} + + {% endfor %} +
+
{% endblock %} diff --git a/resources/templates/layout.html b/resources/templates/layout.html index 122fe1f..0f0154d 100644 --- a/resources/templates/layout.html +++ b/resources/templates/layout.html @@ -6,21 +6,36 @@ yenu -- the image sharing tool for friends -