[Client:Desktop] Add the 'Insert The Cat' button
This commit is contained in:
parent
8a35d7fd30
commit
fda8fea9b9
|
@ -12,6 +12,7 @@
|
|||
<mk-uploader ref="uploader"></mk-uploader>
|
||||
<button ref="upload" title="PCからファイルを添付" onclick={ selectFile }><i class="fa fa-upload"></i></button>
|
||||
<button ref="drive" title="ドライブからファイルを添付" onclick={ selectFileFromDrive }><i class="fa fa-cloud"></i></button>
|
||||
<button class="cat" title="Insert The Cat" onclick={ cat }><i class="fa fa-smile-o"></i></button>
|
||||
<p class="text-count { over: refs.text.value.length > 500 }">のこり{ 500 - refs.text.value.length }文字</p>
|
||||
<button class={ wait: wait } ref="submit" disabled={ wait || (refs.text.value.length == 0 && files.length == 0) } onclick={ post }>{ wait ? '投稿中' : opts.reply ? '返信' : '投稿' }
|
||||
<mk-ellipsis if={ wait }></mk-ellipsis>
|
||||
|
@ -237,6 +238,7 @@
|
|||
|
||||
[ref='upload']
|
||||
[ref='drive']
|
||||
.cat
|
||||
display inline-block
|
||||
cursor pointer
|
||||
padding 0
|
||||
|
@ -425,5 +427,8 @@
|
|||
.then ~>
|
||||
@wait = false
|
||||
@update!
|
||||
|
||||
@cat = ~>
|
||||
@refs.text.value = @refs.text.value + '(=^・・^=)'
|
||||
</script>
|
||||
</mk-post-form>
|
||||
|
|
Loading…
Reference in a new issue