-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uninstall puzzle shell and implement banner on our own
- Loading branch information
1 parent
42c3fb1
commit 989d51f
Showing
4 changed files
with
41 additions
and
38 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
72 changes: 38 additions & 34 deletions
72
frontend/src/app/application-banner/application-banner.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,38 +1,42 @@ | ||
<pzsh-banner id="okrBanner" #okrBanner> | ||
<img alt="okr-tangram" height="140" ngSrc="assets/images/triangles-okr-header.svg" slot="tangram" width="274" /> | ||
<div class="h-100 m-0 d-flex" slot="content"> | ||
<section class="d-none d-md-flex"> | ||
<div class="header-content h-100 m-0 pt-3 pb-3 d-flex gap-2 flex-column container-fluid"> | ||
<div class="d-flex align-items-end gap-2"> | ||
<span class="d-flex flex-column"> | ||
<p class="mb-2">Quartal</p> | ||
<app-quarter-filter></app-quarter-filter> | ||
</span> | ||
<app-objective-filter></app-objective-filter> | ||
<div id="okrBanner" #okrBanner> | ||
<div class="d-flex flex-row"> | ||
<div class="h-100 m-0 d-flex w-50" slot="content"> | ||
<section class="d-none d-md-flex"> | ||
<div class="header-content h-100 m-0 pt-3 pb-3 d-flex gap-2 flex-column container-fluid"> | ||
<div class="d-flex align-items-end gap-2"> | ||
<span class="d-flex flex-column"> | ||
<p class="mb-2">Quartal</p> | ||
<app-quarter-filter></app-quarter-filter> | ||
</span> | ||
<app-objective-filter></app-objective-filter> | ||
</div> | ||
<app-team-filter></app-team-filter> | ||
</div> | ||
<app-team-filter></app-team-filter> | ||
</div> | ||
</section> | ||
</section> | ||
|
||
<section class="m-0 d-sm-flex d-md-none w-100"> | ||
<mat-accordion [displayMode]="'flat'" class="w-100"> | ||
<mat-expansion-panel (closed)="panelOpenState = false" (opened)="panelOpenState = true" id="header-accordion"> | ||
<mat-expansion-panel-header> | ||
<mat-panel-title> | ||
<span *ngIf="!panelOpenState; else openedPanel">{{ | ||
(quarterLabel$ | async) || quarterLabel$.getValue() | ||
}}</span> | ||
<ng-template #openedPanel> Filter </ng-template> | ||
</mat-panel-title> | ||
</mat-expansion-panel-header> | ||
<section class="m-0 d-sm-flex d-md-none w-100"> | ||
<mat-accordion [displayMode]="'flat'" class="w-100"> | ||
<mat-expansion-panel (closed)="panelOpenState = false" (opened)="panelOpenState = true" id="header-accordion"> | ||
<mat-expansion-panel-header> | ||
<mat-panel-title> | ||
<span *ngIf="!panelOpenState; else openedPanel">{{ | ||
(quarterLabel$ | async) || quarterLabel$.getValue() | ||
}}</span> | ||
<ng-template #openedPanel> Filter </ng-template> | ||
</mat-panel-title> | ||
</mat-expansion-panel-header> | ||
|
||
<div class="d-flex gap-2 flex-column"> | ||
<app-quarter-filter (quarterLabel$)="quarterLabel$.next($event)"></app-quarter-filter> | ||
<app-objective-filter></app-objective-filter> | ||
<app-team-filter></app-team-filter> | ||
</div> | ||
</mat-expansion-panel> | ||
</mat-accordion> | ||
</section> | ||
<div class="d-flex gap-2 flex-column"> | ||
<app-quarter-filter (quarterLabel$)="quarterLabel$.next($event)"></app-quarter-filter> | ||
<app-objective-filter></app-objective-filter> | ||
<app-team-filter></app-team-filter> | ||
</div> | ||
</mat-expansion-panel> | ||
</mat-accordion> | ||
</section> | ||
</div> | ||
<div class="w-50 d-flex justify-content-end"> | ||
<img alt="okr-tangram" height="140" ngSrc="assets/images/triangles-okr-header.svg" slot="tangram" width="274" /> | ||
</div> | ||
</div> | ||
</pzsh-banner> | ||
</div> |
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
height: min-content; | ||
z-index: 100; | ||
transition: 0.5s; | ||
background-color: #dcedf9; | ||
} | ||
|
||
.header-content { | ||
|
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