{# -*- coding: utf-8 -*- This file is part of Invenio. Copyright (C) 2016-2018 CERN. Invenio is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- import 'invenio_theme/admin_layout.html' as layout_overwrite with context -%} {%- import 'admin/layout.html' as layout with context -%} {%- import 'admin/static.html' as admin_static with context -%} {%- block head %} {%- block head_meta %} {%- if description %} {% endif %} {%- if keywords %} {% endif %} {%- if config.get('THEME_GOOGLE_SITE_VERIFICATION', None) %} {%- for google_id in config.THEME_GOOGLE_SITE_VERIFICATION %} {%- endfor %} {%- endif %} {%- endblock head_meta %} {%- block head_title %} {%- set title = title or _(config.THEME_SITENAME) or _('Invenio') %} {{ title }} {%- endblock head_title %} {%- block head_links %} {%- if keywords %} {% endif %} {%- block head_links_langs %} {%- if alternate_urls %} {%- for alt_ln, alternate_url in alternate_urls.items() %} {%- endfor %} {%- endif %} {%- endblock head_links_langs %} {%- block head_apple_icons %} {%- for size in [144, 114, 72, 57] %} {%- set icon_name = 'apple-touch-icon-%d-precomposed.png' | format(size) %} {%- endfor %} {%- endblock head_apple_icons %} {%- endblock head_links %} {%- block header %}{% endblock header %} {%- block css %} {{ webpack['theme.css'] }} {{ webpack['theme-admin.css'] }} {%- endblock css %} {%- endblock head %} {%- block browserupgrade %} {%- endblock browserupgrade %}
{% include 'invenio_theme/admin_header.html' %}
{% if admin_view.name %}
{{ layout.messages() }}

{{ admin_view.name }}

{% endif %}
{% set render_ctx = h.resolve_ctx() %} {% block body %}{% endblock %}
{%- include config.THEME_FOOTER_TEMPLATE -%}
{%- block javascript %} {{ webpack['manifest.js'] }} {{ webpack['vendor.js'] }} {{ webpack['adminlte.js'] }} {%- endblock javascript %} {%- block trackingcode %} {% include config.THEME_TRACKINGCODE_TEMPLATE %} {%- endblock %} {% block tail %}{% endblock %}