navbar.component.html 2.99 KB
Newer Older
Open Source Developer's avatar
trans  
Open Source Developer committed
1 2
<div class="nav-wrapper"  >
<div class = "content">
3 4 5 6 7 8 9 10
<div class="container">
<nav class="navbar navbar-toggleable-sm">
  <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <a class="logo navbar-brand" href="#" title="Αρχική">
          <img src="../myschool/assets/images/myschool_logo.png" alt="Αρχική" />
  </a>
Open Source Developer's avatar
trans  
Open Source Developer committed
11
   <div class="collapse navbar-collapse flex-row-reverse" id="navbarNav">
12
      <div *ngIf="(loginInfo$ | async).size > 0">
13 14
     <ul class="navbar-nav">
     <div class="row">
Open Source Developer's avatar
paging  
Open Source Developer committed
15
      <div *ngIf="(loginInfo$ | async).size > 0" class="nav-item" [ngClass]="{active: path=='submited-preview'}">
16
         <li *ngIf="authRole=='student'"class="nav-item" >
Open Source Developer's avatar
tranfer  
Open Source Developer committed
17
             <a class="nav-link" [routerLink]="['/submited-preview']" [routerLinkActive]="['active']"><b>Υποβληθείσες αιτήσεις</b></a>
Open Source Developer's avatar
paging  
Open Source Developer committed
18 19 20
         </li>
      </div>
      <div *ngIf="(loginInfo$ | async).size > 0" class="nav-item" [ngClass]="{active: path=='submited-preview'}">
21
     <li *ngIf="authRole=='director'" class="nav-item" >
Open Source Developer's avatar
paging  
Open Source Developer committed
22
           <a class="nav-link" [routerLink]="['/school/director-view']" [routerLinkActive]="['active']"><b>Επιλεχθέντες Μαθητές</b></a>
23
     </li>
Open Source Developer's avatar
paging  
Open Source Developer committed
24 25
     </div>
      <div *ngIf="(loginInfo$ | async).size > 0" class="nav-item" [ngClass]="{active: path=='submited-preview'}">
26
         <li *ngIf="authRole=='director'" class="nav-item" >
27
             <a class="nav-link" [routerLink]="['/school/director-classcapacity']" [routerLinkActive]="['active']"><b>Δυναμική Σχολείου</b></a>
Open Source Developer's avatar
paging  
Open Source Developer committed
28 29
        </li>
      </div>
30 31 32 33 34 35 36 37 38 39

      <div *ngIf="(loginInfo$ | async).size > 0" class="nav-item" >
         <li *ngIf="authRole=='supervisor'" class="nav-item" >
             <a class="nav-link" [routerLink]="['/ministry/minister-view']" [routerLinkActive]="['active']"><b>Κατανομή</b></a>
        </li>
      </div>
      <div *ngIf="(loginInfo$ | async).size > 0" class="nav-item" >
         <li *ngIf="authRole=='supervisor'" class="nav-item" >
             <a class="nav-link" [routerLink]="['/ministry/minister-reports']" [routerLinkActive]="['active']"><b>Αναφορές</b></a>
        </li>
Open Source Developer's avatar
paging  
Open Source Developer committed
40
      </div>
41 42 43 44 45
      <div *ngIf="(loginInfo$ | async).size > 0" class="nav-item" >
         <li *ngIf="authRole=='supervisor'" class="nav-item" >
             <a class="nav-link" [routerLink]="['/ministry/minister-informstudents']" [routerLinkActive]="['active']"><b>Αποστολή Ειδοποιήσεων</b></a>
        </li>
      </div>
46

47 48
      <div *ngIf="(loginInfo$ | async).size > 0" class="nav-item" >
         <li *ngIf="authRole=='pde'" class="nav-item" >
49
             <a class="nav-link" [routerLink]="['/ministry/minister-reports']" [routerLinkActive]="['active']"><b>Αναφορές</b></a>
50 51
        </li>
      </div>
52

53

54 55
      </div>
    </ul>
56 57

  </div>
58
  </div>
Open Source Developer's avatar
tran  
Open Source Developer committed
59

60
</nav>
Open Source Developer's avatar
trans  
Open Source Developer committed
61
</div>
62 63
   </div>
</div>