From: INOPIAE Date: Wed, 10 Apr 2019 05:07:45 +0000 (+0200) Subject: upd: move bootstarp from 3.3.7 to 4.3.1 X-Git-Url: https://code.wpia.club/?p=motion.git;a=commitdiff_plain;h=dbdd3d6a224eb4912b8440b6520fce0453c7b3ac upd: move bootstarp from 3.3.7 to 4.3.1 --- diff --git a/templates/base.html b/templates/base.html index 2dc6927..79cf2d2 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,10 +2,12 @@ {% block title %}Motion list{% endblock %} - + diff --git a/templates/index.html b/templates/index.html index 125dc7c..666f6f7 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,14 +2,14 @@ {% block body %}
{%- if categories|length != 0 %} -
-
-
+
+
User: {{g.user}}
-
-
+ +
+
{%- if categories|length == 1 %} @@ -27,7 +27,7 @@ User: {{g.user}} {%- endfor %}
-
+

Editing note: Markdown is used formatting.
To add a line break add two lines, to enter a link use [text](https//domain.tld/link)
diff --git a/templates/motion.html b/templates/motion.html index afc1561..2f0d6b7 100644 --- a/templates/motion.html +++ b/templates/motion.html @@ -1,10 +1,10 @@ -
-
+
+
{{motion.name}} ({{ 'Running' if motion.running else ('Canceled' if motion.canceled != None else 'Finished') }}) {{motion.type}} @@ -16,7 +16,7 @@
Votes until: {{motion.deadline|timestamp}} (UTC)
{%- endif %}
-
+

{{motion.content|markdown}}

{%- if motion.yes or motion.no or motion.abstain %}

diff --git a/templates/single_motion.html b/templates/single_motion.html index 585e117..c265432 100644 --- a/templates/single_motion.html +++ b/templates/single_motion.html @@ -5,11 +5,11 @@ Motion: {{motion.name}} {% block body %} {%- include 'motion.html' %} {%- if votes %} -

-
+
+
Motion Votes
-
+
{%- for row in votes %}
{{row.email}}: {{row.result}}
{%- endfor %}