mirror of
https://github.com/eduardogsilva/routerfleet.git
synced 2025-06-20 17:15:39 +02:00
fix show/hide columns alignment
This commit is contained in:
parent
b1ab8f4c16
commit
66d9a8b925
1 changed files with 23 additions and 23 deletions
|
@ -1,25 +1,29 @@
|
|||
<ul class="nav nav-tabs" role="tablist">
|
||||
<ul class="nav nav-tabs d-flex" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link {% if request.path == '/router/list/' %}active{% endif %}" href="/router/list/" role="tab">
|
||||
Routers
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link {% if request.path == '/router/group_list/' %}active{% endif %}" href="/router/group_list/"
|
||||
role="tab">
|
||||
<a class="nav-link {% if request.path == '/router/group_list/' %}active{% endif %}" href="/router/group_list/" role="tab">
|
||||
Router Groups
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link {% if request.path == '/router/ssh_keys/' %}active{% endif %}" href="/router/ssh_keys/"
|
||||
role="tab">
|
||||
<a class="nav-link {% if request.path == '/router/ssh_keys/' %}active{% endif %}" href="/router/ssh_keys/" role="tab">
|
||||
SSH Keys
|
||||
</a>
|
||||
</li>
|
||||
{% if request.path == '/router/list/' %}
|
||||
<li class="nav-item ml-auto">
|
||||
<a class="nav-link" href="#" id="showHideColumnsBtn" role="button">
|
||||
<i class="fas fa-columns"></i> Show/Hide Columns
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{% if filter_group_list %}
|
||||
<!-- Dropdown aligned to the right -->
|
||||
<li class="nav-item dropdown ml-auto">
|
||||
<a class="nav-link dropdown-toggle " href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
|
||||
aria-haspopup="true" aria-expanded="false">
|
||||
{% if filter_group %}{{ filter_group }}{% else %}All Routers{% endif %}
|
||||
</a>
|
||||
|
@ -31,10 +35,6 @@
|
|||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
<!-- Show/Hide Columns button -->
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#" id="showHideColumnsBtn" role="button">
|
||||
<i class="fas fa-columns"></i> Show/Hide Columns
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue