Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 14 additions & 69 deletions app/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,80 +16,25 @@
<UApp class="bg-white text-slate-900 min-h-screen">
<UHeader class="bg-slate-900 text-white border-b border-slate-200 shadow-sm">
<template #left>
<NuxtLink
class="flex items-center"
to="/"
>
<img
src="/image/logo it.png"
class="h-11 w-auto mx-5"
alt="RMUTI logo"
>
<NuxtLink class="flex items-center" to="/">

Check warning on line 19 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

'to' should be on a new line
<img src="/image/logo it.png" class="h-11 w-auto mx-5" alt="RMUTI logo">

Check warning on line 20 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

'alt' should be on a new line

Check warning on line 20 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

'class' should be on a new line
<span class="text-2xl">ระบบจัดวันสอนชดเชยกึ่งอัตโนมัติ</span>
</NuxtLink>
</template>

<template #right>
<UButton
class="text-white"
label="คู่มือ"
size="xl"
icon="i-heroicons-information-circle"
color="primary"
variant="ghost"
:ui="{ leadingIcon: 'text-primary' }"
to="/guide"
/>
<UButton
class="text-white"
label="ปฏิทิน"
size="xl"
icon="i-heroicons-calendar"
color="primary"
variant="ghost"
:ui="{ leadingIcon: 'text-primary' }"
to="/"
/>
<UButton
class="text-white"
label="เทอม"
size="xl"
icon="i-lucide-layers"
color="primary"
variant="ghost"
:ui="{ leadingIcon: 'text-primary' }"
to="/terms"
/>
<UButton
class="text-white"
to="/sections"
size="xl"
variant="ghost"
color="primary"
label="กลุ่มนักศึกษา"
:ui="{ leadingIcon: 'text-primary' }"
icon="i-heroicons-users"
/>
<UButton
class="text-white"
to="/rooms"
size="xl"
variant="ghost"
color="primary"
label="ห้องเรียน"
:ui="{ leadingIcon: 'text-primary' }"
icon="i-heroicons-building-office-2"
/>
<UButton
class="text-white"
label="อาจารย์"
size="xl"
icon="i-lucide-users"
color="primary"
variant="ghost"
:ui="{ leadingIcon: 'text-primary' }"
to="/teachers"
/>
<UButton class="text-white" label="คู่มือ" size="xl" icon="i-heroicons-information-circle" color="primary"

Check warning on line 26 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

'color' should be on a new line

Check warning on line 26 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

'icon' should be on a new line

Check warning on line 26 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

'size' should be on a new line

Check warning on line 26 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

'label' should be on a new line

Check warning on line 26 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

Expected a linebreak before this attribute
variant="ghost" :ui="{ leadingIcon: 'text-primary' }" to="/guide" />

Check warning on line 27 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

'to' should be on a new line

Check warning on line 27 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

':ui' should be on a new line

Check failure on line 27 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

Expected indentation of 17 spaces but found 10 spaces
<UButton class="text-white" label="ปฏิทิน" size="xl" icon="i-heroicons-calendar" color="primary" variant="ghost"
:ui="{ leadingIcon: 'text-primary' }" to="/" />

Check failure on line 29 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

Expected indentation of 17 spaces but found 10 spaces
<UButton class="text-white" label="ปีการศึกษา" size="xl" icon="i-lucide-layers" color="primary" variant="ghost"
:ui="{ leadingIcon: 'text-primary' }" to="/terms" />

Check failure on line 31 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

Expected indentation of 17 spaces but found 10 spaces
<UButton class="text-white" to="/sections" size="xl" variant="ghost" color="primary" label="ตารางเรียน"
:ui="{ leadingIcon: 'text-primary' }" icon="i-lucide-table" />

Check failure on line 33 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

Expected indentation of 17 spaces but found 10 spaces
<UButton class="text-white" to="/rooms" size="xl" variant="ghost" color="primary" label="ตารางห้องเรียน"
:ui="{ leadingIcon: 'text-primary' }" icon="i-heroicons-building-office-2" />

Check failure on line 35 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

Expected indentation of 17 spaces but found 10 spaces
<UButton class="text-white" label="ตารางสอน" size="xl" icon="i-heroicons-table-cells" color="primary"
variant="ghost" :ui="{ leadingIcon: 'text-primary' }" to="/teachers" />

Check failure on line 37 in app/app.vue

View workflow job for this annotation

GitHub Actions / ci (ubuntu-latest, 22)

Expected indentation of 17 spaces but found 10 spaces
<UColorModeButton />
</template>
</UHeader>
Expand Down
Binary file modified server/data/data.db
Binary file not shown.
Loading