header.component.html 1.58 KB
Newer Older
1
<div class = "loading" *ngIf="(showLoader$ | async) === true"></div>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div id="headerNotice" (onHidden)="onHidden()" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
  <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()">
          <span aria-hidden="true"><i class="fa fa-times"></i></span>
        </button>
      </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>
  </div>
</div>
20
21
22
<div class="header-wrapper">
<header id="navbar" role="banner" class="navbar navbar-default">

23
24
25
26
27
28
29
30
31
32
33
34
35
    <div *ngIf="(loginInfo$ | async).size > 0">
   <ul class="navbar-nav">
       <div *ngIf="(loginInfo$ | async).cu_name !== ''">
            <div class="row">
                <div class="offset-md-8 col-md-4 pull-right">
                    <span class="username">{{ cuName }}&nbsp;&nbsp;&nbsp;&nbsp;</span>
                    <span class="signout isclickable" (click)="signOut()" style="color:#CC3300;">Αποσύνδεση&nbsp;&nbsp;</span>
                    <i class="fa fa-sign-out isclickable" (click)="signOut()"></i>
                </div>
            </div>
        </div>
   </ul>
</div>
36
37
</header>
</div>