diff options
Diffstat (limited to 'ogcp/templates/nav.html')
-rw-r--r-- | ogcp/templates/nav.html | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/ogcp/templates/nav.html b/ogcp/templates/nav.html deleted file mode 100644 index edf5c05..0000000 --- a/ogcp/templates/nav.html +++ /dev/null @@ -1,47 +0,0 @@ -<nav class="navbar navbar-expand-lg navbar-dark bg-dark"> - <a class="navbar-brand" href="#">OpenGnsys</a> - <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> - <span class="navbar-toggler-icon"></span> - </button> - - <div class="collapse navbar-collapse" id="navbarSupportedContent"> - <ul class="navbar-nav mr-auto"> - {% if current_user.is_authenticated %} - <li class="nav-item {% if request.endpoint == "index" %}active{% endif %}"> - <a class="nav-link" href="{{ url_for('index') }}">{{ _('Dashboard') }}<span class="sr-only">(current)</span></a> - </li> - <li class="nav-item {% if request.endpoint == "scopes" %}active{% endif %}"> - <a class="nav-link" href="{{ url_for('scopes') }}">{{ _('Scopes') }}</a> - </li> - <li class="nav-item {% if request.endpoint == "commands" %}active{% endif %}"> - <a class="nav-link" href="{{ url_for('commands') }}">{{ _('Commands') }}</a> - </li> - <li class="nav-item {% if request.endpoint == "images" %}active{% endif %}"> - <a class="nav-link" href="{{ url_for('images') }}">{{ _('Images') }}</a> - </li> - <li class="nav-item {% if request.endpoint == "tasks" %}active{% endif %}"> - <a class="nav-link" href="#">{{ _('Tasks') }}</a> - </li> - <li class="nav-item {% if request.endpoint == "schedule" %}active{% endif %}"> - <a class="nav-link" href="#">{{ _('Schedule') }}</a> - </li> - {% endif %} - </ul> - - <ul class="nav navbar-nav navbar-right"> - {% if current_user.is_authenticated %} - - <li class="nav-item"> - <a class="btn btn-danger" href="{{ url_for('logout') }}">{{ _('Logout') }}</a> - </li> - - {% else %} - - <li class="nav-item"> - <a class="btn btn-primary" href="{{ url_for('login') }}">{{ _('Login') }}</a> - </li> - - {% endif %} - </ul> - </div> -</nav> |