feat: reorganize imports and enhance schedule index layout with additional instructions
This commit is contained in:
parent
a702b506fd
commit
ef3988f734
@ -1,6 +1,3 @@
|
|||||||
import { Head, router } from '@inertiajs/react';
|
|
||||||
import { Clock, MapPin, Pencil, Plus, Trash2, Video } from 'lucide-react';
|
|
||||||
import { useState } from 'react';
|
|
||||||
import { DeleteConfirmDialog } from '@/components/delete-confirm-dialog';
|
import { DeleteConfirmDialog } from '@/components/delete-confirm-dialog';
|
||||||
import { FormDialog } from '@/components/form-dialog';
|
import { FormDialog } from '@/components/form-dialog';
|
||||||
import InputError from '@/components/input-error';
|
import InputError from '@/components/input-error';
|
||||||
@ -27,6 +24,9 @@ import {
|
|||||||
} from '@/routes/admin/academic-classes/schedules';
|
} from '@/routes/admin/academic-classes/schedules';
|
||||||
import type { Schedule } from '@/types/schedule';
|
import type { Schedule } from '@/types/schedule';
|
||||||
import { DayOfWeekLabels, DaysOfWeek } from '@/types/schedule';
|
import { DayOfWeekLabels, DaysOfWeek } from '@/types/schedule';
|
||||||
|
import { Head, router } from '@inertiajs/react';
|
||||||
|
import { Clock, MapPin, Pencil, Plus, Trash2, Video } from 'lucide-react';
|
||||||
|
import { useState } from 'react';
|
||||||
|
|
||||||
type CourseClassOption = {
|
type CourseClassOption = {
|
||||||
id: number;
|
id: number;
|
||||||
@ -108,6 +108,10 @@ export default function ScheduleIndex({
|
|||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<p className="hidden text-xs text-muted-foreground md:block">
|
||||||
|
Geser ke samping untuk melihat hari lainnya.
|
||||||
|
</p>
|
||||||
|
|
||||||
<CreateForm
|
<CreateForm
|
||||||
open={createOpen}
|
open={createOpen}
|
||||||
onOpenChange={setCreateOpen}
|
onOpenChange={setCreateOpen}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user