FossilRepo

fossilrepo / templates / admin / base_site.html
Source Blame History 44 lines
4ce269c… ragelink 1 {% extends "admin/base.html" %}
4ce269c… ragelink 2 {% load static %}
4ce269c… ragelink 3
4ce269c… ragelink 4 {% block title %}
4ce269c… ragelink 5 {% if subtitle %} {{ subtitle }} | {% endif %}
4ce269c… ragelink 6 {{ title }} | {{ site_title|default:_('Django site admin') }}
4ce269c… ragelink 7 {% endblock %}
4ce269c… ragelink 8
4ce269c… ragelink 9 {% block extrastyle %}
4ce269c… ragelink 10 {{ block.super }}
4ce269c… ragelink 11 <link rel="stylesheet" href="{% static 'admin/css/dark_theme.css' %}">
4ce269c… ragelink 12 {% endblock %}
4ce269c… ragelink 13
4ce269c… ragelink 14 {% block welcome-msg %}
4ce269c… ragelink 15 <strong>{% firstof user.get_short_name user.get_username %}</strong>.
4ce269c… ragelink 16 {% endblock %}
4ce269c… ragelink 17
4ce269c… ragelink 18 {% block userlinks %}
4ce269c… ragelink 19 <span class="bw-links">
4ce269c… ragelink 20 <a target="_blank" href="/">App</a>
4ce269c… ragelink 21 <a target="_blank" href="/health/">Health</a>
4ce269c… ragelink 22 <a target="_blank" href="http://localhost:8025">Mailpit</a>
4ce269c… ragelink 23 </span>
4ce269c… ragelink 24 {% if user.has_usable_password %}
4ce269c… ragelink 25 <a href="{% url 'admin:password_change' %}">PWD</a> /
4ce269c… ragelink 26 {% endif %}
4ce269c… ragelink 27 <form id="logout-form" method="post" action="{% url 'admin:logout' %}" style="display:inline">
4ce269c… ragelink 28 {% csrf_token %}
4ce269c… ragelink 29 <button type="submit">Log out</button>
4ce269c… ragelink 30 </form>
4ce269c… ragelink 31 {% include "admin/color_theme_toggle.html" %}
4ce269c… ragelink 32 {% endblock %}
4ce269c… ragelink 33
4ce269c… ragelink 34 {% block branding %}
4ce269c… ragelink 35 <h1 id="site-name">
4ce269c… ragelink 36 <div class="logo">
4ce269c… ragelink 37 <a role="listitem" class="item" href="/">
4ce269c… ragelink 38 <img src="{% static 'admin/img/logo-dark.png' %}" alt="Fossilrepo" height="40">
4ce269c… ragelink 39 </a>
4ce269c… ragelink 40 </div>
4ce269c… ragelink 41 </h1>
4ce269c… ragelink 42 {% endblock %}
4ce269c… ragelink 43
4ce269c… ragelink 44 {% block nav-global %}{% endblock %}

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button