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