mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 15:53:22 +08:00
move api keys page to header
This commit is contained in:
parent
6afe86b395
commit
07f5267c5a
2 changed files with 11 additions and 8 deletions
|
@ -141,10 +141,13 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
|
<div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
|
||||||
|
<a class="dropdown-item mb-3" href="{{ url_for('dashboard.api_key') }}">
|
||||||
|
<i class="dropdown-icon fa fa-key"></i> API Keys
|
||||||
|
</a>
|
||||||
|
|
||||||
<a class="dropdown-item" href="{{ url_for('auth.logout') }}">
|
<a class="dropdown-item" href="{{ url_for('auth.logout') }}">
|
||||||
<i class="dropdown-icon fe fe-log-out"></i> Sign out
|
<i class="dropdown-icon fe fe-log-out"></i> Sign out
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -74,13 +74,13 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="nav-item">
|
{# <li class="nav-item">#}
|
||||||
<a href="{{ url_for('dashboard.api_key') }}"
|
{# <a href="{{ url_for('dashboard.api_key') }}"#}
|
||||||
class="nav-link {{ 'active' if active_page == 'api_key' }}">
|
{# class="nav-link {{ 'active' if active_page == 'api_key' }}">#}
|
||||||
<i class="fa fa-key"></i>
|
{# <i class="fa fa-key"></i>#}
|
||||||
API Keys
|
{# API Keys#}
|
||||||
</a>
|
{# </a>#}
|
||||||
</li>
|
{# </li>#}
|
||||||
|
|
||||||
{% if current_user.can_use_phone %}
|
{% if current_user.can_use_phone %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
|
|
Loading…
Reference in a new issue