summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-22 19:03:19 -0700
committerAndrew Godwin2022-11-22 19:03:19 -0700
commitaaad289c5211570ec98ddd9d753517ef827686dc (patch)
tree313c11650db757695fdfb999ca5f270ebe2f6394 /templates
parent48154fb20e41bf3f4ba2de42de32c3e75d059941 (diff)
downloadtakahe-aaad289c5211570ec98ddd9d753517ef827686dc.tar.gz
takahe-aaad289c5211570ec98ddd9d753517ef827686dc.tar.bz2
takahe-aaad289c5211570ec98ddd9d753517ef827686dc.zip
Add titles to menus for collapsed mode
Diffstat (limited to 'templates')
-rw-r--r--templates/activities/_menu.html18
-rw-r--r--templates/identity/_menu.html8
-rw-r--r--templates/settings/_menu.html22
3 files changed, 24 insertions, 24 deletions
diff --git a/templates/activities/_menu.html b/templates/activities/_menu.html
index 01f34cd..4b167af 100644
--- a/templates/activities/_menu.html
+++ b/templates/activities/_menu.html
@@ -1,34 +1,34 @@
<nav>
- <a href="/" {% if current_page == "home" %}class="selected"{% endif %}>
+ <a href="/" {% if current_page == "home" %}class="selected"{% endif %} title="Home">
<i class="fa-solid fa-home"></i> Home
</a>
{% if request.user.is_authenticated %}
- <a href="{% url "notifications" %}" {% if current_page == "notifications" %}class="selected"{% endif %}>
+ <a href="{% url "notifications" %}" {% if current_page == "notifications" %}class="selected"{% endif %} title="Notifications">
<i class="fa-solid fa-at"></i> Notifications
</a>
- <a href="{% url "local" %}" {% if current_page == "local" %}class="selected"{% endif %}>
+ <a href="{% url "local" %}" {% if current_page == "local" %}class="selected"{% endif %} title="Local">
<i class="fa-solid fa-city"></i> Local
</a>
- <a href="{% url "federated" %}" {% if current_page == "federated" %}class="selected"{% endif %}>
+ <a href="{% url "federated" %}" {% if current_page == "federated" %}class="selected"{% endif %} title="Federated">
<i class="fa-solid fa-globe"></i> Federated
</a>
<h3></h3>
- <a href="{% url "compose" %}" {% if top_section == "compose" %}class="selected"{% endif %}>
+ <a href="{% url "compose" %}" {% if top_section == "compose" %}class="selected"{% endif %} title="Compose">
<i class="fa-solid fa-feather"></i> Compose
</a>
- <a href="{% url "search" %}" {% if top_section == "search" %}class="selected"{% endif %}>
+ <a href="{% url "search" %}" {% if top_section == "search" %}class="selected"{% endif %} title="Search">
<i class="fa-solid fa-search"></i> Search
</a>
- <a href="{% url "settings" %}" {% if top_section == "settings" %}class="selected"{% endif %}>
+ <a href="{% url "settings" %}" {% if top_section == "settings" %}class="selected"{% endif %} title="Settings">
<i class="fa-solid fa-gear"></i> Settings
</a>
{% else %}
- <a href="{% url "local" %}" {% if current_page == "local" %}class="selected"{% endif %}>
+ <a href="{% url "local" %}" {% if current_page == "local" %}class="selected"{% endif %} title="Local Posts">
<i class="fa-solid fa-city"></i> Local Posts
</a>
<h3></h3>
{% if config.signup_allowed %}
- <a href="{% url "signup" %}" {% if current_page == "signup" %}class="selected"{% endif %}>
+ <a href="{% url "signup" %}" {% if current_page == "signup" %}class="selected"{% endif %} title="Create Account">
<i class="fa-solid fa-user-plus"></i> Create Account
</a>
{% endif %}
diff --git a/templates/identity/_menu.html b/templates/identity/_menu.html
index c6c375b..0e22c9d 100644
--- a/templates/identity/_menu.html
+++ b/templates/identity/_menu.html
@@ -1,16 +1,16 @@
<nav>
- <a href="/identity/select/" {% if identities %}class="selected"{% endif %}>
+ <a href="/identity/select/" {% if identities %}class="selected"{% endif %} title="Select Identity">
<i class="fa-solid fa-user"></i> Select Identity
</a>
- <a href="/identity/create/" {% if form %}class="selected"{% endif %}>
+ <a href="/identity/create/" {% if form %}class="selected"{% endif %} title="Create Identity">
<i class="fa-solid fa-plus"></i> Create Identity
</a>
- <a href="/auth/logout/">
+ <a href="/auth/logout/" title="Logout">
<i class="fa-solid fa-right-from-bracket"></i> Logout
</a>
{% if request.user.admin %}
<h3>Administration</h3>
- <a href="{% url "admin_domains" %}" {% if section == "domains" %}class="selected"{% endif %}>
+ <a href="{% url "admin_domains" %}" {% if section == "domains" %}class="selected"{% endif %} title="Domains">
<i class="fa-solid fa-globe"></i> Domains
</a>
{% endif %}
diff --git a/templates/settings/_menu.html b/templates/settings/_menu.html
index 1cccf6b..49a5d68 100644
--- a/templates/settings/_menu.html
+++ b/templates/settings/_menu.html
@@ -1,39 +1,39 @@
<nav>
<h3>Identity</h3>
- <a href="{% url "settings_profile" %}" {% if section == "profile" %}class="selected"{% endif %}>
+ <a href="{% url "settings_profile" %}" {% if section == "profile" %}class="selected"{% endif %} title="Profile">
<i class="fa-solid fa-user"></i> Profile
</a>
- <a href="{% url "settings_interface" %}" {% if section == "interface" %}class="selected"{% endif %}>
+ <a href="{% url "settings_interface" %}" {% if section == "interface" %}class="selected"{% endif %} title="Interface">
<i class="fa-solid fa-display"></i> Interface
</a>
- <a href="{% url "settings_follows" %}" {% if section == "follows" %}class="selected"{% endif %}>
+ <a href="{% url "settings_follows" %}" {% if section == "follows" %}class="selected"{% endif %} title="Follows">
<i class="fa-solid fa-arrow-right-arrow-left"></i> Follows
</a>
<h3>Account</h3>
- <a href="{% url "settings_security" %}" {% if section == "security" %}class="selected"{% endif %}>
+ <a href="{% url "settings_security" %}" {% if section == "security" %}class="selected"{% endif %} title="Login &amp; Security">
<i class="fa-solid fa-key"></i> Login &amp; Security
</a>
<a href="/auth/logout/">
- <i class="fa-solid fa-right-from-bracket"></i> Logout
+ <i class="fa-solid fa-right-from-bracket" title="Logout"></i> Logout
</a>
{% if request.user.admin %}
<h3>Administration</h3>
- <a href="{% url "admin_basic" %}" {% if section == "basic" %}class="selected"{% endif %}>
+ <a href="{% url "admin_basic" %}" {% if section == "basic" %}class="selected"{% endif %} title="Basic">
<i class="fa-solid fa-book"></i> Basic
</a>
- <a href="{% url "admin_domains" %}" {% if section == "domains" %}class="selected"{% endif %}>
+ <a href="{% url "admin_domains" %}" {% if section == "domains" %}class="selected"{% endif %} title="Domains">
<i class="fa-solid fa-globe"></i> Domains
</a>
- <a href="{% url "admin_users" %}" {% if section == "users" %}class="selected"{% endif %}>
+ <a href="{% url "admin_users" %}" {% if section == "users" %}class="selected"{% endif %} title="Users">
<i class="fa-solid fa-users"></i> Users
</a>
- <a href="{% url "admin_identities" %}" {% if section == "identities" %}class="selected"{% endif %}>
+ <a href="{% url "admin_identities" %}" {% if section == "identities" %}class="selected"{% endif %} title="Identities">
<i class="fa-solid fa-id-card"></i> Identities
</a>
- <a href="{% url "admin_invites" %}" {% if section == "invites" %}class="selected"{% endif %}>
+ <a href="{% url "admin_invites" %}" {% if section == "invites" %}class="selected"{% endif %} title="Invites">
<i class="fa-solid fa-envelope"></i> Invites
</a>
- <a href="/djadmin">
+ <a href="/djadmin" title="">
<i class="fa-solid fa-gear"></i> Django Admin
</a>
{% endif %}