2021-02-06 07:38:15 +00:00
|
|
|
<nav class="navbar navbar-expand-sm bg-dark navbar-dark sticky-top justify-content-center text-center">
|
2021-02-06 04:52:46 +00:00
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse"
|
|
|
|
data-target="#navbarTogglerHeader" aria-controls="navbarTogglerHeader"
|
|
|
|
aria-expanded="false" aria-label="Toggle Header Navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<div id="navbarTogglerHeader" class="row collapse navbar-collapse">
|
|
|
|
<div class="col-sm">
|
2021-02-07 22:52:08 +00:00
|
|
|
{% if current_directory %}
|
2021-02-09 00:36:55 +00:00
|
|
|
<ul class="navbar-nav">
|
|
|
|
<li class="nav-item">
|
|
|
|
<i id="back-btn" class="fa fa-arrow-left" aria-hidden="true" title="Back..." hash="{{dot_dots[1][1]}}">
|
|
|
|
Back...
|
|
|
|
</i>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<i id="refresh-btn" class="fa fa-refresh" aria-hidden="true" title="Refresh..." hash="{{dot_dots[0][1]}}">
|
|
|
|
Refresh...
|
|
|
|
</i>
|
|
|
|
</li>
|
|
|
|
|
2021-02-06 08:34:44 +00:00
|
|
|
<li class="nav-item">
|
|
|
|
<div class="input-group input-group-sm justify-content-center">
|
|
|
|
<button title="Other Options..." class="btn btn-secondary btn-sm" data-toggle="modal" data-target="#options-modal">⚙</button>
|
|
|
|
|
|
|
|
<input id="search-files-field" type="text" class="form-control" aria-label="Search..." placeholder="Search..." style="max-width: 260px">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<span id="clear-search-btn" class="input-group-text" title="Clears search...">X</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<button title="File viewer..." class="btn btn-secondary btn-sm" data-toggle="modal" data-target="#file-view-modal">🖼</button>
|
|
|
|
</div>
|
|
|
|
</li>
|
2021-02-08 05:31:20 +00:00
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
<div class="input-group input-group-sm justify-content-center">
|
|
|
|
<button class="btn btn-sm btn-secondary" data-toggle="modal"
|
|
|
|
data-target="#favorites-modal">Faves List ↕</button>
|
2021-02-08 07:15:38 +00:00
|
|
|
<button id="scroll-files-to-top-btn" class="btn btn-sm btn-secondary" title="Scroll to top..." >Scroll Files To Top</button>
|
2021-02-08 05:31:20 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
2021-02-09 00:36:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="nav-item">
|
|
|
|
<button id="tggl-faves-btn" class="btn btn-sm btn-secondary" title="Add/Delete from favorites..." >☆</button>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
2021-02-06 04:52:46 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col col-lg-auto">
|
|
|
|
<!-- Links -->
|
|
|
|
<ul class="navbar-nav">
|
|
|
|
{% if not current_user.is_authenticated %}
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
<a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-toggle="dropdown">
|
|
|
|
Account
|
|
|
|
</a>
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
<a class="dropdown-item" href="{{ url_for('login') }}">
|
|
|
|
<i title="Login" class="fas fa-user"></i> Login</a>
|
|
|
|
<a class="dropdown-item" href="{{ url_for('register') }}">
|
|
|
|
<i title="Register A User..." class="fas fa-user-plus"></i> Register</a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
{% if current_user.is_authenticated or oidc_loggedin() %}
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{{ url_for('logout') }}">
|
|
|
|
<i class="fas fa-sign-out-alt"></i> Logout</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|