diff options
author | Andrew Godwin | 2022-11-16 21:12:28 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-16 21:12:28 -0700 |
commit | 1b52acdb56346d939eb2e26ff449697b52fa7142 (patch) | |
tree | 222e5a3de47db230c392f18ab983abe69eb94c5d /templates/base.html | |
parent | 44af0d4c59eed1c3715e9044e75c159cfddf54cc (diff) | |
download | takahe-1b52acdb56346d939eb2e26ff449697b52fa7142.tar.gz takahe-1b52acdb56346d939eb2e26ff449697b52fa7142.tar.bz2 takahe-1b52acdb56346d939eb2e26ff449697b52fa7142.zip |
Domains management pages
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html index e392cb9..402dcd3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -28,10 +28,16 @@ </a> <menu> {% if user.is_authenticated %} - <a href="/compose/" title="Compose"><i class="fa-solid fa-feather"></i> Compose</a> - <a href="/settings/" title="Settings"><i class="fa-solid fa-gear"></i> Settings</a> + <a href="/compose/" title="Compose" {% if top_section == "compose" %}class="selected"{% endif %}> + <i class="fa-solid fa-feather"></i> Compose + </a> + <a href="/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="/settings/system/" title="Admin"><i class="fa-solid fa-toolbox"></i> Admin</a> + <a href="/settings/system/" title="Admin" {% if top_section == "settings_system" %}class="selected"{% endif %}> + <i class="fa-solid fa-toolbox"></i> Admin + </a> {% endif %} <div class="gap"></div> <a href="/identity/select/" class="identity"> |