Remove nested menus

This commit is contained in:
Mark Veidemanis 2022-07-29 22:42:04 +01:00
parent 29fa14bc98
commit c80b37663a
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 11 additions and 96 deletions

View File

@ -99,114 +99,29 @@
{% if user.is_superuser %}
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Manage
Threshold
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="#">
Pages
<a class="navbar-item" href="{% url 'threshold_irc_overview' %}">
IRC
</a>
<a class="navbar-item" href="#">
Docs
</a>
<a class="navbar-item" href="#">
Users
</a>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Threshold
</a>
<div class="navbar-dropdown">
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
IRC
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="{% url 'threshold_irc_overview' %}">
Overview
</a>
<a class="navbar-item" href="#">
Networks
</a>
<a class="navbar-item" href="#">
Aliases
</a>
<a class="navbar-item" href="#">
Relays
</a>
<a class="navbar-item" href="#">
Channels
</a>
<a class="navbar-item" href="#">
AutoReg
</a>
<a class="navbar-item" href="#">
IRCs
</a>
<a class="navbar-item" href="#">
Tools
</a>
</div>
</div>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Discord
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="#">
Overview
</a>
<a class="navbar-item" href="#">
Accounts
</a>
<a class="navbar-item" href="#">
Guilds
</a>
</div>
</div>
<a class="navbar-item" href="#">
Emails
</a>
<a class="navbar-item" href="#">
Client
</a>
<a class="navbar-item" href="#">
Tokens
</a>
</div>
</div>
<hr class="navbar-divider">
<a class="navbar-item" href="mailto:help@pathogen.is">
Report an issue
Discord
</a>
</div>
</div>
{% endif %}
{% if user.is_authenticated %}
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Tools
{% if user|has_plan:'drilldown' %}
<a class="navbar-item" href="{% url 'drilldown' %}">
Drilldown
</a>
<div class="navbar-dropdown">
{% if user|has_plan:'drilldown' %}
<a class="navbar-item" href="{% url 'drilldown' %}">
Drilldown
</a>
<a class="navbar-item" href="{% url 'insights' %}">
Insights
</a>
{% endif %}
<hr class="navbar-divider">
<a class="navbar-item" href="mailto:help@pathogen.is">
Report an issue
</a>
</div>
</div>
<a class="navbar-item" href="{% url 'insights' %}">
Insights
</a>
{% endif %}
{% endif %}
</div>