mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +01:00
add under construction empty state
This commit is contained in:
parent
376bce3324
commit
8f3f8c1d9a
8 changed files with 29 additions and 6 deletions
1
next-ui/src/components.d.ts
vendored
1
next-ui/src/components.d.ts
vendored
|
|
@ -28,6 +28,7 @@ declare module 'vue' {
|
|||
DialogSeriesPicker: typeof import('./components/dialog/SeriesPicker.vue')['default']
|
||||
DialogSimple: typeof import('./components/dialog/DialogSimple.vue')['default']
|
||||
DialogSimpleInstance: typeof import('./components/dialog/DialogSimpleInstance.vue')['default']
|
||||
EmptyStateConstruction: typeof import('./components/EmptyStateConstruction.vue')['default']
|
||||
EmptyStateNetworkError: typeof import('./components/EmptyStateNetworkError.vue')['default']
|
||||
FormattedMessage: typeof import('./components/FormattedMessage.ts')['default']
|
||||
HelloWorld: typeof import('./components/HelloWorld.vue')['default']
|
||||
|
|
|
|||
22
next-ui/src/components/EmptyStateConstruction.vue
Normal file
22
next-ui/src/components/EmptyStateConstruction.vue
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<template>
|
||||
<v-empty-state
|
||||
icon="i-mdi:construction"
|
||||
color="warning"
|
||||
:title="
|
||||
$formatMessage({
|
||||
description: 'Under construction empty state: title',
|
||||
defaultMessage: 'Under construction',
|
||||
id: 'b4J0RU',
|
||||
})
|
||||
"
|
||||
:text="
|
||||
$formatMessage({
|
||||
description: 'Under construction empty state: text',
|
||||
defaultMessage: 'This page is under construction.',
|
||||
id: 'RR+XGR',
|
||||
})
|
||||
"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<h1>UI</h1>
|
||||
<EmptyStateConstruction />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<h1>Media Analysis</h1>
|
||||
<EmptyStateConstruction />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<h1>Duplicate Files</h1>
|
||||
<EmptyStateConstruction />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<h1>Missing Posters</h1>
|
||||
<EmptyStateConstruction />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<h1>Metrics</h1>
|
||||
<EmptyStateConstruction />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<h1>UI</h1>
|
||||
<EmptyStateConstruction />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
|
|
|||
Loading…
Reference in a new issue