header.component.html 3 KB
Newer Older
1
<div class="loading" *ngIf="(showLoader$ | async) === true"></div>
2
<div id="headerNotice" (onHidden)="onHidden()" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
3
4
5
6
7
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header {{modalHeader | async}}">
                <h3 class="modal-title pull-left"><i class="fa fa-check-square-o"></i>&nbsp;&nbsp;{{ modalTitle | async }}</h3>
                <button type="button" class="close pull-right" aria-label="Close" (click)="hideModal()">
8
9
          <span aria-hidden="true"><i class="fa fa-times"></i></span>
        </button>
10
11
12
13
14
15
16
17
            </div>
            <div class="modal-body">
                <p>{{ modalText | async }}</p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Κλείσιμο</button>
            </div>
        </div>
18
19
    </div>
</div>
20
<div class="header-wrapper">
21
22
    <header id="navbar" role="banner" class="navbar navbar-default">
        <div class="container">
23
            <div *ngFor="let loginInfoRow$ of loginInfo$ | async; let i=index;">
24
                <ul class="navbar-nav">
25
                    <div *ngIf="loginInfoRow$.cu_name !== ''">
26
27
28
29
                        <div class="row">
                            <div class="col-md-2">
                                <i class="fa fa-home isclickable" (click)="goHome()"></i>
                                <span class="signout isclickable" (click)="goHome()" style="color:#CC3300;">&nbsp;&nbsp;Αρχική</span>
30
31
                            </div>
                            <div class="col-md-2">
32
                                 <span *ngIf="loginInfoRow$.auth_role===studentRole" class="signout isclickable" (click)="gohelpDesk()" style="color:#CC3300;">Επικοινωνία</span>
33
                            </div>
Open Source Developer's avatar
counter    
Open Source Developer committed
34
35
36
37
38
39
40
41
42
                        <div class="col-md-4">
                                 <span *ngIf="loginInfoRow$.auth_role===studentRole" class="signout" style="color:#CC3300;">
                                <div *ngFor="let TotalStudent$  of TotalStudents$ | async;">
                                    Σύνολο Αιτήσεων:{{TotalStudent$.numStudents}}
                                </div>
                                </span>
                        </div>
      

43

44
45
46
47
48
49
50
51
                            <div class="col-md-4" style="text-align: right">
                                <span class="username" style="text-align: right">{{ cuName }}&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                <span class="signout isclickable" style="text-align: right" (click)="signOut()" style="color:#CC3300;">Αποσύνδεση&nbsp;&nbsp;</span>
                                <i class="fa fa-sign-out isclickable" style="text-align: right" (click)="signOut()"></i>
                            </div>
                        </div>
                    </div>
                </ul>
52
53
            </div>
        </div>
54
55
    </header>
</div>