2022-03-29 18:46:59 +02:00
|
|
|
<form class="new-style" id="add-custom-emoji-form">
|
|
|
|
<div>
|
|
|
|
<input type="file" name="emoji_file_input" class="notvisible"
|
|
|
|
id="emoji_file_input" value="{{t 'Upload image or GIF' }}"/>
|
2023-06-28 18:56:40 +02:00
|
|
|
<button type="button" class="button white rounded" style="display: none;" id="emoji_image_clear_button">{{t "Clear image" }}</button>
|
|
|
|
<button type="button" class="button rounded" id="emoji_upload_button">{{t "Upload image or GIF" }}</button>
|
2022-03-29 18:46:59 +02:00
|
|
|
<div style="display: none;" id="emoji_preview_text">
|
|
|
|
Preview: <i id="emoji_placeholder_icon" class="fa fa-file-image-o" aria-hidden="true"></i><img class="emoji" id="emoji_preview_image" src=""/>
|
|
|
|
</div>
|
|
|
|
<div id="emoji-file-name"></div>
|
|
|
|
</div>
|
|
|
|
<div id="emoji_file_input_error" class="text-error"></div>
|
|
|
|
<div class="emoji_name_input">
|
2024-04-01 15:48:08 +02:00
|
|
|
<label for="emoji_name" class="modal-field-label">{{t "Emoji name" }}</label>
|
2023-03-27 10:24:27 +02:00
|
|
|
<input type="text" name="name" id="emoji_name" class="modal_text_input" placeholder="{{t 'leafy green vegetable' }}" />
|
2022-03-29 18:46:59 +02:00
|
|
|
</div>
|
|
|
|
</form>
|