header.component.html 2.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 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
    <header id="navbar" role="banner" class="navbar navbar-default">
        <div class="container">
            <div *ngIf="(loginInfo$ | async).size > 0">
                <ul class="navbar-nav">
                    <div *ngIf="(loginInfo$ | async).cu_name !== ''">
                        <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>

                            </div>
                            <div class="col-md-6">&nbsp;</div>
                            <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>
41 42
            </div>
        </div>
43 44
    </header>
</div>