Add color picker to new namespace create
Some checks reported errors
continuous-integration/drone/pr Build was killed
Some checks reported errors
continuous-integration/drone/pr Build was killed
This commit is contained in:
parent
542a29753f
commit
c2114fbf46
|
@ -25,6 +25,12 @@
|
||||||
<p class="help is-danger" v-if="showError && namespace.title === ''">
|
<p class="help is-danger" v-if="showError && namespace.title === ''">
|
||||||
Please specify a title.
|
Please specify a title.
|
||||||
</p>
|
</p>
|
||||||
|
<div class="field">
|
||||||
|
<label class="label">Color</label>
|
||||||
|
<div class="control">
|
||||||
|
<color-picker v-model="namespace.hexColor" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<p
|
<p
|
||||||
class="is-small has-text-centered"
|
class="is-small has-text-centered"
|
||||||
v-tooltip.bottom="
|
v-tooltip.bottom="
|
||||||
|
@ -40,6 +46,7 @@
|
||||||
import NamespaceModel from '../../models/namespace'
|
import NamespaceModel from '../../models/namespace'
|
||||||
import NamespaceService from '../../services/namespace'
|
import NamespaceService from '../../services/namespace'
|
||||||
import Create from '@/components/misc/create'
|
import Create from '@/components/misc/create'
|
||||||
|
import ColorPicker from '../../components/input/colorPicker'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'NewNamespace',
|
name: 'NewNamespace',
|
||||||
|
@ -51,6 +58,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
ColorPicker,
|
||||||
Create,
|
Create,
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
Reference in New Issue
Block a user