Update post-form.vue
This commit is contained in:
parent
399903a462
commit
e65275da95
|
@ -33,8 +33,8 @@
|
||||||
<x-uploader ref="uploader" @uploaded="attachMedia" @change="onChangeUploadings"/>
|
<x-uploader ref="uploader" @uploaded="attachMedia" @change="onChangeUploadings"/>
|
||||||
<footer>
|
<footer>
|
||||||
<button class="_button" @click="chooseFileFrom"><fa :icon="faPhotoVideo"/></button>
|
<button class="_button" @click="chooseFileFrom"><fa :icon="faPhotoVideo"/></button>
|
||||||
<button class="_button" @click="poll = !poll"><fa :icon="faChartPie"/></button>
|
<button class="_button" @click="poll = !poll" :class="{ active: poll }"><fa :icon="faChartPie"/></button>
|
||||||
<button class="_button" @click="useCw = !useCw"><fa :icon="faEyeSlash"/></button>
|
<button class="_button" @click="useCw = !useCw" :class="{ active: useCw }"><fa :icon="faEyeSlash"/></button>
|
||||||
<button class="_button" @click="insertMention"><fa :icon="faAt"/></button>
|
<button class="_button" @click="insertMention"><fa :icon="faAt"/></button>
|
||||||
<button class="_button" @click="insertEmoji"><fa :icon="faLaughSquint"/></button>
|
<button class="_button" @click="insertEmoji"><fa :icon="faLaughSquint"/></button>
|
||||||
<button class="_button" @click="setVisibility" ref="visibilityButton">
|
<button class="_button" @click="setVisibility" ref="visibilityButton">
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
<span v-if="visibility === 'followers'"><fa :icon="faUnlock"/></span>
|
<span v-if="visibility === 'followers'"><fa :icon="faUnlock"/></span>
|
||||||
<span v-if="visibility === 'specified'"><fa :icon="faEnvelope"/></span>
|
<span v-if="visibility === 'specified'"><fa :icon="faEnvelope"/></span>
|
||||||
</button>
|
</button>
|
||||||
<button class="_button" @click="localOnly = !localOnly" :class="{ active: localOnly }"><fa :icon="faBiohazard"/></button>
|
<button class="_button" v-if="visibility !== 'specified'" @click="localOnly = !localOnly" :class="{ active: localOnly }"><fa :icon="faBiohazard"/></button>
|
||||||
</footer>
|
</footer>
|
||||||
<input ref="file" class="file _button" type="file" multiple="multiple" @change="onChangeFile"/>
|
<input ref="file" class="file _button" type="file" multiple="multiple" @change="onChangeFile"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue