diff --git a/src/app/pages/page-agenda/page-agenda.component.html b/src/app/pages/page-agenda/page-agenda.component.html index 216730d..aa55f26 100644 --- a/src/app/pages/page-agenda/page-agenda.component.html +++ b/src/app/pages/page-agenda/page-agenda.component.html @@ -41,21 +41,21 @@ class="btn btn-sm btn-primary" style="margin-right: 5px" (click)="navigatePrevious($event)" - >PreviousSemaine précedente TodayAujourd'hui NextSemaine suivante diff --git a/src/app/pages/page-agenda/page-agenda.component.scss b/src/app/pages/page-agenda/page-agenda.component.scss index 4a3ef6b..ca8b529 100644 --- a/src/app/pages/page-agenda/page-agenda.component.scss +++ b/src/app/pages/page-agenda/page-agenda.component.scss @@ -55,6 +55,7 @@ .btn { background-color: rgb(241,120,182); color : white; - border-radius: 12px; + border-radius: 6px; border-color: white; + font-weight: bold; } \ No newline at end of file diff --git a/src/app/pages/page-agenda/page-agenda.component.ts b/src/app/pages/page-agenda/page-agenda.component.ts index b4b7065..88f5143 100644 --- a/src/app/pages/page-agenda/page-agenda.component.ts +++ b/src/app/pages/page-agenda/page-agenda.component.ts @@ -234,16 +234,19 @@ export class PageAgendaComponent implements AfterViewInit { }); } + // bouton pour afficher la semaine precedente navigatePrevious(event: MouseEvent): void { event.preventDefault(); this.config.startDate = (this.config.startDate as DayPilot.Date).addDays(-7); } + // bouton pour afficher la semaine suivante navigateNext(event: MouseEvent): void { event.preventDefault(); this.config.startDate = (this.config.startDate as DayPilot.Date).addDays(7); } + // bouton pour afficher la semaine en cours navigateToday(event: MouseEvent): void { event.preventDefault(); this.config.startDate = DayPilot.Date.today();