move "api keys" page to dropdown menu

This commit is contained in:
Son NK 2020-09-08 13:56:38 +02:00
parent a0b50762ee
commit b65534a8e7
2 changed files with 6 additions and 8 deletions

View file

@ -80,6 +80,12 @@
</a>
<div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
<a class="dropdown-item" href="{{ url_for('dashboard.api_key') }}">
<i class="dropdown-icon"><img src="/static/key.svg"></i> API Keys
</a>
<hr class="my-2">
<a class="dropdown-item" href="{{ url_for('auth.logout') }}">
<i class="dropdown-icon fe fe-log-out"></i> Sign out
</a>

View file

@ -7,14 +7,6 @@
</a>
</li>
<li class="nav-item">
<a href="{{ url_for('dashboard.api_key') }}"
class="nav-link {{ 'active' if active_page == 'api_key' }}">
<i><img src="/static/key.svg"></i>
API Keys
</a>
</li>
<li class="nav-item">
<a href="{{ url_for('dashboard.custom_domain') }}"
class="nav-link {{ 'active' if active_page == 'custom_domain' }}">