Add color picker to new namespace create
continuous-integration/drone/pr Build was killed Details

This commit is contained in:
kolaente 2021-01-21 21:58:03 +01:00
parent 542a29753f
commit c2114fbf46
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,12 @@
<p class="help is-danger" v-if="showError && namespace.title === ''">
Please specify a title.
</p>
<div class="field">
<label class="label">Color</label>
<div class="control">
<color-picker v-model="namespace.hexColor" />
</div>
</div>
<p
class="is-small has-text-centered"
v-tooltip.bottom="
@ -40,6 +46,7 @@
import NamespaceModel from '../../models/namespace'
import NamespaceService from '../../services/namespace'
import Create from '@/components/misc/create'
import ColorPicker from '../../components/input/colorPicker'
export default {
name: 'NewNamespace',
@ -51,6 +58,7 @@ export default {
}
},
components: {
ColorPicker,
Create,
},
created() {