]> WPIA git - motion.git/blobdiff - templates/index.html
upd: allow markdown text in motion content
[motion.git] / templates / index.html
index b53a236213c4c652cfb690a8406f4f7675861625..125dc7c07fc7ac9fa26a90fae7140be85731323e 100644 (file)
@@ -3,6 +3,11 @@
 <div class="container">
 {%- if categories|length != 0 %}
 <form action="/motion" method="POST" class="form-inline">
+<div class="panel panel-default">
+<div class="panel-body">
+User: {{g.user}}
+</div>
+</div>
 <div class="motion panel panel-default">
   <div class="motion-title panel-heading from-group">
     <input class="form-control motion-title-input" placeholder="Motion title" type="text" name="title" id="title">
@@ -24,6 +29,8 @@
   </div>
   <div class="panel-body">
     <textarea class="form-control" placeholder="Motion content" name="content" rows="8" cols="70"></textarea><br>
+    Editing note: Markdown is used formatting.<br>
+    To add a line break add two lines, to enter a link use [text](https//domain.tld/link)<br>
     <button class="btn btn-primary" type="submit">Submit Motion</button>
   </div>
 </div>
 {%- endif %}
 {%- if prev %}
 {%- if prev == -1 %}
-<a href="/">Prev</a>
+<a href="/" class="btn btn-primary">Prev</a>
 {%- else %}
-<a href="/?start={{ prev }}">Prev</a>
+<a href="/?start={{ prev }}" class="btn btn-primary">Prev</a>
 {%- endif %}
 {%- endif %}
 {%- for motion in motions %}
 {% include 'motion.html' %}
 {%- endfor %}
 {%- if more %}
-<a href="/?start={{ more }}">Next</a>
+<a href="/?start={{ more }}" class="btn btn-primary">Next</a>
 {%- endif %}
 </div>
 {%- endblock %}