navbar.component.html 3.36 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
    <ul class="navbar-nav">
14 15 16
        <div *ngIf="(loginInfo$ | async).cu_name !== ''">
                  <b>Όνομα Χρήστη:</b> {{ cuName }}

Open Source Developer's avatar
Open Source Developer committed
17

18
       &nbsp;&nbsp;
19
                <button type="button" class="btn-primary btn-sm pull-right" (click)="signOut()">
20 21 22
               <i class="fa fa-sign-out"></i>
                </button>
        </div>
Open Source Developer's avatar
paging  
Open Source Developer committed
23
     </ul>
24 25
     <ul class="navbar-nav">
     <div class="row">
Open Source Developer's avatar
paging  
Open Source Developer committed
26
      <div *ngIf="(loginInfo$ | async).size > 0" class="nav-item" [ngClass]="{active: path=='submited-preview'}">
27
         <li *ngIf="authRole=='student'"class="nav-item" >
Open Source Developer's avatar
tranfer  
Open Source Developer committed
28
             <a class="nav-link" [routerLink]="['/submited-preview']" [routerLinkActive]="['active']"><b>Υποβληθείσες αιτήσεις</b></a>
Open Source Developer's avatar
paging  
Open Source Developer committed
29 30 31
         </li>
      </div>
      <div *ngIf="(loginInfo$ | async).size > 0" class="nav-item" [ngClass]="{active: path=='submited-preview'}">
32
     <li *ngIf="authRole=='director'" class="nav-item" >
Open Source Developer's avatar
paging  
Open Source Developer committed
33
           <a class="nav-link" [routerLink]="['/school/director-view']" [routerLinkActive]="['active']"><b>Επιλεχθέντες Μαθητές</b></a>
34
     </li>
Open Source Developer's avatar
paging  
Open Source Developer committed
35 36
     </div>
      <div *ngIf="(loginInfo$ | async).size > 0" class="nav-item" [ngClass]="{active: path=='submited-preview'}">
37
         <li *ngIf="authRole=='director'" class="nav-item" >
38
             <a class="nav-link" [routerLink]="['/school/director-classcapacity']" [routerLinkActive]="['active']"><b>Δυναμική Σχολείου</b></a>
Open Source Developer's avatar
paging  
Open Source Developer committed
39 40
        </li>
      </div>
41 42 43 44 45 46 47 48 49 50

      <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
51
      </div>
52 53 54 55 56
      <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>
57

58 59 60 61 62 63 64 65
      <!--
      <div *ngIf="(loginInfo$ | async).size > 0" class="nav-item" >
         <li *ngIf="authRole=='pde'" class="nav-item" >
             <a class="nav-link" [routerLink]="['/school/perfecture-view']" [routerLinkActive]="['active']"><b>Αναφορές</b></a>
        </li>
      </div>
      -->

66 67
      </div>
    </ul>
68 69

  </div>
70
  </div>
Open Source Developer's avatar
tran  
Open Source Developer committed
71

72
</nav>
Open Source Developer's avatar
trans  
Open Source Developer committed
73
</div>
74 75
   </div>
</div>