site.html.twig 1.1 KB

12345678910111213141516171819202122232425
  1. {% extends 'partials/base.html.twig' %}
  2. {% set data = admin.data('site') %}
  3. {% block titlebar %}
  4. <div class="button-bar">
  5. <a class="button" href="{{ base_url }}"><i class="fa fa-reply"></i> {{ "PLUGIN_ADMIN.BACK"|tu }}</a>
  6. <button class="button" type="submit" name="task" value="save" form="blueprints"><i class="fa fa-check"></i> Save</button>
  7. </div>
  8. <h1><i class="fa fa-fw fa-wrench"></i> {{ "PLUGIN_ADMIN.CONFIGURATION"|tu }} - {{ "PLUGIN_ADMIN.SITE"|tu }}</h1>
  9. {% endblock %}
  10. {% block content_top %}
  11. <div class="alert notice">{{ "PLUGIN_ADMIN.SAVE_LOCATION"|tu }}: <b>{{ data.file.filename|replace({(base_path):''}) }}</b></div>
  12. <ul class="tab-bar">
  13. <li><a href="{{ base_url_relative }}/system">{{ "PLUGIN_ADMIN.SYSTEM"|tu }}</a></li>
  14. <li class="active"><span>{{ "PLUGIN_ADMIN.SITE"|tu }}</span></li>
  15. <li><a href="{{ base_url_relative }}/info">{{ "PLUGIN_ADMIN.INFO"|tu }}</a></li>
  16. </ul>
  17. {% endblock %}
  18. {% block content %}
  19. {% include 'partials/blueprints.html.twig' with { blueprints: data.blueprints, data: data } %}
  20. {% endblock %}