header.component.html 1.55 KB
Newer Older
1
<div class="loading" *ngIf="(showLoader$ | async) === true"></div>
2
3
4
<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">
5
6
      <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>
7
8
9
10
11
        <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">
12
        <p>{{ modalText | async }}</p>
13
14
15
16
17
18
19
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Κλείσιμο</button>
      </div>
    </div>
  </div>
</div>
20
<div class="header-wrapper">
21
  <header id="navbar" role="banner" class="navbar navbar-default">
22
    <div *ngIf="(loginInfo$ | async).size > 0">
23
24
25
26
27
28
29
      <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>
30
            </div>
31
          </div>
32
        </div>
33
34
35
36
      </ul>
    </div>
  </header>
</div>