2024-11-19 15:44:34 +08:00
|
|
|
<div class="form-kit">
|
|
|
|
<div class="form-kit__container form-kit__field form-kit__field-input-text">
|
|
|
|
<label class="form-kit__container-title">
|
2020-06-02 14:14:41 +08:00
|
|
|
{{i18n "admin.emoji.name"}}
|
2024-11-19 15:44:34 +08:00
|
|
|
</label>
|
|
|
|
<div class="form-kit__container-content --large">
|
|
|
|
<div class="form-kit__control-input-wrapper">
|
|
|
|
<Input
|
|
|
|
id="emoji-name"
|
|
|
|
class="form-kit__control-input"
|
|
|
|
name="name"
|
|
|
|
@value={{readonly this.name}}
|
|
|
|
{{on "input" (with-event-value (fn (mut this.name)))}}
|
|
|
|
/>
|
|
|
|
</div>
|
2020-03-31 02:16:10 +08:00
|
|
|
</div>
|
2020-06-02 14:14:41 +08:00
|
|
|
</div>
|
2024-11-19 15:44:34 +08:00
|
|
|
<div
|
|
|
|
class="form-kit__container form-kit__field form-kit__field-input-combo-box"
|
|
|
|
>
|
|
|
|
<label class="form-kit__container-title">
|
2020-06-02 14:14:41 +08:00
|
|
|
{{i18n "admin.emoji.group"}}
|
2024-11-19 15:44:34 +08:00
|
|
|
</label>
|
|
|
|
<div class="form-kit__container-content --large">
|
|
|
|
<div class="form-kit__control-input-wrapper">
|
|
|
|
<ComboBox
|
|
|
|
@name="group"
|
|
|
|
@id="emoji-group-selector"
|
|
|
|
@value={{this.group}}
|
|
|
|
@content={{this.newEmojiGroups}}
|
|
|
|
@onChange={{action "createEmojiGroup"}}
|
|
|
|
@valueProperty={{null}}
|
|
|
|
@nameProperty={{null}}
|
|
|
|
@options={{hash allowAny=true}}
|
|
|
|
/>
|
|
|
|
</div>
|
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
|
2024-10-23 00:07:16 +08:00
|
|
|
{{did-insert this.uppyUpload.setup}}
|
2022-01-17 09:48:49 +08:00
|
|
|
class="hidden-upload-field"
|
2024-10-23 00:07:16 +08:00
|
|
|
disabled={{this.uppyUpload.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
|
|
|
|
@translatedLabel={{this.buttonLabel}}
|
2023-08-31 17:49:35 +08:00
|
|
|
@action={{this.chooseFiles}}
|
2024-10-23 00:07:16 +08:00
|
|
|
@disabled={{this.uppyUpload.uploading}}
|
2024-11-19 15:44:34 +08:00
|
|
|
class="btn-primary"
|
2022-12-28 20:28:11 +08:00
|
|
|
/>
|
2020-03-31 02:16:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-02 14:14:41 +08:00
|
|
|
</div>
|