forked from mirrors/homebox
feat: init tools page (#271)
This commit is contained in:
parent
ab22ea6a25
commit
6ff2d64996
7 changed files with 194 additions and 129 deletions
17
frontend/components/DetailAction.vue
Normal file
17
frontend/components/DetailAction.vue
Normal file
|
@ -0,0 +1,17 @@
|
|||
<template>
|
||||
<div class="grid grid-cols-1 md:grid-cols-4 gap-10 py-6">
|
||||
<div class="col-span-3">
|
||||
<h4 class="mb-1 text-lg font-semibold">
|
||||
<slot name="title"></slot>
|
||||
</h4>
|
||||
<p class="text-sm">
|
||||
<slot></slot>
|
||||
</p>
|
||||
</div>
|
||||
<BaseButton class="btn-primary mt-auto" @click="$emit('action')">
|
||||
<slot name="button">
|
||||
<slot name="title"></slot>
|
||||
</slot>
|
||||
</BaseButton>
|
||||
</div>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue