Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
probablyjassin committed Oct 10, 2024
2 parents 86e2cc8 + 668daf3 commit 65222d5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pages/stundenplan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@
new Date(Number(Object.keys(groupedByDay)[page - 1])).toLocaleDateString("de-DE", { weekday: "long", year: "numeric", month: "long", day: "numeric" })
}}
</p>
<div class="mb-4">
<UPagination v-model="page" :total="data.length" class="mb-4" />
</div>
<span class="mb-4 flex text-center items-center space-x-4">
<UPagination v-model="page" :total="data.length" />
<UButton
:class="{ 'opacity-0': page == Object.keys(groupedByDay).indexOf(today.toString())+1 }"
class="py-2"
@click="page = Object.keys(groupedByDay).indexOf(today.toString())+1">
Zurück zu Heute
</UButton>
</span>
<UTable :rows="schedule[page - 1]" class="w-full" />
<button @click="logout()" class="mt-5 p-2 bg-primary text-white rounded">Anmeldedaten zurücksetzen</button>
</div>
Expand Down
Binary file modified public/favicon.ico
Binary file not shown.

0 comments on commit 65222d5

Please sign in to comment.