Skip to content
Snippets Groups Projects
Commit 4b2a6f21 authored by Julian's avatar Julian
Browse files

Make BlockingCard.vue extensible

parent 9e08e16c
No related branches found
No related tags found
1 merge request!17Resolve "Show parallel lessons in timetable management view on drag of lessons"
......@@ -3,17 +3,30 @@ import { defineComponent } from "vue";
export default defineComponent({
name: "BlockingCard",
props: {
color: {
type: String,
required: false,
default: "error",
},
icon: {
type: String,
required: false,
default: "mdi-close",
},
},
});
</script>
<template>
<v-card
height="100%"
class="non-important-flex align-center justify-center"
class="non-important-flex flex-column align-center justify-center"
flat
>
<v-icon color="error" large>mdi-close</v-icon>
<v-overlay absolute color="error" :value="true" opacity="0.12" />
<v-icon :color="color" large v-text="icon"></v-icon>
<slot/>
<v-overlay absolute :color="color" :value="true" opacity="0.12" />
</v-card>
</template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment