guide de contrib

This commit is contained in:
Tykayn 2025-10-05 00:21:11 +02:00 committed by tykayn
parent e7f7e9e19e
commit 464e0e5499
12 changed files with 346 additions and 37 deletions

View file

@ -33,6 +33,7 @@ export class Home implements OnInit, OnDestroy {
selected: any | null = null;
showTable = false;
showFilters = false;
showEditForm = true;
// Nouvelles propriétés pour le rechargement automatique et la sélection de jours
autoReloadEnabled = true;
@ -54,6 +55,14 @@ export class Home implements OnInit, OnDestroy {
this.stopAutoReload();
}
createEvent() {
this.selected = null;
//this.showTable = false;
//this.showFilters = true;
this.showEditForm = true;
}
loadEvents() {
this.isLoading = true;
const today = new Date();
@ -194,6 +203,10 @@ export class Home implements OnInit, OnDestroy {
this.loadEvents();
}
onCanceled() {
this.showEditForm = false;
}
// Menu callbacks
ngAfterViewInit() {
// Wire menu callbacks if needed via querySelector; left simple for now