diff --git a/FencerJudgeFront/src/app/app-routing.module.ts b/FencerJudgeFront/src/app/app-routing.module.ts index 5bf8bf7..fcdc89f 100644 --- a/FencerJudgeFront/src/app/app-routing.module.ts +++ b/FencerJudgeFront/src/app/app-routing.module.ts @@ -7,6 +7,7 @@ import { LoginComponent } from './components/essentials/login/login.component'; import { LogoutComponent } from './components/essentials/logout/logout.component'; import { HomeComponent } from './components/home/home.component'; import { MatchesComponent } from './components/matches/matches.component'; +import { MatchesIdComponent } from './components/matches-id/matches-id.component'; const routes: Routes = [ { path: 'login', component: LoginComponent }, @@ -14,6 +15,7 @@ const routes: Routes = [ { path: '', component: HomeComponent }, { path: 'home', component: HomeComponent }, { path: 'matches', component: MatchesComponent }, + { path: 'matches/:id', component: MatchesIdComponent }, ]; @NgModule({ diff --git a/FencerJudgeFront/src/app/app.module.ts b/FencerJudgeFront/src/app/app.module.ts index a3dd923..0c33646 100644 --- a/FencerJudgeFront/src/app/app.module.ts +++ b/FencerJudgeFront/src/app/app.module.ts @@ -10,6 +10,7 @@ import { HomeComponent } from './components/home/home.component'; import { LoginComponent } from './components/essentials/login/login.component'; import { LogoutComponent } from './components/essentials/logout/logout.component'; import { MatchesComponent } from './components/matches/matches.component'; +import { MatchesIdComponent } from './components/matches-id/matches-id.component'; @NgModule({ declarations: [ @@ -20,6 +21,7 @@ import { MatchesComponent } from './components/matches/matches.component'; LoginComponent, LogoutComponent, MatchesComponent, + MatchesIdComponent, ], imports: [BrowserModule, AppRoutingModule, FormsModule], providers: [], diff --git a/FencerJudgeFront/src/app/components/matches-id/matches-id.component.css b/FencerJudgeFront/src/app/components/matches-id/matches-id.component.css new file mode 100644 index 0000000..f517d5c --- /dev/null +++ b/FencerJudgeFront/src/app/components/matches-id/matches-id.component.css @@ -0,0 +1,3 @@ +.card { + border-left-width: 0.5rem !important; +} diff --git a/FencerJudgeFront/src/app/components/matches-id/matches-id.component.html b/FencerJudgeFront/src/app/components/matches-id/matches-id.component.html new file mode 100644 index 0000000..38721f0 --- /dev/null +++ b/FencerJudgeFront/src/app/components/matches-id/matches-id.component.html @@ -0,0 +1,94 @@ +
+ {{ referee.firstName }} {{ referee.name }} +
++ Niveau : {{ getRefereeLevelLabel(referee.level) }} +
+Arbitre non trouvé.
+Match non trouvé.
+