ui: rework location/labels pages (#475)

* formatting

* slimdown locations page

* update location/labels

* fix dependency issues

* fix type generator

* cleanup unused variables

Former-commit-id: 016780920d
This commit is contained in:
Hayden 2023-07-27 13:21:28 -08:00 committed by GitHub
parent 0eb0b283b2
commit 6fd228f1f4
12 changed files with 137 additions and 267 deletions

View file

@ -25,9 +25,8 @@
<template>
<section>
<BaseSectionHeader class="mb-5 flex justify-between items-center">
<BaseSectionHeader class="mb-2 flex justify-between items-center">
Items
<template #description>
<div v-if="!viewSet" class="dropdown dropdown-hover dropdown-left">
<label tabindex="0" class="btn btn-ghost m-1">
@ -57,6 +56,7 @@
<template v-else>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4">
<ItemCard v-for="item in items" :key="item.id" :item="item" />
<div class="first:block hidden text-lg">No Items to Display</div>
</div>
</template>
</section>