Getting rid of sass + adding <base href + adding image-process-thumb + styling mg-tag-filters + adding support for lang: tags

This commit is contained in:
Lucas Cimon
2017-08-15 01:39:41 +02:00
parent 8d5d7491bc
commit a3b1d218ad
15 changed files with 112 additions and 444 deletions

View File

@@ -3,9 +3,12 @@
{% block content_title %}{% endblock %}
{% block header_extra %}
{% if MG_LANG_FILTER_TAGS %}
<button class="mg-tag-filter" onclick='toggleLangTagFilter.bind(this)({{ MG_LANG_FILTER_TAGS|tojson }})'>lang</button>
{% endif %}
{% if MG_FILTER_TAGS %}
{% for filter_tag in MG_FILTER_TAGS %}
<button class="mg-tag-filter" onclick="toggleTagFilter('{{ filter_tag }}')">{{ filter_tag.replace('lang:', '') }}</button>
<button class="mg-tag-filter" onclick="toggleTagFilter.bind(this)('{{ filter_tag }}')">{{ filter_tag.replace('lang:', '') }}</button>
{% endfor %}
{% endif %}
{% endblock %}