mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 23:34:05 +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>
|
||||
|
||||
<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') }}">
|
||||
<i class="dropdown-icon fe fe-log-out"></i> Sign out
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -74,13 +74,13 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a href="{{ url_for('dashboard.api_key') }}"
|
||||
class="nav-link {{ 'active' if active_page == 'api_key' }}">
|
||||
<i class="fa fa-key"></i>
|
||||
API Keys
|
||||
</a>
|
||||
</li>
|
||||
{# <li class="nav-item">#}
|
||||
{# <a href="{{ url_for('dashboard.api_key') }}"#}
|
||||
{# class="nav-link {{ 'active' if active_page == 'api_key' }}">#}
|
||||
{# <i class="fa fa-key"></i>#}
|
||||
{# API Keys#}
|
||||
{# </a>#}
|
||||
{# </li>#}
|
||||
|
||||
{% if current_user.can_use_phone %}
|
||||
<li class="nav-item">
|
||||
|
|
Loading…
Reference in a new issue