This repository has been archived by the owner on Feb 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from LT-Students/bugfix/fetch-portal-name
Bugfix/fetch portal name
- Loading branch information
Showing
14 changed files
with
134 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 28 additions & 32 deletions
60
src/app/shared/component/content-container/content-container.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,52 @@ | ||
<mat-sidenav-container class='sidenav' [hasBackdrop]="false" (click)='onClick($event)'> | ||
<mat-sidenav #menu [autoFocus]='false' [opened]='navOpened' class='sidenav__nav'> | ||
<div class='sidenav__header'> | ||
<h1 doText class='sidenav__title'>Цифровой офис</h1> | ||
<button mat-icon-button doText color='gray1' class='sidenav__close-button' (click)="closeNav()"> | ||
<mat-icon> | ||
close | ||
</mat-icon> | ||
<mat-sidenav-container class="sidenav" [hasBackdrop]="false" (click)="onClick($event)"> | ||
<mat-sidenav #menu [autoFocus]="false" [opened]="navOpened" class="sidenav__nav"> | ||
<div class="sidenav__header"> | ||
<h1 doText class="sidenav__title">{{ portalName }}</h1> | ||
<button mat-icon-button doText color="gray1" class="sidenav__close-button" (click)="closeNav()"> | ||
<mat-icon> close </mat-icon> | ||
</button> | ||
</div> | ||
<mat-action-list class='sidenav__group'> | ||
<a (click)="closeNav()" doText color='gray1' mat-list-item routerLink='/user/projects-table'> | ||
<span class='sidenav__icon'> | ||
<mat-action-list class="sidenav__group"> | ||
<a (click)="closeNav()" doText color="gray1" mat-list-item routerLink="/user/projects-table"> | ||
<span class="sidenav__icon"> | ||
<mat-icon>desktop_mac</mat-icon> | ||
</span> | ||
<span> | ||
Проекты | ||
</span> | ||
<span> Проекты </span> | ||
</a> | ||
<a (click)="closeNav()" doText color='gray1' mat-list-item routerLink='/admin/manage-users'> | ||
<span class='sidenav__icon'> | ||
<a (click)="closeNav()" doText color="gray1" mat-list-item routerLink="/admin/manage-users"> | ||
<span class="sidenav__icon"> | ||
<mat-icon>group</mat-icon> | ||
</span> | ||
<span> | ||
Сотрудники | ||
</span> | ||
<span> Сотрудники </span> | ||
</a> | ||
<a (click)="closeNav()" doText color='gray1' mat-list-item routerLink='/departments'> | ||
<span class='sidenav__icon'> | ||
<a (click)="closeNav()" doText color="gray1" mat-list-item routerLink="/departments"> | ||
<span class="sidenav__icon"> | ||
<mat-icon>groups</mat-icon> | ||
</span> | ||
<span> | ||
Департаменты | ||
</span> | ||
<span> Департаменты </span> | ||
</a> | ||
<a (click)="closeNav()" doText color='gray1' mat-list-item> | ||
<span class='sidenav__icon'> | ||
<a (click)="closeNav()" doText color="gray1" mat-list-item> | ||
<span class="sidenav__icon"> | ||
<mat-icon>business</mat-icon> | ||
</span> | ||
<span> | ||
Компании | ||
</span> | ||
<span> Компании </span> | ||
</a> | ||
</mat-action-list> | ||
</mat-sidenav> | ||
|
||
<mat-sidenav-content> | ||
<do-header (menuClick)="onMenuClick($event)" [userName]="user.user.firstName" [userId]="user.user.id" | ||
[avatar]="user.user.avatar" class="header__container"></do-header> | ||
<do-header | ||
(menuClick)="onMenuClick($event)" | ||
[userName]="user.user.firstName" | ||
[userId]="user.user.id" | ||
[avatar]="user.user.avatar" | ||
[portalName]="portalName" | ||
class="header__container" | ||
></do-header> | ||
<div class="content-container"> | ||
<div class="wrapper"> | ||
<router-outlet></router-outlet> | ||
</div> | ||
</div> | ||
</mat-sidenav-content> | ||
</mat-sidenav-container> | ||
</mat-sidenav-container> |
Oops, something went wrong.