academon/templates/core/frontend/sidebar.html
2022-09-16 12:51:56 +00:00

141 lines
No EOL
5 KiB
HTML

{% load static %}
<aside class="main-sidebar sidebar-dark-primary elevation-4">
<a href="/" class="brand-link">
<img src="{% static "core/dist/img/logo.png" %}" alt="AcadeMon Logo" class="brand-image img-circle elevation-3"
style="opacity: .8">
<span class="brand-text font-weight-light">Academon</span>
</a>
<div class="sidebar">
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
<div class="image">
<img src="{% static "core/dist/img/noavatar.jpg" %}" class="img-circle elevation-2" alt="User Image">
</div>
<div class="info">
<a href="#" class="d-block">{{ user.get_username }}</a>
</div>
</div>
<div class="form-inline">
<div class="input-group" data-widget="sidebar-search">
<input class="form-control form-control-sidebar" type="search" placeholder="Search" aria-label="Search">
<div class="input-group-append">
<button class="btn btn-sidebar">
<i class="fas fa-search fa-fw"></i>
</button>
</div>
</div>
</div>
<nav class="mt-2">
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
<li class="nav-item">
<a href="{% url "core:dashboard" %}" class="nav-link">
<i class="fas fa-tachometer-alt nav-icon"></i>
<p>
Dashboard
<!--<span class="right badge badge-danger">New</span>-->
</p>
</a>
</li>
<li class="nav-header">INFRASTRUCTURE</li>
<li class="nav-item">
<a href="#" class="nav-link">
<i class="nav-icon fas fa-ship"></i>
<p>
Vessel Monitoring <span class="badge badge-danger right">1</span><span
class="badge badge-success right">0</span>
</p>
</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">
<i class="nav-icon fas fa-file-export"></i>
<p>
Backups
</p>
</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">
<i class="nav-icon fas fa-gears"></i>
<p>
Services <span class="badge badge-danger right">0</span><span
class="badge badge-success right">4</span>
</p>
</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">
<i class="nav-icon fas fa-chart-line"></i>
<p>
Reports
</p>
</a>
</li>
<li class="nav-header">CREW</li>
<li class="nav-item">
<a href="#" class="nav-link">
<i class="nav-icon fas fa-users"></i>
<p>
User Statistics
</p>
</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">
<i class="nav-icon fas fa-id-card-clip"></i>
<p>
User Details
</p>
</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">
<i class="nav-icon fas fa-graduation-cap"></i>
<p>
Certificates
</p>
</a>
</li>
<li class="nav-header">CONTENTMONSTER</li>
<li class="nav-item">
<a href="#" class="nav-link">
<i class="nav-icon fas fa-upload"></i>
<p>
Current Queue
<span class="badge badge-info right">2</span>
</p>
</a>
</li>
{% if request.user.is_superuser %}
<li class="nav-header">ADMIN AREA</li>
<li class="nav-item">
<a href="{% url "core:admin_vessels" %}" class="nav-link">
<i class="nav-icon fas fa-ship"></i>
<p>
Vessels
</p>
</a>
</li>
{% endif %}
</ul>
</nav>
</div>
</aside>