24 lines
1.4 KiB
PHP
24 lines
1.4 KiB
PHP
<x-layout.app>
|
|
<x-layout.page-header>Year End Reset</x-layout.page-header>
|
|
<x-card.card class="mt-5 max-w-xl m-auto">
|
|
<x-card.heading>Reset Options</x-card.heading>
|
|
<x-form.form action="{{ route('admin.year_end_procedures') }}">
|
|
<x-form.checkbox name="options[]" label="Delete Rooms" value="deleteRooms" />
|
|
<x-form.checkbox name="options[]" label="Remove Auditions From Rooms" value="removeAuditionsFromRoom" />
|
|
<x-form.checkbox name="options[]" label="Unassign Judges" value="unassignJudges" />
|
|
<x-form.footer class="mb-3" x-data="{ 'showModal': false }" @keydown.escape="showModal = false">
|
|
<x-form.button type="button" @click="showModal = true">
|
|
Complete Year End Reset
|
|
</x-form.button>
|
|
<x-modal-body>
|
|
<x-slot:title>Confirm Year End Reset</x-slot:title>
|
|
Confirm you would like to perform a year end reset. This will delete all seats, scores, entries, and log entries,
|
|
as well as any optional data you chose. It will also increment the grade of all students in the database.
|
|
This action will result in data loss and cannot be undone.
|
|
<x-form.button class="mt-3">Confirm Reset</x-form.button>
|
|
</x-modal-body>
|
|
</x-form.footer>
|
|
</x-form.form>
|
|
</x-card.card>
|
|
</x-layout.app>
|