base.forked.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {# This is a direct fork of wagtailadmin/base.html with the title of the logo anchor changed #}
  2. {% extends "wagtailadmin/admin_base.html" %}
  3. {% load wagtailadmin_tags wagtailcore_tags static i18n %}
  4. {% block furniture %}
  5. <div class="nav-wrapper">
  6. <div class="inner">
  7. <a href="{% url 'wagtailadmin_home' %}" class="logo" title="Admin Dashboard">
  8. {% block branding_logo %}
  9. {# Mobile-only logo: #}
  10. <div class="wagtail-logo-container__mobile u-hidden@sm">
  11. <img class="wagtail-logo wagtail-logo__full" src="{% static 'wagtailadmin/images/wagtail-logo.svg' %}" alt="Wagtail" width="80" />
  12. </div>
  13. {# Desktop logo (animated): #}
  14. {% include "wagtailadmin/shared/animated_logo.html" %}
  15. {% endblock %}
  16. <span class="u-hidden@sm">{% trans "Dashboard" %}</span>
  17. </a>
  18. {% menu_search %}
  19. {% main_nav %}
  20. </div>
  21. <div class="explorer__wrapper" data-explorer-menu></div>
  22. </div>
  23. {% include "coderedcms/includes/codered_banner.html" %}
  24. <div class="content-wrapper">
  25. <div class="content">
  26. {# Always show messages div so it can be appended to by JS #}
  27. <div class="messages">
  28. {% if messages %}
  29. <ul>
  30. {% for message in messages %}
  31. <li class="{% message_tags message %}">{{ message|safe }}</li>
  32. {% endfor %}
  33. </ul>
  34. {% endif %}
  35. </div>
  36. <div id="nav-toggle" class="nav-toggle icon text-replace">{% trans "Menu" %}</div>
  37. {% block content %}{% endblock %}
  38. </div>
  39. </div>
  40. {% endblock %}