added new color picker

Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
This commit is contained in:
Jakob Röhrl
2020-01-29 10:59:12 +01:00
committed by Julius Härtl
parent 1ef22524ec
commit 167448dde1
4 changed files with 41 additions and 191 deletions

View File

@@ -62,7 +62,7 @@
<!-- edit entry -->
<div v-if="editing" class="app-navigation-entry-edit">
<ColorPicker class="app-navigation-entry-bullet-wrapper" :value="`#${board.color}`" @input="updateColor">
<div :style="{ backgroundColor: getColor }" class="color0 icon-colorpicker app-navigation-entry-bullet"></div>
<div :style="{ backgroundColor: getColor }" class="color0 icon-colorpicker app-navigation-entry-bullet" />
</ColorPicker>
<form @submit.prevent.stop="applyEdit">
<input v-model="editTitle" type="text" required>
@@ -79,7 +79,6 @@
<script>
import { PopoverMenu } from '@nextcloud/vue/dist/Components/PopoverMenu'
import ClickOutside from 'vue-click-outside'
// import ColorPicker from '../ColorPicker'
import { ColorPicker } from '@nextcloud/vue/dist/Components/ColorPicker'
export default {