Fakultas Ilmu Komputer UI

navigation.html 1.7 KB
Newer Older
1
2
3
<nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">
    <!-- Sidebar Toggle (Topbar) -->
    <button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">
Samuel Dimas Partogi's avatar
Samuel Dimas Partogi committed
4
      <i class="fa fa-bars" aria-hidden="true"></i>
5
6
7
8
    </button>
    <div class="sidebar-brand-text mx-3">Diskominfo Kota Depok</div>
    <!-- Topbar Navbar -->
    <ul class="navbar-nav ml-auto">
Samuel Dimas Partogi's avatar
Samuel Dimas Partogi committed
9
      <li class="nav-item">
10
        <a class="nav-link" href="/administration/">
Samuel Dimas Partogi's avatar
Samuel Dimas Partogi committed
11
12
13
14
            <span class="mr-2 d-none d-lg-inline text-gray-600 small">Administrasi</span>
        </a>
      </li>
      <li class="nav-item">
15
          <a class="nav-link" href="/profil/">
Samuel Dimas Partogi's avatar
Samuel Dimas Partogi committed
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
              <span class="mr-2 d-none d-lg-inline text-gray-600 small">Profil</span>
          </a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="/logout/">
            <span class="mr-2 d-none d-lg-inline text-gray-600 small">Logout</span>
        </a>
      </li>
      <div class="topbar-divider d-none d-sm-block"></div>
      <!-- Nav Item - User Information -->
      <li class="nav-item dropdown no-arrow">
        <a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown"
          aria-haspopup="true" aria-expanded="false">
          <span class="mr-2 d-none d-lg-inline text-gray-600 small">Admin</span>
          {% if not user.default_profile_picture %}
          <img class="img-profile rounded-circle" src="https://i.ibb.co/9wgPzyZ/default-image.png" alt="User profile picture">
          {% else %}
          <img class="img-profile rounded-circle" src="{{ user.profile_picture.url }}" alt="User profile picture">
          {% endif %}
        </a>
      </li>
37
    </ul>
Samuel Dimas Partogi's avatar
Samuel Dimas Partogi committed
38
</nav>