From ec712cc4c0e12329f51d10d9bd626d1859a011b8 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 15 Apr 2018 21:13:20 +0200 Subject: refactor(templates/render): Add generic post editing template Adds a generic template that can be used for submitting, responding to and editing posts. --- templates/post.html | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 templates/post.html (limited to 'templates/post.html') diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 000000000000..74cf03abf307 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,103 @@ + + + + + + + + + + + Converse Index + + +
+ +
+
+
+ {%- 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: +
+ +
+ {% endif %} + +
+
+
+ Post: +
+ +
+
+

+ 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