add design

This commit is contained in:
2019-05-09 00:26:27 +02:00
parent 0cae791a02
commit 3c24252ea3
33 changed files with 1112 additions and 359 deletions
@@ -1,21 +1,24 @@
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
{% import _self as macro %}
{% if taxlist %}
<div class="btn-toolbar filters">
<div data-toggle="buttons" class="btn-group">
<label class="btn btn-default" data-filter="">
<label class="btn btn-default tous" data-filter="">
<input type="radio" name="options">
Tous
</label>
{% for tax,value in taxlist[taxonomy] %}
{% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
<label class="btn btn-default" data-filter="{{tax}}">
<label class="btn btn-default {{ macro.pageLinkName(tax) }}" data-filter="{{tax}}">
<input type="radio" name="options" >
{{tax}}
</label>
{% endfor %}
<div class="btn-group">
<label>
<label class="btn-default archive">
<a href="/archive">archive</a>
</label>
</div>