[Client:Mobile] Add the 'Insert The Cat' button
This commit is contained in:
parent
fda8fea9b9
commit
2218dba252
|
@ -21,6 +21,7 @@
|
||||||
<mk-uploader ref="uploader"></mk-uploader>
|
<mk-uploader ref="uploader"></mk-uploader>
|
||||||
<button ref="upload" onclick={ selectFile }><i class="fa fa-upload"></i></button>
|
<button ref="upload" onclick={ selectFile }><i class="fa fa-upload"></i></button>
|
||||||
<button ref="drive" onclick={ selectFileFromDrive }><i class="fa fa-cloud"></i></button>
|
<button ref="drive" onclick={ selectFileFromDrive }><i class="fa fa-cloud"></i></button>
|
||||||
|
<button class="cat" onclick={ cat }><i class="fa fa-smile-o"></i></button>
|
||||||
<input ref="file" type="file" accept="image/*" multiple="multiple" onchange={ changeFile }/>
|
<input ref="file" type="file" accept="image/*" multiple="multiple" onchange={ changeFile }/>
|
||||||
</div>
|
</div>
|
||||||
<style type="stylus">
|
<style type="stylus">
|
||||||
|
@ -161,6 +162,7 @@
|
||||||
|
|
||||||
> [ref='upload']
|
> [ref='upload']
|
||||||
> [ref='drive']
|
> [ref='drive']
|
||||||
|
.cat
|
||||||
display inline-block
|
display inline-block
|
||||||
padding 0
|
padding 0
|
||||||
margin 0
|
margin 0
|
||||||
|
@ -260,5 +262,8 @@
|
||||||
@cancel = ~>
|
@cancel = ~>
|
||||||
@trigger \cancel
|
@trigger \cancel
|
||||||
@unmount!
|
@unmount!
|
||||||
|
|
||||||
|
@cat = ~>
|
||||||
|
@refs.text.value = @refs.text.value + '(=^・・^=)'
|
||||||
</script>
|
</script>
|
||||||
</mk-post-form>
|
</mk-post-form>
|
||||||
|
|
Loading…
Reference in a new issue