1
0

Move all create views to better looking popups (#383)

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/383
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
This commit is contained in:
konrad
2021-01-21 22:33:16 +00:00
parent 0d34d01689
commit ddadd89c64
16 changed files with 278 additions and 176 deletions

View File

@ -1,12 +1,12 @@
<template>
<div class="card">
<div class="card" :class="{'has-no-shadow': !shadow}">
<header class="card-header" v-if="title !== ''">
<p class="card-header-title">
{{ title }}
</p>
<a @click="$emit('close')" class="card-header-icon" v-if="hasClose">
<span class="icon">
<icon icon="angle-right"/>
<icon :icon="closeIcon"/>
</span>
</a>
</header>
@ -34,6 +34,14 @@ export default {
type: Boolean,
default: false,
},
closeIcon: {
type: String,
default: 'angle-right',
},
shadow: {
type: Boolean,
default: true,
},
},
}
</script>