mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 14:43:08 +02:00
[Client:Mobile] Add the 'Insert The Cat' button
This commit is contained in:
parent
fda8fea9b9
commit
2218dba252
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
<mk-uploader ref="uploader"></mk-uploader>
|
||||
<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 class="cat" onclick={ cat }><i class="fa fa-smile-o"></i></button>
|
||||
<input ref="file" type="file" accept="image/*" multiple="multiple" onchange={ changeFile }/>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
|
@ -161,6 +162,7 @@
|
|||
|
||||
> [ref='upload']
|
||||
> [ref='drive']
|
||||
.cat
|
||||
display inline-block
|
||||
padding 0
|
||||
margin 0
|
||||
|
@ -260,5 +262,8 @@
|
|||
@cancel = ~>
|
||||
@trigger \cancel
|
||||
@unmount!
|
||||
|
||||
@cat = ~>
|
||||
@refs.text.value = @refs.text.value + '(=^・・^=)'
|
||||
</script>
|
||||
</mk-post-form>
|
||||
|
|
Loading…
Reference in a new issue