2021-09-09 23:01:56 +08:00
|
|
|
<div class="emoji-uploader form-horizontal">
|
|
|
|
<div class="control-group">
|
2020-06-02 14:14:41 +08:00
|
|
|
<span class="label">
|
|
|
|
{{i18n "admin.emoji.name"}}
|
|
|
|
</span>
|
|
|
|
<div class="input">
|
2022-07-06 01:41:31 +08:00
|
|
|
<Input @id="emoji-name" @name="name" @placeholderKey="admin.emoji.name" @value={{readonly this.name}} @input={{action (mut this.name) value="target.value"}} />
|
2020-03-31 02:16:10 +08:00
|
|
|
</div>
|
2020-06-02 14:14:41 +08:00
|
|
|
</div>
|
2021-09-09 23:01:56 +08:00
|
|
|
<div class="control-group">
|
2020-06-02 14:14:41 +08:00
|
|
|
<span class="label">
|
|
|
|
{{i18n "admin.emoji.group"}}
|
|
|
|
</span>
|
|
|
|
<div class="input">
|
2022-07-06 01:41:31 +08:00
|
|
|
<ComboBox @name="group" @id="emoji-group-selector" @value={{this.group}} @content={{this.newEmojiGroups}} @onChange={{action "createEmojiGroup"}} @valueProperty={{null}} @nameProperty={{null}} @options={{hash
|
2020-06-02 14:14:41 +08:00
|
|
|
allowAny=true
|
2022-06-30 18:30:50 +08:00
|
|
|
}} />
|
2020-03-31 02:16:10 +08:00
|
|
|
</div>
|
2020-06-02 14:14:41 +08:00
|
|
|
</div>
|
2021-09-09 23:01:56 +08:00
|
|
|
<div class="control-group">
|
2020-06-02 14:14:41 +08:00
|
|
|
<div class="input">
|
2022-01-17 09:48:49 +08:00
|
|
|
<input
|
|
|
|
class="hidden-upload-field"
|
2022-07-06 01:41:31 +08:00
|
|
|
disabled={{this.uploading}}
|
2022-01-17 09:48:49 +08:00
|
|
|
type="file"
|
|
|
|
multiple="true"
|
|
|
|
accept=".png,.gif">
|
2022-07-06 01:41:31 +08:00
|
|
|
<DButton @class="btn-primary" @translatedLabel={{this.buttonLabel}} @icon="plus" @action={{action "chooseFiles"}} @disabled={{this.uploading}} />
|
2020-03-31 02:16:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-02 14:14:41 +08:00
|
|
|
</div>
|