2018-06-08 15:30:44 +02:00
|
|
|
<div id="emoji-settings" data-name="emoji-settings" class="settings-section {{#if can_add_emojis}}can-edit{{/if}}">
|
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>
|
2018-06-08 15:30:44 +02:00
|
|
|
<form class="form-horizontal 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>
|
2016-10-05 02:40:00 +02:00
|
|
|
</div>
|
2017-04-15 05:28:31 +02:00
|
|
|
</form>
|
2019-04-27 09:16:12 +02:00
|
|
|
<p>{{#tr this}}Add extra emoji for members of the __realm_name__ organization.{{/tr}}</p>
|
2017-08-31 00:05:52 +02:00
|
|
|
<div class="admin-table-wrapper">
|
2019-04-27 09:16:12 +02:00
|
|
|
<table class="table table-condensed table-striped wrapped-table admin_emoji_table">
|
|
|
|
<thead>
|
2017-08-31 00:05:52 +02:00
|
|
|
<th>{{t "Name" }}</th>
|
|
|
|
<th class="image">{{t "Image" }}</th>
|
|
|
|
<th class="image">{{t "Author" }}</th>
|
|
|
|
<th class="actions">{{t "Actions" }}</th>
|
2019-04-27 09:16:12 +02:00
|
|
|
</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>
|