summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-17 17:43:00 -0700
committerAndrew Godwin2022-11-17 14:13:55 -0700
commit2154e6f02252576d8652e66f26fa4ae635d0f8ee (patch)
treea65a4e051c0cb9e99c77a083bf5b011b79f75cb8 /templates/base.html
parentf5eafb0ca0af3ed064202abbe99bfbeef8bbb74d (diff)
downloadtakahe-2154e6f02252576d8652e66f26fa4ae635d0f8ee.tar.gz
takahe-2154e6f02252576d8652e66f26fa4ae635d0f8ee.tar.bz2
takahe-2154e6f02252576d8652e66f26fa4ae635d0f8ee.zip
Rework UI to have vertical menus
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html21
1 files changed, 15 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html
index 616d5b6..31bbc7b 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -31,14 +31,12 @@
<a href="/compose/" title="Compose" {% if top_section == "compose" %}class="selected"{% endif %}>
<i class="fa-solid fa-feather"></i> Compose
</a>
+ <a href="#" title="Search" {% if top_section == "search" %}class="selected"{% endif %}>
+ <i class="fa-solid fa-search"></i> Search
+ </a>
<a href="{% url "settings" %}" title="Settings" {% if top_section == "settings" %}class="selected"{% endif %}>
<i class="fa-solid fa-gear"></i> Settings
</a>
- {% if request.user.admin %}
- <a href="{% url "admin" %}" title="Admin" {% if top_section == "admin" %}class="selected"{% endif %}>
- <i class="fa-solid fa-toolbox"></i> Admin
- </a>
- {% endif %}
<div class="gap"></div>
<a href="/identity/select/" class="identity">
{% if not request.identity %}
@@ -61,7 +59,18 @@
</menu>
</header>
- {% block content %}
+ {% block full_content %}
+ <div class="columns">
+ <div class="left-column">
+ {% block content %}
+ {% endblock %}
+ </div>
+ <div class="right-column">
+ {% block right_content %}
+ {% include "activities/_home_menu.html" %}
+ {% endblock %}
+ </div>
+ </div>
{% endblock %}
</main>