+
+ {% if links or buttons %}
+ {% if links %}
+
+
+ {% for link in links %}
+ {{ link.title }}
+ {% endfor %}
+
+ {% endif %}
+ {% if buttons %}
+
+ {% for button in buttons %}
+ {% if button.type == 'action' %}
+
+ {{ button.title }}
+
+
+ {% else %}
+ {{ button.title|raw }}
+ {% endif %}
+ {% endfor %}
+
+ {% endif %}
+ {% endif %}
+
+ {% if is_current_path('admin.entries.index') or
+ is_current_path('admin.entries.edit') or
+ is_current_path('admin.entries.add') or
+ is_current_path('admin.entries.move') or
+ is_current_path('admin.entries.rename') or
+ is_current_path('admin.entries.type') %}
+ {% for part in parts %}
+ {% set i = i - 1 %}
+ {% if (part != last) %}
+ / {{ part }}
+ {% else %}
+ / {{ part }}
+ {% endif %}
+ {% endfor %}
+ {% endif %}
- {% if is_logged %}
-
-
-
- {% endif %}
-
-
-
+
-
- FLEXTYPE
-
-
-
-
-
- -
- {% for key, item in registry.admin_navigation.content %}
-
- - {{ item.title|raw }} - - {% endfor %} - {% for key, item in registry.admin_navigation.extends %} -
- - {{ item.title|raw }} - - {% endfor %} - {% for key, item in registry.admin_navigation.settings %} -
- - {{ item.title|raw }} - - {% endfor %} - {% for key, item in registry.admin_navigation.help %} -
- - {{ item.title|raw }} - - {% endfor %} -
-
-
-
-
-
-
-
- {{ username }} -
- -
-
+ {% block content %}{% endblock %}
+
-
- {% if links or buttons %}
-
- {% endif %}
-
- {% if is_current_path('admin.entries.index') or
- is_current_path('admin.entries.edit') or
- is_current_path('admin.entries.add') or
- is_current_path('admin.entries.move') or
- is_current_path('admin.entries.rename') or
- is_current_path('admin.entries.type') %}
-
-
- {% do emitter.emit('onAdminThemeFooter') %}
-
- {% if registry.settings.locale == 'en_US' %}
- {% set locale = 'en' %}
- {% else %}
- {% set locale = registry.settings.locale %}
- {% endif %}
-
- {% if registry.settings.locale != 'en_US' %}
- {% set admin_trumbowyg_build = base_url() ~ '/site/plugins/admin/assets/dist/langs/trumbowyg/langs/' ~ registry.settings.locale|lower|slice(0,2) ~ '.min.js' %}
- {% do assets.add('js', admin_trumbowyg_build, 'admin', 10) %}
- {% endif %}
-
- {% set admin_build = base_url() ~ '/site/plugins/admin/assets/dist/js/admin-build.min.js' %}
- {% do assets.add('js', admin_build, 'admin', 1) %}
- {% for assets_admin in assets.get('js', 'admin') %}
- {% for assets_by_priorities in assets_admin %}
-
- {% endfor %}
- {% endfor %}
-
- {% include "plugins/admin/templates/partials/form-validator.html" %}
- {% include "plugins/admin/templates/partials/messenger.html" %}
- {% include "plugins/admin/templates/partials/clipboard.html" %}
- {% include "plugins/admin/templates/partials/custom-file-input.html" %}
- {% include "plugins/admin/templates/partials/trumbowyg.html" %}
- {% include "plugins/admin/templates/partials/codemirror.html" %}
- {% include "plugins/admin/templates/partials/forms-save.html" %}
- {% include "plugins/admin/templates/partials/datetimepicker.html" %}
- {% include "plugins/admin/templates/partials/tags.html" %}
- {% include "plugins/admin/templates/partials/slugify.html" %}
- {% include "plugins/admin/templates/partials/tooltips.html" %}
-
- {% block tail %}{% endblock %}
-
+
+
- {% for part in parts %}
- {% set i = i - 1 %}
- {% if (part != last) %}
- / {{ part }}
- {% else %}
- / {{ part }}
- {% endif %}
- {% endfor %}
-
- {% endif %}
-
- {% if is_current_path('admin.themes.index') or
- is_current_path('admin.templates.index') or
- is_current_path('admin.templates.edit') or
- is_current_path('admin.templates.rename') or
- is_current_path('admin.templates.add') %}
-
- / {{ theme }} {% if id %} / {{ id }}{% endif %}
-
- {% endif %}
-
- {% if is_current_path('admin.api.index') or
- is_current_path('admin.api_tokens.index') or
- is_current_path('admin.api_tokens.add') or
- is_current_path('admin.api_tokens.edit') %}
-
- / {{ api }}
-
- {% endif %}
-
- {% if is_current_path('admin.themes.information') or
- is_current_path('admin.themes.settings') %}
-
- {% if id %} / {{ id }}{% endif %}
-
- {% endif %}
-
- {% if is_current_path('admin.fieldsets.index') or
- is_current_path('admin.fieldsets.edit') or
- is_current_path('admin.fieldsets.rename') or
- is_current_path('admin.fieldsets.add') or
- is_current_path('admin.snippets.index') or
- is_current_path('admin.snippets.edit') or
- is_current_path('admin.snippets.rename') or
- is_current_path('admin.snippets.add') %}
-
- / {{ id }}
-
- {% endif %}
-
- {% if is_current_path('admin.plugins.index') or
- is_current_path('admin.plugins.information') or
- is_current_path('admin.plugins.settings') %}
-
- / {{ id }}
-
- {% endif %}
-
-
-
-
-
-
-
-
- {% block content %}{% endblock %}
-
-