Skip to content

Commit

Permalink
Merge pull request #907 from aaronwmorris/dev
Browse files Browse the repository at this point in the history
change navigation menu order
  • Loading branch information
aaronwmorris authored Aug 23, 2023
2 parents 0a48ddb + a83a3ce commit c91238e
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions indi_allsky/flask/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@
<img src="{{ url_for('indi_allsky.static', filename='svg/play-btn-fill.svg') }}" width="16" height="16"><span class="ms-1 d-none d-sm-inline">Timelapses</span></a>
</li>

{% if current_user.is_authenticated or login_disabled %}
<li>
<a href="{{ url_for('indi_allsky.config_view') }}" class="nav-link px-sm-0 px-2">
<img src="{{ url_for('indi_allsky.static', filename='svg/toggles.svg') }}" width="16" height="16"><span class="ms-1 d-none d-sm-inline">Config</span> </a>
</li>
<li>
<a href="{{ url_for('indi_allsky.system_view') }}" class="nav-link px-sm-0 px-2">
<img src="{{ url_for('indi_allsky.static', filename='svg/gear-fill.svg') }}" width="16" height="16"><span class="ms-1 d-none d-sm-inline">System</span> </a>
</li>
{% endif %}

<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle px-sm-0 px-1" id="dropdown" data-bs-toggle="dropdown" aria-expanded="false">
<i class="fs-5 bi-bootstrap"></i>
Expand Down Expand Up @@ -96,6 +85,18 @@
</ul>
</li>


{% if current_user.is_authenticated or login_disabled %}
<li>
<a href="{{ url_for('indi_allsky.config_view') }}" class="nav-link px-sm-0 px-2">
<img src="{{ url_for('indi_allsky.static', filename='svg/toggles.svg') }}" width="16" height="16"><span class="ms-1 d-none d-sm-inline">Config</span> </a>
</li>
<li>
<a href="{{ url_for('indi_allsky.system_view') }}" class="nav-link px-sm-0 px-2">
<img src="{{ url_for('indi_allsky.static', filename='svg/gear-fill.svg') }}" width="16" height="16"><span class="ms-1 d-none d-sm-inline">System</span> </a>
</li>
{% endif %}

</ul>
</ul>
<div class="py-sm-4 mt-sm-auto ms-auto ms-sm-0 flex-shrink-1 d-none d-sm-inline">
Expand Down

0 comments on commit c91238e

Please sign in to comment.