]> WPIA git - motion.git/blob - templates/index.html
chg: crop time at second precision
[motion.git] / templates / index.html
1 {% extends "base.html" %}
2 {% block body %}
3 <div class="container">
4 <form action="/motion" method="POST" class="form-inline">
5 <div class="motion panel panel-default">
6   <div class="motion-title panel-heading from-group">
7     <input class="form-control" placeholder="Motion title" type="text" name="title" id="title">
8     <select class="form-control" name="days">
9       {%- for time in times %}
10       <option>{{time}}</option>
11       {%- endfor %}
12     </select>
13   </div>
14   <div class="panel-body">
15     <textarea class="form-control" placeholder="Motion content" name="content" rows="8" cols="70"></textarea><br>
16     <button class="btn btn-primary" type="submit">Submit Motion</button>
17   </div>
18 </div>
19 </form>
20 {% if prev %}
21 {% if prev == -1 %}
22 <a href="/">Prev</a>
23 {% else %}
24 <a href="/?start={{ prev }}">Prev</a>
25 {% endif %}
26 {% endif %}
27 {% for motion in motions %}
28 {% include 'motion.html' %}
29 {% endfor %}
30 {%- if more %}
31 <a href="/?start={{ more }}">Next</a>
32 {%- endif %}
33 </div>
34 {%- endblock %}