24 lines
784 B
HTML
24 lines
784 B
HTML
<div>
|
|
<h1>Naptár</h1>
|
|
<div>
|
|
<input type="text" name="startHour" id="starthour" #startHour>
|
|
<a class="btn" (click)="addEvent($event)">add</a>
|
|
</div>
|
|
<full-calendar #calendar [options]="calendarOptions"></full-calendar>
|
|
</div>
|
|
{{"workflow:"+workflow()}}
|
|
<rs-daisy-modal [isOpen]="workflow() == 'create'" (closeClick)="closeDialog()">
|
|
@if (workflow() == 'create') {
|
|
<app-create-event-form (ready)="closeDialog()" [date]="selectedDate()"
|
|
[id]="undefined"></app-create-event-form>
|
|
}
|
|
</rs-daisy-modal>
|
|
|
|
|
|
|
|
@if (workflow() == 'event-dashboard' && selectedEvent()) {
|
|
<rs-daisy-modal [isOpen]="true" (closeClick)="closeDialog()">
|
|
<app-single-event-dashboard [event]="selectedEvent()"></app-single-event-dashboard>
|
|
</rs-daisy-modal>
|
|
}
|