]> WPIA git - motion.git/commitdiff
chg: Prev/Next/Back-links as bootstrap-buttons
authorFelix Dörre <felix@dogcraft.de>
Sun, 19 Nov 2017 11:38:21 +0000 (12:38 +0100)
committerFelix Dörre <felix@dogcraft.de>
Sun, 19 Nov 2017 11:38:21 +0000 (12:38 +0100)
templates/index.html
templates/single_motion.html

index b53a236213c4c652cfb690a8406f4f7675861625..fdbb01029c085df7c6d552b077002b64239a7e5d 100644 (file)
 {%- endif %}
 {%- if prev %}
 {%- if prev == -1 %}
 {%- endif %}
 {%- if prev %}
 {%- if prev == -1 %}
-<a href="/">Prev</a>
+<a href="/" class="btn btn-primary">Prev</a>
 {%- else %}
 {%- 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 %}
 {%- 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 %}
 {%- endif %}
 </div>
 {%- endblock %}
index 1cc121b2ce6b26f6f87ec6103c1be49524e40139..ac4ff79148bc4ef86292b5040f1611cbda0c8a75 100644 (file)
@@ -19,5 +19,5 @@ Motion: {{motion.name}}
 </form>
 {%- endif %}
 {%- endif %}
 </form>
 {%- endif %}
 {%- endif %}
-<a href="/?start={{motion.id}}#motion-{{motion.id}}">Back</a>
+<a href="/?start={{motion.id}}#motion-{{motion.id}}" class="btn btn-primary">Back</a>
 {%- endblock %}
 {%- endblock %}