2020-06-28 20:52:11 +02:00
|
|
|
<div id="emoji-settings" data-name="emoji-settings" class="settings-section">
|
2017-07-13 20:53:27 +02:00
|
|
|
<div class="emoji-settings-tip-container">
|
2019-07-11 04:05:28 +02:00
|
|
|
{{> emoji_settings_tip}}
|
2017-07-13 20:53:27 +02:00
|
|
|
</div>
|
2020-06-28 21:58:48 +02:00
|
|
|
<p class="add-emoji-text {{#unless can_add_emojis}}hide{{/unless}}">
|
2021-04-14 03:04:02 +02:00
|
|
|
{{#tr}}Add extra emoji for members of the {realm_name} organization.{{/tr}}
|
2020-06-28 21:58:48 +02:00
|
|
|
</p>
|
2023-01-10 11:13:05 +01:00
|
|
|
<form class="admin-emoji-form {{#unless can_add_emojis}}hide{{/unless}}">
|
2017-08-31 00:05:52 +02:00
|
|
|
<div class="add-new-emoji-box grey-box">
|
2017-04-15 05:28:31 +02:00
|
|
|
<div class="new-emoji-form">
|
|
|
|
<div class="settings-section-title new-emoji-section-title no-padding">{{t "Add a new emoji" }}</div>
|
|
|
|
<div class="alert" id="admin-emoji-status"></div>
|
2017-08-31 00:05:52 +02:00
|
|
|
<div class="inline-block">
|
2017-04-15 05:28:31 +02:00
|
|
|
<label for="emoji_name">{{t "Emoji name" }}</label>
|
2018-08-04 11:03:37 +02:00
|
|
|
<input type="text" name="name" id="emoji_name" placeholder="{{t 'leafy green vegetable' }}" />
|
2017-04-15 05:28:31 +02:00
|
|
|
</div>
|
2017-08-31 00:05:52 +02:00
|
|
|
<div class="inline-block">
|
|
|
|
<span id="emoji-file-name"></span>
|
2017-03-13 05:45:50 +01:00
|
|
|
<input type="file" name="emoji_file_input" class="notvisible"
|
2018-08-04 11:03:37 +02:00
|
|
|
id="emoji_file_input" value="{{t 'Upload image or GIF' }}"/>
|
2019-05-08 07:44:37 +02:00
|
|
|
<button class="button white rounded" style="display: none;" id="emoji_image_clear_button">{{t "Clear emoji image" }}</button>
|
2018-08-04 11:03:37 +02:00
|
|
|
<button class="button rounded" id="emoji_upload_button">{{t "Upload image or GIF" }}</button>
|
2017-04-15 05:28:31 +02:00
|
|
|
</div>
|
2018-03-08 18:41:28 +01:00
|
|
|
<button id="admin_emoji_submit" type="submit" class="button rounded sea-green">
|
2017-03-18 10:44:00 +01:00
|
|
|
{{t 'Add emoji' }}
|
|
|
|
</button>
|
2017-04-15 05:28:31 +02:00
|
|
|
</div>
|
2018-03-29 07:21:46 +02:00
|
|
|
<span id="emoji_file_input_error" class="text-error"></span>
|
2020-03-21 12:58:14 +01:00
|
|
|
<span style="display: none;" id="emoji_preview_text">
|
|
|
|
Preview: <img class="emoji" id="emoji_preview_image" />
|
|
|
|
</span>
|
2016-10-05 02:40:00 +02:00
|
|
|
</div>
|
2017-04-15 05:28:31 +02:00
|
|
|
</form>
|
2019-08-16 10:52:48 +02:00
|
|
|
|
2022-03-04 13:06:28 +01:00
|
|
|
<div class="settings_panel_list_header">
|
|
|
|
<h3>{{t "Custom emoji"}}</h3>
|
|
|
|
<input type="text" class="search" placeholder="{{t 'Filter emoji' }}"
|
|
|
|
aria-label="{{t 'Filter emoji' }}"/>
|
|
|
|
</div>
|
2020-04-15 12:22:23 +02:00
|
|
|
<div class="progressive-table-wrapper" data-simplebar>
|
2019-04-27 09:16:12 +02:00
|
|
|
<table class="table table-condensed table-striped wrapped-table admin_emoji_table">
|
2021-02-23 06:23:24 +01:00
|
|
|
<thead class="table-sticky-headers">
|
2019-08-22 06:23:41 +02:00
|
|
|
<th class="active" data-sort="alphabetic" data-sort-prop="name">{{t "Name" }}</th>
|
|
|
|
<th class="image">{{t "Image" }}</th>
|
|
|
|
<th class="image" data-sort="author_full_name">{{t "Author" }}</th>
|
|
|
|
<th class="actions">{{t "Actions" }}</th>
|
|
|
|
</thead>
|
2019-06-02 00:21:17 +02:00
|
|
|
<tbody id="admin_emoji_table" class="required-text" data-empty="{{t 'No custom emoji.' }}"></tbody>
|
2017-08-31 00:05:52 +02:00
|
|
|
</table>
|
|
|
|
</div>
|
2016-10-05 02:40:00 +02:00
|
|
|
</div>
|