Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 2.4.2 #448

Merged
merged 1 commit into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/user/user.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,5 @@
}

.navlist {
height: -webkit-fill-available !important;
min-height: 100%;
}
194 changes: 94 additions & 100 deletions src/app/user/user.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,34 +70,32 @@ <h2 *ngIf="user && user.role === 'team'" matSubheader style="color: grey;">Staff
<span class="list-item">Validate Card</span>
</div>
</a>
<mat-accordion *ngIf="user && user.role === 'team'">
<mat-expansion-panel style="background-color: transparent; box-shadow: none;">
<mat-expansion-panel-header class="specific-class">
<a mat-list-item>
<div class="navigation-link">
<mat-icon>cake</mat-icon>
<span class="list-item">Pick Winner</span>
</div>
</a>
</mat-expansion-panel-header>
<mat-nav-list>
<a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/prizes"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>cake</mat-icon>
<span class="list-item">Prizes</span>
</div>
</a>
<a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/pick-winner"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>cake</mat-icon>
<span class="list-item">Pick Winner</span>
</div>
</a>
</mat-nav-list>
</mat-expansion-panel>
</mat-accordion>
<mat-expansion-panel *ngIf="user && user.role === 'team'" style="background-color: transparent; box-shadow: none;">
<mat-expansion-panel-header class="specific-class">
<a mat-list-item>
<div class="navigation-link">
<mat-icon>cake</mat-icon>
<span class="list-item">Pick Winner</span>
</div>
</a>
</mat-expansion-panel-header>
<mat-nav-list>
<a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/prizes"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>cake</mat-icon>
<span class="list-item">Prizes</span>
</div>
</a>
<a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/pick-winner"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>cake</mat-icon>
<span class="list-item">Pick Winner</span>
</div>
</a>
</mat-nav-list>
</mat-expansion-panel>

<h2 *ngIf="user && user.role === 'team'" matSubheader style="color: grey;">Company Options</h2>
<a
Expand Down Expand Up @@ -133,42 +131,40 @@ <h2 *ngIf="user && user.role === 'team'" matSubheader style="color: grey;">Compa
<span class="list-item">Download CVs</span>
</div>
</a>

<mat-accordion *ngIf="user && user.role === 'team'">
<mat-expansion-panel style="background-color: transparent; box-shadow: none;">
<mat-expansion-panel-header class="specific-class">
<a mat-list-item class="navigation-link">
<div class="navigation-link">
<mat-icon>get_app</mat-icon>
<span class="list-item">CV Downloads </span>
</div>
</a>
</mat-expansion-panel-header>
<mat-nav-list>
<a *ngIf="user && user.role !== 'user'" mat-list-item routerLink="/user/downloads/download"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>get_app</mat-icon>
<span class="list-item">Download CVs</span>
</div>
</a>
<a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/downloads/manage"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>get_app</mat-icon>
<span class="list-item">Create Endpoints</span>
</div>
</a>
<a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/downloads/status"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>get_app</mat-icon>
<span class="list-item">Endpoints Status</span>
</div>
</a>
</mat-nav-list>
</mat-expansion-panel>
</mat-accordion>

<mat-expansion-panel *ngIf="user && user.role === 'team'" style="background-color: transparent; box-shadow: none;">
<mat-expansion-panel-header class="specific-class">
<a mat-list-item class="navigation-link">
<div class="navigation-link">
<mat-icon>get_app</mat-icon>
<span class="list-item">CV Downloads </span>
</div>
</a>
</mat-expansion-panel-header>
<mat-nav-list>
<a *ngIf="user && user.role !== 'user'" mat-list-item routerLink="/user/downloads/download"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>get_app</mat-icon>
<span class="list-item">Download CVs</span>
</div>
</a>
<a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/downloads/manage"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>get_app</mat-icon>
<span class="list-item">Create Endpoints</span>
</div>
</a>
<a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/downloads/status"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>get_app</mat-icon>
<span class="list-item">Endpoints Status</span>
</div>
</a>
</mat-nav-list>
</mat-expansion-panel>

<h2 *ngIf="user && user.role === 'team'" matSubheader style="color: grey;">Atendee Options</h2>

Expand Down Expand Up @@ -206,42 +202,40 @@ <h2 *ngIf="user && user.role === 'team'" matSubheader style="color: grey;">Atend
</div>
</a>

<mat-accordion *ngIf="user && user.role === 'team'">
<mat-expansion-panel style="background-color: transparent; box-shadow: none;">
<mat-expansion-panel-header class="specific-class">
<a mat-list-item class="navigation-link">
<div class="navigation-link">
<mat-icon> business</mat-icon>
<span class="list-item">Workshops</span>
</div>
</a>
</mat-expansion-panel-header>
<mat-nav-list>
<a *ngIf="user && user.role !== 'company'" mat-list-item routerLink="/user/workshops"
routerLinkActive="navigation-link active" [routerLinkActiveOptions]="{ exact: true }"
(click)="sidenav.toggle()" class="navigation-link">
<div class="navigation-link">
<mat-icon> business</mat-icon>
<span class="list-item">Workshops</span>
</div>
</a>
<a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/workshops/workshops-status"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>info</mat-icon>
<span class="list-item">Workshop Status</span>
</div>
</a>
<a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/validate-workshop"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>event</mat-icon>
<span class="list-item">Validate Workshop</span>
</div>
</a>
</mat-nav-list>
</mat-expansion-panel>
</mat-accordion>
<mat-expansion-panel *ngIf="user && user.role === 'team'" style="background-color: transparent; box-shadow: none;">
<mat-expansion-panel-header class="specific-class">
<a mat-list-item class="navigation-link">
<div class="navigation-link">
<mat-icon> business</mat-icon>
<span class="list-item">Workshops</span>
</div>
</a>
</mat-expansion-panel-header>
<mat-nav-list>
<a *ngIf="user && user.role !== 'company'" mat-list-item routerLink="/user/workshops"
routerLinkActive="navigation-link active" [routerLinkActiveOptions]="{ exact: true }"
(click)="sidenav.toggle()" class="navigation-link">
<div class="navigation-link">
<mat-icon> business</mat-icon>
<span class="list-item">Workshops</span>
</div>
</a>
<a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/workshops/workshops-status"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>info</mat-icon>
<span class="list-item">Workshop Status</span>
</div>
</a>
<a *ngIf="user && user.role === 'team'" mat-list-item routerLink="/user/validate-workshop"
routerLinkActive="navigation-link active" (click)="sidenav.toggle()">
<div class="navigation-link">
<mat-icon>event</mat-icon>
<span class="list-item">Validate Workshop</span>
</div>
</a>
</mat-nav-list>
</mat-expansion-panel>



Expand Down
Loading