blub
This commit is contained in:
@@ -84,10 +84,11 @@
|
||||
},
|
||||
|
||||
|
||||
created()
|
||||
mounted()
|
||||
{
|
||||
this.id = 'datepicker-' + Strings.guid();
|
||||
this.updateOptions();
|
||||
this.updateOutput();
|
||||
},
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="ui-iconpicker" :class="{'is-disabled': disabled }">
|
||||
<div v-if="output" class="ui-iconpicker" :class="{'is-disabled': disabled }">
|
||||
<input ref="input" type="hidden" :value="value" />
|
||||
<ui-select-button :icon="previewIcon" label="@ui.icon" :description="buttonDescription" @click="pick" :disabled="disabled" />
|
||||
</div>
|
||||
@@ -29,6 +29,10 @@
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
output: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
options: {
|
||||
type: Object,
|
||||
default: () =>
|
||||
|
||||
@@ -30,6 +30,11 @@
|
||||
</div>
|
||||
</transition>
|
||||
</template>
|
||||
<!-- // TODO this is only for development -->
|
||||
<button type="button" class="app-nav-item" @click="$refs.iconpicker.pick()">
|
||||
<i class="app-nav-item-icon fth-droplet"></i> Icons
|
||||
</button>
|
||||
<icon-picker ref="iconpicker" :output="false" />
|
||||
</nav>
|
||||
|
||||
<footer class="app-nav-account" v-if="user">
|
||||
@@ -56,6 +61,7 @@
|
||||
import { map as _map, find as _find } from 'underscore';
|
||||
import AuthApi from 'zero/services/auth.js'
|
||||
import MediaApi from 'zero/resources/media.js'
|
||||
import IconPicker from 'zero/components/pickers/iconPicker/iconpicker';
|
||||
|
||||
export default {
|
||||
name: 'app-navigation',
|
||||
@@ -69,6 +75,9 @@
|
||||
}),
|
||||
|
||||
|
||||
components: { IconPicker },
|
||||
|
||||
|
||||
computed: {
|
||||
currentApplication()
|
||||
{
|
||||
@@ -161,7 +170,6 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
a.app-nav-item
|
||||
a.app-nav-item, button.app-nav-item
|
||||
{
|
||||
display: grid;
|
||||
grid-template-columns: 30px 1fr auto;
|
||||
|
||||
Reference in New Issue
Block a user