Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 278f83f2

Přidáno uživatelem Lukáš Moučka před více než 3 roky(ů)

Re #8621 - Návrh modelu dashboardu

- úprava modelu dashboardu

Zobrazit rozdíly:

src/app/shared/nav-bar/components/nav-bar.component.html
11 11
              <a class="nav-link" [routerLink]="['/dashboard']"><h2>Dashboard</h2></a>
12 12
            </li>
13 13
            <li *ngIf="loggedUser?.userInfo?.rightsId == 0" class="nav-item">
14
              <a class="nav-link" (click)="addUser()"><h2>Add user</h2></a>
14
              <a class="nav-link" (click)="addUser()"><h2><i class="fas fa-user-plus"></i>&nbsp;Add user</h2></a>
15
            </li>
16
            <li *ngIf="loggedUser?.userInfo?.rightsId == 0 || loggedUser?.userInfo?.rightsId == 1" class="nav-item">
17
              <a class="nav-link" (click)="insertUnitPopup()"><h2><i class="fas fa-folder-plus"></i>&nbsp;Add unit</h2></a>
15 18
            </li>
16 19
          </ul>
17 20
          <a class="navbar-brand" href="/">
18 21
            <h1>SensLog</h1>
19
            <img class="navbar-logo" src="/assets/images/senslog.png" alt="Logo SensLog">
22
            <img class="navbar-logo" src="/assets/images/senslog-logo.svg" alt="Logo SensLog">
20 23
          </a>
21 24
          <ul class="navbar-nav right">
22 25
            <li class="nav-item">
23
              <h2 class="nav-link">User:&nbsp;<strong>{{loggedUser?.userInfo?.userName.toUpperCase()}}</strong></h2>
26
              <h2 class="nav-link"><i class="fas fa-user"></i>&nbsp;<strong>{{loggedUser?.userInfo?.userName.toUpperCase()}}</strong></h2>
24 27
            </li>
25 28
            <li class="nav-item">
26
              <a class='nav-link' [routerLink]="['/login']" (click)="logOut()"><h2>Logout</h2></a>
29
              <a class='nav-link' [routerLink]="['/login']" (click)="logOut()"><h2><i class="fas fa-sign-out-alt"></i>&nbsp;Logout</h2></a>
27 30
            </li>
28 31
          </ul>
29 32
        </div>
......
33 36
</div>
34 37

  
35 38
<app-user-insert-popup *ngIf="showAddUserPopup" [(isVisible)]="showAddUserPopup"></app-user-insert-popup>
39
<app-unit-insert-popup [(isVisible)]="showInsertUnitPopup" [phenomenons]="phenomenons"></app-unit-insert-popup>

Také k dispozici: Unified diff