|
@@ -6,7 +6,7 @@
|
|
<div class="container">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col-12 col-sm-12 col-md-4 col-lg-4" style="margin:0;padding:0">
|
|
<div class="col-12 col-sm-12 col-md-4 col-lg-4" style="margin:0;padding:0">
|
|
- <ul class="list-unstyled notificationList-w" *ngIf="!authSer.isAuthenticated()">
|
|
|
|
|
|
+ <ul class="list-unstyled notificationList-w" *ngIf="authSer.isAuthenticated()">
|
|
<li class="profileData-w">
|
|
<li class="profileData-w">
|
|
<div class="btn-group" ngbDropdown role="group" aria-label="Button group with nested dropdown">
|
|
<div class="btn-group" ngbDropdown role="group" aria-label="Button group with nested dropdown">
|
|
<button class="buttonW" ngbDropdownToggle><img src="{{authSer.dataLoginUser['photo'] ? authSer.pathImg + authSer.dataLoginUser['photo'] : authSer.imgSrc}}" title="imageProfile" /> {{authSer.dataLoginUser['name']}} </button>
|
|
<button class="buttonW" ngbDropdownToggle><img src="{{authSer.dataLoginUser['photo'] ? authSer.pathImg + authSer.dataLoginUser['photo'] : authSer.imgSrc}}" title="imageProfile" /> {{authSer.dataLoginUser['name']}} </button>
|
|
@@ -20,7 +20,7 @@
|
|
<li><span><i class="fas fa-comments"></i></span></li>
|
|
<li><span><i class="fas fa-comments"></i></span></li>
|
|
<li><span><i class="fas fa-bell"></i></span></li>
|
|
<li><span><i class="fas fa-bell"></i></span></li>
|
|
</ul>
|
|
</ul>
|
|
- <p *ngIf="authSer.isAuthenticated()" class="login" (click)="onLogin()"><a>LOG IN</a></p>
|
|
|
|
|
|
+ <p *ngIf="!authSer.isAuthenticated()" class="login" (click)="onLogin()"><a>LOG IN</a></p>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 col-sm-12 col-md-4 col-lg-4 backgroundXS">
|
|
<div class="col-12 col-sm-12 col-md-4 col-lg-4 backgroundXS">
|
|
<div class="form-group" style="margin:10px 0;">
|
|
<div class="form-group" style="margin:10px 0;">
|
|
@@ -28,14 +28,14 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-6 col-sm-6 col-md-4 col-lg-4 hidden-xs hidden-sm">
|
|
<div class="col-6 col-sm-6 col-md-4 col-lg-4 hidden-xs hidden-sm">
|
|
- <p style="margin:15px 0; display:inline-block" class="dateW"> {{authSer.currentDate}} </p>
|
|
|
|
|
|
+ <p style="margin:15px 0; display:inline-block" class="dateW"> {{authSer.currentDate}} </p>
|
|
<span class="ar" (click)="authSer.onLanguageContent('ar')" [ngClass]="{'activeLanguage':authSer. arabicLanguage}">AR</span>
|
|
<span class="ar" (click)="authSer.onLanguageContent('ar')" [ngClass]="{'activeLanguage':authSer. arabicLanguage}">AR</span>
|
|
- <span class="en" (click)="authSer.onLanguageContent('en')" [ngClass]="{'activeLanguage': authSer.englishLanguage}">EN</span>
|
|
|
|
|
|
+ <span class="en" (click)="authSer.onLanguageContent('en')" [ngClass]="{'activeLanguage': authSer.englishLanguage}">EN</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+
|
|
<div class="logoHeader-w">
|
|
<div class="logoHeader-w">
|
|
<div class="container">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="row">
|
|
@@ -70,7 +70,7 @@
|
|
<i class="fa fa-caret-down" *ngIf="parent['childs'].length > 0"></i>
|
|
<i class="fa fa-caret-down" *ngIf="parent['childs'].length > 0"></i>
|
|
</button>
|
|
</button>
|
|
<button class="dropbtn" *ngIf="parent['childs'].length == 0">
|
|
<button class="dropbtn" *ngIf="parent['childs'].length == 0">
|
|
- <a [routerLink]="parent.link" style="text-decoration:none">{{parent.name}}</a>
|
|
|
|
|
|
+ <a [routerLink]="parent.link" style="text-decoration:none">{{parent.name}}</a>
|
|
<i class="fa fa-caret-down" *ngIf="parent['childs'].length > 0"></i>
|
|
<i class="fa fa-caret-down" *ngIf="parent['childs'].length > 0"></i>
|
|
</button>
|
|
</button>
|
|
<div class="dropdown-content" *ngIf="parent['childs'].length > 0">
|
|
<div class="dropdown-content" *ngIf="parent['childs'].length > 0">
|
|
@@ -121,14 +121,14 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-6 col-sm-6 col-md-4 col-lg-4 hidden-xs hidden-sm">
|
|
<div class="col-6 col-sm-6 col-md-4 col-lg-4 hidden-xs hidden-sm">
|
|
- <p style="margin:15px 0; display:inline-block" class="dateW"> {{authSer.currentDate}} </p>
|
|
|
|
|
|
+ <p style="margin:15px 0; display:inline-block" class="dateW"> {{authSer.currentDate}} </p>
|
|
<span class="ar" (click)="authSer.onLanguageContent('ar')" [ngClass]="{'activeLanguage':authSer. arabicLanguage}">AR</span>
|
|
<span class="ar" (click)="authSer.onLanguageContent('ar')" [ngClass]="{'activeLanguage':authSer. arabicLanguage}">AR</span>
|
|
- <span class="en" (click)="authSer.onLanguageContent('en')" [ngClass]="{'activeLanguage': authSer.englishLanguage}">EN</span>
|
|
|
|
|
|
+ <span class="en" (click)="authSer.onLanguageContent('en')" [ngClass]="{'activeLanguage': authSer.englishLanguage}">EN</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+
|
|
<div class="logoHeader-w">
|
|
<div class="logoHeader-w">
|
|
<div class="container">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="row">
|
|
@@ -163,7 +163,7 @@
|
|
<i class="fa fa-caret-down" *ngIf="parent['childs'].length > 0"></i>
|
|
<i class="fa fa-caret-down" *ngIf="parent['childs'].length > 0"></i>
|
|
</button>
|
|
</button>
|
|
<button class="dropbtn" *ngIf="parent['childs'].length == 0">
|
|
<button class="dropbtn" *ngIf="parent['childs'].length == 0">
|
|
- <a href="{{parent.link}}" style="text-decoration:none">{{parent.name_en}}</a>
|
|
|
|
|
|
+ <a href="{{parent.link}}" style="text-decoration:none">{{parent.name_en}}</a>
|
|
<i class="fa fa-caret-down" *ngIf="parent['childs'].length > 0"></i>
|
|
<i class="fa fa-caret-down" *ngIf="parent['childs'].length > 0"></i>
|
|
</button>
|
|
</button>
|
|
<div class="dropdown-content" *ngIf="parent['childs'].length > 0">
|
|
<div class="dropdown-content" *ngIf="parent['childs'].length > 0">
|
|
@@ -179,6 +179,3 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
</ng-template>
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|