From ee4b690d22050b790d161ea943baf87f6f20a256 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 15 Apr 2018 12:38:33 +0200 Subject: refactor(templates): Restyle thread view using flex layout --- templates/thread.html | 83 ++++++++++++++++++++++----------------------------- 1 file changed, 35 insertions(+), 48 deletions(-) (limited to 'templates/thread.html') diff --git a/templates/thread.html b/templates/thread.html index 7a2d6ee2ef..f11b96b4d7 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -21,59 +21,46 @@
-
-
-
-
-
-
-

{{ title }}

-
-
-
+
+
+

{{ title }}

+
- {% for post in posts -%} -
- - {{ post.posted }} - -
-
-
-
- -
-
-
-
- {{ post.author_name }} -
-
-
-
- {{ post.body }} -
-
+ {% for post in posts -%} +
+
+ + {{ post.author_name }} +
+ +
{{ post.body }}
+ +
+ + {{ post.posted }} + + +
+ {%- if post.editable %} + Edit + {% endif -%} + Quote
- {%- endfor %} +
+
+ {%- endfor %} -
-
-
-
- - -
- -
- -
-
-
-
+
+
+ + +
+ +
+
-
+
-- cgit 1.4.1