summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-05 20:10:39 -0600
committerAndrew Godwin2022-11-05 20:10:39 -0600
commit56de2362a01089c8a5ca3c6e1affcade00ffdfce (patch)
tree399028908298fcf34b05e389632ff27d5cbb58db /templates/base.html
parent25b9731a6e2d5b1cea96ef059071dfd90bfd5d32 (diff)
downloadtakahe-56de2362a01089c8a5ca3c6e1affcade00ffdfce.tar.gz
takahe-56de2362a01089c8a5ca3c6e1affcade00ffdfce.tar.bz2
takahe-56de2362a01089c8a5ca3c6e1affcade00ffdfce.zip
Some user icon stuff
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html18
1 files changed, 16 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html
index 4dc62ca..af2887f 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -13,11 +13,25 @@
<body class="{% block body_class %}{% endblock %}">
<header>
- <h1><a href="/">{{ config.site_name }}</a></h1>
+ <h1>
+ <a href="/">
+ <img src="{% static "img/icon-128.png" %}" width="32">
+ {{ config.site_name }}
+ </a>
+ </h1>
<menu>
<li>
+ <a href="#"><i class="fa-solid fa-gear"></i></a>
+ </li>
+ <li>
{% if user.is_authenticated %}
- Logout
+ <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>
{% else %}
<a href="/auth/login/">Login</a>
{% endif %}