diff --git a/project/templates/_macros.html b/project/templates/_macros.html index d241347..e80ca2e 100644 --- a/project/templates/_macros.html +++ b/project/templates/_macros.html @@ -1357,6 +1357,12 @@ $('#end-container').on('hidden', function() { {% endif %} } + {% if 'background' in styles %} + .page-link, .page-item.disabled .page-link { + background-color: {{ styles['background'] }}; + } + {% endif %} + {% if 'primary' in styles %} .btn-primary, .btn-primary:hover, diff --git a/project/templates/example.html b/project/templates/example.html index f1b8222..cb1afe1 100644 --- a/project/templates/example.html +++ b/project/templates/example.html @@ -3,9 +3,16 @@ oveda - Terminkalender für Goslar und Hahnenklee {%- endblock -%} {% block content %} +{% block header_before_site_js %} + + +{%- endblock -%}

Terminkalender für Goslar und Hahnenklee

- - + {% endblock %} \ No newline at end of file diff --git a/project/templates/layout.html b/project/templates/layout.html index 65ad30c..72b33ca 100644 --- a/project/templates/layout.html +++ b/project/templates/layout.html @@ -235,6 +235,7 @@ {%- endblock navbar %} + {% block managebar -%} {% if current_admin_unit %} {% set menu_options = get_manage_menu_options(current_admin_unit) %} {% endif %} + {%- endblock managebar %}
diff --git a/project/templates/layout_widget.html b/project/templates/layout_widget.html index dae7b73..9e064f9 100644 --- a/project/templates/layout_widget.html +++ b/project/templates/layout_widget.html @@ -9,6 +9,9 @@ {% block navbar %} {% endblock %} +{% block managebar %} +{% endblock %} + {%- block gtm_header %} {%- endblock gtm_header %} diff --git a/project/templates/widget/event_date/list.html b/project/templates/widget/event_date/list.html index 48a62d4..022dca9 100644 --- a/project/templates/widget/event_date/list.html +++ b/project/templates/widget/event_date/list.html @@ -3,7 +3,18 @@ {%- block title -%} {{ _('Widget') }} {%- endblock -%} - +{% block header_before_site_js %} + + +{%- endblock -%} {% block content %}
diff --git a/project/templates/widget/infoscreen/read.html b/project/templates/widget/infoscreen/read.html index 8b046b8..3024bf5 100644 --- a/project/templates/widget/infoscreen/read.html +++ b/project/templates/widget/infoscreen/read.html @@ -9,6 +9,8 @@ {% endblock %} {% block navbar %} {% endblock %} +{% block managebar %} +{% endblock %} {% block metas %}