2019-04-16 17:24:59 +02:00
|
|
|
<div class="col-12 col-lg-2 p-0 bg-light border-right" id="side_menu">
|
|
|
|
|
2019-06-24 14:37:52 +02:00
|
|
|
<button type="button" class="btn btn-outline-secondary mt-1 ml-3" onclick="toggle_sidebar();">
|
2019-04-16 17:24:59 +02:00
|
|
|
<i class="fas fa-align-left"></i>
|
|
|
|
<span>Toggle Sidebar</span>
|
|
|
|
</button>
|
|
|
|
|
2019-06-24 14:37:52 +02:00
|
|
|
<nav class="navbar navbar-expand navbar-light bg-light flex-md-column flex-row align-items-start py-2" id="nav_menu">
|
2019-06-07 17:14:11 +02:00
|
|
|
<h5 class="d-flex text-muted w-100" id="nav_server">
|
2019-04-16 17:24:59 +02:00
|
|
|
<span>Diagnostic</span>
|
|
|
|
</h5>
|
2019-06-07 17:14:11 +02:00
|
|
|
<ul class="nav flex-md-column flex-row navbar-nav justify-content-between w-100"> <!--nav-pills-->
|
|
|
|
<li class="nav-item">
|
2019-06-19 15:00:25 +02:00
|
|
|
<a class="nav-link" href="{{url_for('settings.settings_page')}}" id="nav_server_status">
|
2019-06-07 17:14:11 +02:00
|
|
|
<i class="fas fa-tools"></i>
|
|
|
|
<span>Server Status</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2019-06-24 14:37:52 +02:00
|
|
|
<h5 class="d-flex text-muted w-100 py-2" id="nav_my_profile">
|
2019-06-07 17:14:11 +02:00
|
|
|
<span>My Profile</span>
|
|
|
|
</h5>
|
|
|
|
<ul class="nav flex-md-column flex-row navbar-nav justify-content-between w-100"> <!--nav-pills-->
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{{url_for('settings.edit_profile')}}" id="nav_edit_profile">
|
|
|
|
<i class="fas fa-user-edit"></i>
|
|
|
|
<span>My Profile</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2019-09-25 08:58:18 +02:00
|
|
|
<a class="nav-link" href="{{url_for('root.change_password')}}" id="nav_dashboard">
|
2019-06-07 17:14:11 +02:00
|
|
|
<i class="fas fa-key"></i>
|
|
|
|
<span>Change Password</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2019-06-20 11:15:56 +02:00
|
|
|
{% if admin_level %}
|
2019-06-24 14:37:52 +02:00
|
|
|
<h5 class="d-flex text-muted w-100 py-2" id="nav_user_management">
|
2019-06-20 11:15:56 +02:00
|
|
|
<span>User Management</span>
|
|
|
|
</h5>
|
|
|
|
<ul class="nav flex-md-column flex-row navbar-nav justify-content-between w-100"> <!--nav-pills-->
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{{url_for('settings.create_user')}}" id="nav_create_user">
|
|
|
|
<i class="fas fa-user-plus"></i>
|
|
|
|
<span>Create User</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{{url_for('settings.users_list')}}" id="nav_users_list">
|
|
|
|
<i class="fas fa-users"></i>
|
|
|
|
<span>Users List</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
2019-06-24 14:37:52 +02:00
|
|
|
|
|
|
|
</nav>
|
2019-04-16 17:24:59 +02:00
|
|
|
</div>
|