This commit is contained in:
lesion 2019-03-07 15:30:10 +01:00
parent 5883589e19
commit 817359043d
2 changed files with 17 additions and 2 deletions

View file

@ -56,7 +56,7 @@
span {{$t('Tags')}}
p Select a tag to change it's color
el-tag(v-if='tag.tag' :color='tag.color || "grey"' size='mini') {{tag.tag}}
el-form.mb-2(:inline='true' label-width='120px')
el-form(:inline='true' label-width='120px')
el-form-item(:label="$t('Color')")
el-color-picker(v-model='tag.color' @change='updateColor')
el-table(:data='paginatedTags' striped small hover

View file

@ -3,7 +3,22 @@ import VueI18n from 'vue-i18n'
import BootstrapVue from 'bootstrap-vue'
import VCalendar from 'v-calendar'
import 'vue-awesome/icons'
// import 'vue-awesome/icons'
import 'vue-awesome/icons/lock'
import 'vue-awesome/icons/plus'
import 'vue-awesome/icons/cog'
import 'vue-awesome/icons/tools'
import 'vue-awesome/icons/file-export'
import 'vue-awesome/icons/sign-out-alt'
import 'vue-awesome/icons/clock'
import 'vue-awesome/icons/map-marker-alt'
import 'vue-awesome/icons/file-alt'
import 'vue-awesome/icons/image'
import 'vue-awesome/icons/tag'
import 'vue-awesome/icons/users'
import 'vue-awesome/icons/calendar'
import 'vue-awesome/icons/edit'
import Icon from 'vue-awesome/components/Icon'
import VueClipboard from 'vue-clipboard2'