X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=templates%2Findex.html;h=4ff3a44b90083c456cfe03eca077f9ffa7f3652d;hb=a53c21d6917f544e61aaf8fa6adeda8a5cebb7c1;hp=57a73f8698104a66202a5e1c8fe60f80301d81bb;hpb=2f6d14ef5785b7c7bb67b57ed9253b080ebf2f72;p=motion.git diff --git a/templates/index.html b/templates/index.html index 57a73f8..4ff3a44 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,20 +1,51 @@ {% extends "base.html" %} {% block body %}
-
+{%- if categories|length != 0 %} + +
+
+User: {{g.user}} +
+
-
+
+ + {%- if categories|length == 1 %} + + + {%- else %} + + {%- endif %} + +
- +
-{% for motion in motions %} +{%- endif %} +{%- if prev %} +{%- if prev == -1 %} +Prev +{%- else %} +Prev +{%- endif %} +{%- endif %} +{%- for motion in motions %} {% include 'motion.html' %} -{% endfor %} +{%- endfor %} {%- if more %} -Next +Next {%- endif %}
{%- endblock %}