mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Add ability to create new database through the UI
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
<template>
|
||||
<div v-if="notifications.length > 0" :class="this.container">
|
||||
<transition-group tag="div" name="fade">
|
||||
<div class="lg:inline-flex" role="alert" v-for="(item, index) in notifications"
|
||||
:key="index"
|
||||
:class="[item.class, {
|
||||
'mb-2': index < notifications.length - 1
|
||||
}]"
|
||||
>
|
||||
<span class="title" v-html="item.title" v-if="item.title.length > 0"></span>
|
||||
<span class="message" v-html="item.message"></span>
|
||||
<div v-for="(item, index) in notifications" :key="index">
|
||||
<message-box
|
||||
:class="[item.class, {'mb-2': index < notifications.length - 1}]"
|
||||
:title="item.title"
|
||||
:message="item.message"
|
||||
/>
|
||||
</div>
|
||||
</transition-group>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import MessageBox from './MessageBox';
|
||||
export default {
|
||||
name: 'flash',
|
||||
components: {MessageBox},
|
||||
props: {
|
||||
container: {
|
||||
type: String,
|
||||
|
||||
Reference in New Issue
Block a user