-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
technbuzz
committed
Sep 16, 2022
1 parent
13349e0
commit c985483
Showing
47 changed files
with
1,429 additions
and
1,584 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
85 changes: 43 additions & 42 deletions
85
apps/admin/src/app/home/dashboard/dashboard.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,44 +1,45 @@ | ||
<mat-drawer-container class="container" autosize> | ||
<mat-drawer #drawer class="sidenav"> | ||
<button color="primary" mat-button routerLink="/home" >Home</button> | ||
<button color="primary" mat-button routerLink="/home/recurring" >Recurring</button> | ||
<button color="primary" mat-button routerLink="/home/events" >Events</button> | ||
<button color="primary" mat-button routerLink="/home/reports" >Reports</button> | ||
<button color="primary" mat-button (click)="logout()">Logout</button> | ||
|
||
</mat-drawer> | ||
|
||
<div class="sidenav-content"> | ||
|
||
<mat-toolbar color="primary"> | ||
|
||
<mat-toolbar-row> | ||
<button mat-icon-button (click)="drawer.toggle()"> | ||
<mat-icon>menu</mat-icon> | ||
</button> | ||
|
||
<span *ngIf="title$ | async as title">{{ title }}</span> | ||
|
||
<span class="spacer"></span> | ||
|
||
</mat-toolbar-row> | ||
|
||
</mat-toolbar> | ||
|
||
<div *ngIf="querying$ | async as loading"> | ||
<mat-progress-bar mode="indeterminate"></mat-progress-bar> | ||
</div> | ||
|
||
|
||
<ul class="breadcrumbs"> | ||
<li class="breadcrumb" *ngFor="let crumb of crumbs"> | ||
<a [routerLink]="crumb.path">{{ crumb.label }}</a> | ||
</li> | ||
</ul> | ||
|
||
|
||
<router-outlet></router-outlet> | ||
|
||
<div class="admin-container"> | ||
<mat-toolbar color="primary"> | ||
<mat-toolbar-row> | ||
<!-- <button mat-icon-button (click)="toggleNav()"> --> | ||
<button mat-icon-button (click)="snav.toggle()"> | ||
<mat-icon>menu</mat-icon> | ||
</button> | ||
|
||
<span *ngIf="title$ | async as title">{{ title }}</span> | ||
|
||
<span class="spacer"></span> | ||
</mat-toolbar-row> | ||
</mat-toolbar> | ||
<div *ngIf="querying$ | async as loading"> | ||
<mat-progress-bar mode="indeterminate"></mat-progress-bar> | ||
</div> | ||
|
||
</mat-drawer-container> | ||
<mat-sidenav-container | ||
class="example-sidenav-container" | ||
*ngIf="media$ | async as media" | ||
> | ||
<mat-sidenav #snav opened [mode]="media.matches ? 'over' : 'side'"> | ||
<mat-nav-list> | ||
<a color="primary" routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}" mat-list-item routerLink="/home">Home</a> | ||
<a color="primary" routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}" mat-list-item routerLink="/home/recurring"> | ||
Recurring | ||
</a> | ||
<a color="primary" routerLinkActive="active" mat-list-item routerLink="/home/events">Events</a> | ||
<a color="primary" routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}" mat-list-item routerLink="/home/reports"> | ||
Reports | ||
</a> | ||
<a color="primary" mat-list-item (click)="logout()">Logout</a> | ||
</mat-nav-list> | ||
</mat-sidenav> | ||
|
||
<mat-sidenav-content> | ||
<ul class="breadcrumbs"> | ||
<li class="breadcrumb" *ngFor="let crumb of crumbs"> | ||
<a [routerLink]="crumb.path">{{ crumb.label }}</a> | ||
</li> | ||
</ul> | ||
<router-outlet></router-outlet> | ||
</mat-sidenav-content> | ||
</mat-sidenav-container> | ||
</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
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
8 changes: 8 additions & 0 deletions
8
apps/admin/src/app/recurring/task-list/task-list.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
<ol> | ||
<li *ngFor="let task of tasks$ | async"> | ||
<small>Note:{{ task.note }}</small> Active: {{ task.active}} | ||
<small>{{ task.date | date }}</small> | ||
<button mat-raised-button (click)="delete(task)">Delete</button> | ||
</li> | ||
</ol> |
Oops, something went wrong.