html archive

This commit is contained in:
2019-06-19 16:33:20 +02:00
parent 35580d75a0
commit d58b67aadd
15 changed files with 48 additions and 166 deletions

View File

@@ -50,9 +50,7 @@
<div class="reso">
<!-- Your share button code -->
<div class="fb-share-button"
data-href="{{uri.route(true, true)}}"
data-layout="button">
<div>
<a href="//www.facebook.com/sharer/sharer.php?u={{uri.route(true, true)}}" class="sharebox" target="_blank" rel =" noopener " onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;">
Partager
<img src="/user/themes/lecampus/images/fb_black.svg" alt="facebook">

View File

@@ -10,17 +10,22 @@
<input type="radio" name="options">
Tous
</label>
{% for tax,value in taxlist[taxonomy] %}
{% for tax,value in taxlist[taxonomy] %}
{% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
<label class="btn btn-default {{ macro.pageLinkName(tax) }}" data-filter="{{tax}}">
<input type="radio" name="options" >
{{tax}}
</label>
{% endfor %}
<label class="btn btn-default {{ macro.pageLinkName(tax) }}" data-filter="{{tax}}">
<input type="radio" name="options" >
{{tax}}
</label>
{% endfor %}
</div>
<div class="btn-group ">
<label class="btn-default archive">
<a href="/archive">archive</a>
{% if page.title == 'Archive' %}
<a href="/{{page.parent.title|lower}}">{{page.parent.title}}</a>
{% else %}
<a href="{{page.url}}/archive">Archive</a>
{% endif %}
</label>
</div>
</div>