diff --git a/resources/public/css/screen.css b/resources/public/css/screen.css index 8ddc6bd..749ffb1 100644 --- a/resources/public/css/screen.css +++ b/resources/public/css/screen.css @@ -16,3 +16,7 @@ .detail-image a { display: block; text-align: center; } + +#detail-attributes { + max-width: 1024px; + margin: auto; } diff --git a/resources/scss/screen.scss b/resources/scss/screen.scss index 5c54cb0..1e5f477 100644 --- a/resources/scss/screen.scss +++ b/resources/scss/screen.scss @@ -21,3 +21,8 @@ text-align: center; } } + +#detail-attributes { + max-width: 1024px; + margin: auto; +} diff --git a/resources/templates/detail.html b/resources/templates/detail.html index a0d492e..2cf8f57 100644 --- a/resources/templates/detail.html +++ b/resources/templates/detail.html @@ -43,62 +43,64 @@ {{ image.title }} -{% ifequal identity ":creator" %} -
- - - Bearbeiten - - - - Löschen - -
-{% endifequal %} -

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

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

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

-
-{% endif %} +
+ {% ifequal identity ":creator" %} +
+ + + Bearbeiten + + + + Löschen + +
+ {% endifequal %} - - - {% csrf-field %} - -
- - -
- -
- - -
- - - +
+ + +
+ + +
{% endblock %}