From dbd207c452124a8fb5cb57d1a50ce513dbc6a4ea Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 21 May 2018 15:10:13 +0200 Subject: feat(templates): Add new MDL-based post editing page --- templates/post.html | 157 ++++++++++++++++++++++++++++------------------------ 1 file changed, 85 insertions(+), 72 deletions(-) (limited to 'templates/post.html') diff --git a/templates/post.html b/templates/post.html index bdc725c94fc5..db6b00959d93 100644 --- a/templates/post.html +++ b/templates/post.html @@ -14,90 +14,103 @@ - - - - - Converse Index + + Converse: Post + + + + + + + + + - -
- -
-
-
- {%- for alert in alerts %} -
{{ alert }}
- {% endfor -%} - - {%- if mode == "NewThread" %} -
Create a new thread
- {% elif mode == "PostReply" %} -
Respond to thread '{{ title }}'
- {% elif mode == "EditPost" %} -
Edit your post
- {% endif -%} -
-
- {% if mode == "NewThread" %} -
- {% elif mode == "PostReply" %} - - {% elif mode == "EditPost" %} - - {% endif %} - {% if mode == "PostReply" %} - - {% elif mode == "EditPost" %} - - {% endif %} - + +
+ + + +
+ +
+
{% if mode == "NewThread" %} -
-
- Title: -
- -
+ + {% elif mode == "PostReply" %} + + {% elif mode == "EditPost" %} + {% endif %} + {% if mode == "PostReply" %} + + {% elif mode == "EditPost" %} + + {% endif %} +
+ {%- for alert in alerts %} + + {{ alert }}  + + {% endfor -%} -
-
-
- Post: + {% if mode == "NewThread" %} +
+ + +
+ {% endif %} +
+ +
-
-
-

- Remember that you can use Markdown when - writing your posts: -

-

*italic text*

-

**bold text**

-

~strikethrough text~

-

[link text](https://some.link.com/)

-

![image text](https://foo.com/thing.jpg)

-

Use * or - to enumerate lists.

-

See Markdown documentation for more information!

+
+
+ +
+
+
+ Quick Markdown primer: +
+
+

+ Remember that you can use Markdown when + writing your posts: +

+

*italic text*

+

**bold text**

+

~strikethrough text~

+

[link text](https://some.link.com/)

+

![image text](https://foo.com/thing.jpg)

+

Use * or - to enumerate lists.

+

See Markdown documentation for more information!

- - +
+
+
- + -- cgit 1.4.1