From ee4b690d22050b790d161ea943baf87f6f20a256 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 15 Apr 2018 12:38:33 +0200 Subject: [PATCH] refactor(templates): Restyle thread view using flex layout --- templates/thread.html | 85 ++++++++++++++++++------------------------- 1 file changed, 36 insertions(+), 49 deletions(-) diff --git a/templates/thread.html b/templates/thread.html index 7a2d6ee2e..f11b96b4d 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -21,60 +21,47 @@
-
-
-
-
-
-
-

{{ title }}

-
-
-
+
+
+

{{ title }}

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