Skip to content
Snippets Groups Projects
Commit 125adc7d authored by Erik Moravec's avatar Erik Moravec
Browse files

feat: UI finetune

parent 03bafab8
No related branches found
No related tags found
No related merge requests found
<p>All Games</p>
<app-games (reloadEvent)="handleRefreshEvent()" [games]=games></app-games>
<p>List All Players</p>
<app-players [players]=players></app-players>
<h2>Games</h2>
<h2 class="fw-bold ms-4 mt-1 fs-2">Games</h2>
<table class="games">
<tr *ngFor="let game of games">
<span class="badge">{{game.id}}</span>
......@@ -12,5 +12,6 @@
</tr>
</table>
<!--
<app-update-game-score-form [model]=games[0]></app-update-game-score-form>
<app-update-game-winner-form [game]=games[0]></app-update-game-winner-form>
<app-update-game-winner-form [game]=games[0]></app-update-game-winner-form> \-->
<h2>Players</h2>
<table #table [dataSource]="players" mat-table>
<h2 class="fw-bold ms-2 mt-1 fs-2">Players</h2>
<table #table [dataSource]="players" mat-table class="ms-4">
<ng-container matColumnDef="name">
<th *matHeaderCellDef mat-header-cell> Name</th>
<td *matCellDef="let player" mat-cell> {{player.name}} </td>
......
.buttons {
margin: 0.5rem;
}
\ No newline at end of file
<p>Team Management Dashboard</p>
<h2 class="ms-2 mt-2 fs-2">Dashboard</h2>
<mat-action-row>
<button (click)="handleHireNewPlayerClick()" color="primary" mat-button>Hire New Player</button>
<button (click)="handleHireVeteranPlayerClick()" color="primary" mat-button>Hire Veteran Player</button>
<button (click)="handleFirePlayerClick()" color="primary" mat-button>Fire Player</button>
<button (click)="handleHireNewPlayerClick()" color="primary" mat-button class="btn btn-success buttons ms-3">Hire New Player</button>
<button (click)="handleHireVeteranPlayerClick()" color="primary" mat-button class="btn btn-success buttons">Hire Veteran Player</button>
<button (click)="handleFirePlayerClick()" color="primary" mat-button class="btn btn-danger buttons">Fire Player</button>
</mat-action-row>
<app-players
(selectRowEvent)="onSelectPlayerRow($event)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment