editable_toolbar.html 621 B

1234567891011121314
  1. {% load i18n staticfiles %}
  2. <div id="editable-toolbar" method="POST" action="{% url "admin:logout" %}">
  3. {% url "admin:index" as admin_index_url %}
  4. {% url "admin:logout" as admin_logout_url %}
  5. {% url "logout" as accounts_logout_url %}
  6. <a id="editable-toolbar-toggle" href="#"></a>
  7. <a href="{{ editable_obj.get_admin_url|default:admin_index_url }}">{% trans "Admin" %}</a>
  8. <a href="{{ accounts_logout_url|default:admin_logout_url }}?{{ REDIRECT_FIELD_NAME }}={{ request.path }}">{% trans "Log out" %}</a>
  9. </div>
  10. <img id="editable-loading" src="{% static "mezzanine/img/loadingAnimation.gif" %}">