mirror of
https://codeberg.org/beerbrawl/beerbrawl.git
synced 2024-09-23 01:30:52 +02:00
feat(#35): prettier
This commit is contained in:
parent
21393453cd
commit
8ebed0aa1d
|
@ -11,22 +11,10 @@
|
|||
</div>
|
||||
<div class="button-container">
|
||||
<button mat-raised-button color="primary" routerLink="/tournaments">All Tournaments</button>
|
||||
<button
|
||||
mat-raised-button
|
||||
color="primary"
|
||||
[routerLink]="['/tournaments', this.tournamentId(), 'edit']"
|
||||
>
|
||||
<button mat-raised-button color="warn" [routerLink]="['/tournaments', this.tournamentId(), 'edit']">
|
||||
|
||||
Edit
|
||||
</button>
|
||||
<button
|
||||
mat-raised-button
|
||||
color="tertiary"
|
||||
[routerLink]="['/tournaments', this.tournamentId(), 'pictures']"
|
||||
>
|
||||
Pictures
|
||||
</button>
|
||||
<button mat-raised-button color="primary"
|
||||
[routerLink]="['/tournaments', this.tournamentId(), 'edit']">Edit</button>
|
||||
<button mat-raised-button color="tertiary"
|
||||
[routerLink]="['/tournaments', this.tournamentId(), 'pictures']">Pictures</button>
|
||||
</div>
|
||||
</div>
|
||||
</mat-card>
|
||||
|
@ -40,17 +28,17 @@
|
|||
Teams: {{ this.tournamentOverview?.teams }} of
|
||||
{{ this.tournamentOverview?.maxParticipants }}
|
||||
@if (this.tournamentOverview?.teams === this.tournamentOverview?.maxParticipants) {
|
||||
<mat-icon inline="true" class="count-checkmark">check</mat-icon>
|
||||
<mat-icon inline="true" class="count-checkmark">check</mat-icon>
|
||||
}
|
||||
</div>
|
||||
<div>
|
||||
Checked-in: {{ this.tournamentOverview?.checkedInTeams }} of
|
||||
{{ this.tournamentOverview?.teams }}
|
||||
@if (
|
||||
this.tournamentOverview?.checkedInTeams === this.tournamentOverview?.teams &&
|
||||
this.tournamentOverview?.checkedInTeams > 0
|
||||
this.tournamentOverview?.checkedInTeams === this.tournamentOverview?.teams &&
|
||||
this.tournamentOverview?.checkedInTeams > 0
|
||||
) {
|
||||
<mat-icon inline="true" class="count-checkmark">check</mat-icon>
|
||||
<mat-icon inline="true" class="count-checkmark">check</mat-icon>
|
||||
}
|
||||
</div>
|
||||
</mat-card-content>
|
||||
|
@ -67,7 +55,6 @@
|
|||
<div class="bottom-color-border"></div>
|
||||
</mat-card>
|
||||
</div>
|
||||
|
||||
<div class="hover-transform">
|
||||
<mat-card class="card" [routerLink]="'qualification-phase'">
|
||||
<mat-card-title>Qualification-Phase</mat-card-title>
|
||||
|
@ -91,4 +78,4 @@
|
|||
</mat-card>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in a new issue