mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-16 22:20:51 +01:00
cleanup
This commit is contained in:
@ -1,4 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<div class="p-1">
|
||||||
<UiCard
|
<UiCard
|
||||||
v-if="group"
|
v-if="group"
|
||||||
:title="mode === 'create' ? t('title.create') : t('title.edit')"
|
:title="mode === 'create' ? t('title.create') : t('title.edit')"
|
||||||
@ -53,6 +54,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</UiCard>
|
</UiCard>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<div class="p-1">
|
||||||
<UiCard
|
<UiCard
|
||||||
body-class="rounded overflow-auto px-0 h-full"
|
body-class="rounded overflow-auto px-0 h-full"
|
||||||
@close="onClose"
|
@close="onClose"
|
||||||
@ -107,6 +108,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</UiCard>
|
</UiCard>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="menuItems?.length">
|
<div v-if="menuItems?.length">
|
||||||
<ul
|
<ul
|
||||||
class="flex flex-col w-full h-full gap-y-2 *:first:rounded-t-md *:last:rounded-b-md"
|
class="flex flex-col w-full h-full gap-y-2 first:rounded-t-md last:rounded-b-md p-1"
|
||||||
ref="listRef"
|
ref="listRef"
|
||||||
>
|
>
|
||||||
<li
|
<li
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
|
||||||
aaaa
|
|
||||||
<div class="h-full text-base-content flex bg-base-200">
|
<div class="h-full text-base-content flex bg-base-200">
|
||||||
<HaexExtensionCard
|
<HaexExtensionCard
|
||||||
v-for="extension in extensionStore.availableExtensions"
|
v-for="extension in extensionStore.availableExtensions"
|
||||||
@ -8,7 +6,6 @@
|
|||||||
:key="extension.id"
|
:key="extension.id"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
{{ group }}
|
|
||||||
<HaexPassGroup
|
<HaexPassGroup
|
||||||
v-model="group"
|
v-model="group"
|
||||||
mode="edit"
|
mode="edit"
|
||||||
|
|||||||
@ -1,33 +1,32 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="relative h-full">
|
<div class="relative h-full">
|
||||||
<div class="h-full">
|
<div class="h-full">
|
||||||
<div class="h-full overflow-auto p-1 flex flex-col">
|
<div class="h-full overflow-auto flex flex-col">
|
||||||
<HaexPassGroupBreadcrumbs
|
<HaexPassGroupBreadcrumbs
|
||||||
:items="breadCrumbs"
|
:items="breadCrumbs"
|
||||||
|
class="px-2"
|
||||||
v-show="breadCrumbs.length"
|
v-show="breadCrumbs.length"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<HaexPassMobileMenu
|
<HaexPassMobileMenu
|
||||||
ref="listRef"
|
|
||||||
:menu-items="groupItems"
|
:menu-items="groupItems"
|
||||||
|
ref="listRef"
|
||||||
v-model:selected-items="selectedItems"
|
v-model:selected-items="selectedItems"
|
||||||
sel
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="fixed bottom-4 flex justify-between transition-all pointer-events-none right-0 sm:items-center items-end"
|
class="fixed bottom-4 flex justify-between transition-all pointer-events-none right-0 sm:items-center items-end px-8"
|
||||||
:class="[isVisible ? 'left-15 ' : 'left-0']"
|
:class="[isVisible ? 'left-15 ' : 'left-0']"
|
||||||
>
|
>
|
||||||
<div class="w-full pl-8"></div>
|
<div class="w-full"></div>
|
||||||
|
|
||||||
<UiButtonAction
|
<UiButtonAction
|
||||||
:menu
|
|
||||||
v-if="!inTrashGroup"
|
v-if="!inTrashGroup"
|
||||||
|
:menu
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="flex flex-col sm:flex-row gap-4 w-full justify-end items-end pr-8"
|
class="flex flex-col sm:flex-row gap-4 w-full justify-end items-end"
|
||||||
>
|
>
|
||||||
<UiButton
|
<UiButton
|
||||||
v-show="selectedItems.size === 1"
|
v-show="selectedItems.size === 1"
|
||||||
|
|||||||
Reference in New Issue
Block a user