2022-11-05 20:17:27 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>{% block title %}{% endblock %} - {{ config.site_name }}</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
{% load static %}
|
|
|
|
<link rel="stylesheet" href="{% static "css/style.css" %}" type="text/css" media="screen" />
|
|
|
|
<link rel="stylesheet" href="{% static "fonts/raleway/raleway.css" %}" type="text/css" />
|
|
|
|
<link rel="stylesheet" href="{% static "fonts/font_awesome/all.min.css" %}" type="text/css" />
|
|
|
|
{% block extra_head %}{% endblock %}
|
|
|
|
</head>
|
|
|
|
<body class="{% block body_class %}{% endblock %}">
|
|
|
|
|
|
|
|
<header>
|
2022-11-06 02:10:39 +00:00
|
|
|
<h1>
|
|
|
|
<a href="/">
|
|
|
|
<img src="{% static "img/icon-128.png" %}" width="32">
|
|
|
|
{{ config.site_name }}
|
|
|
|
</a>
|
|
|
|
</h1>
|
2022-11-05 20:17:27 +00:00
|
|
|
<menu>
|
2022-11-06 02:10:39 +00:00
|
|
|
<li>
|
|
|
|
<a href="#"><i class="fa-solid fa-gear"></i></a>
|
|
|
|
</li>
|
2022-11-05 20:17:27 +00:00
|
|
|
<li>
|
|
|
|
{% if user.is_authenticated %}
|
2022-11-06 02:10:39 +00:00
|
|
|
<a href="/identity/select/">
|
|
|
|
{% if user.icon_uri %}
|
|
|
|
<img src="{{ user.icon_uri }}" width="32">
|
|
|
|
{% else %}
|
|
|
|
<img src="{% static "img/unknown-icon-128.png" %}" width="32">
|
|
|
|
{% endif %}
|
|
|
|
</a>
|
2022-11-05 20:17:27 +00:00
|
|
|
{% else %}
|
|
|
|
<a href="/auth/login/">Login</a>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
</menu>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<main>
|
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
</main>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|