2017-07-13 20:53:27 +02:00
|
|
|
<div id="emoji-settings" data-name="emoji-settings" class="settings-section {{#if can_admin_emojis}}can-edit{{/if}}">
|
|
|
|
<div class="emoji-settings-tip-container">
|
|
|
|
{{partial "emoji-settings-tip"}}
|
|
|
|
</div>
|
2017-07-11 21:59:40 +02:00
|
|
|
<form class="form-horizontal admin-emoji-form {{#unless can_admin_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>
|
|
|
|
<input type="text" name="name" id="emoji_name" placeholder="mouse_face" />
|
|
|
|
</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"
|
|
|
|
id="emoji_file_input" value="{{t 'Upload emoji' }}"/>
|
2017-07-18 01:39:05 +02:00
|
|
|
<button class="button white rounded display-none" id="emoji_image_clear_button">{{t "Clear emoji image" }}</button>
|
2017-08-31 00:05:52 +02:00
|
|
|
<button class="button rounded" id="emoji_upload_button">{{t "Upload emoji" }}</button>
|
|
|
|
<span id="emoji_file_input_error" class="text-error"></span>
|
2017-04-15 05:28:31 +02:00
|
|
|
</div>
|
2017-06-06 01:57:22 +02:00
|
|
|
<button 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>
|
2016-10-05 02:40:00 +02:00
|
|
|
</div>
|
2017-04-15 05:28:31 +02:00
|
|
|
</form>
|
2017-08-31 00:05:52 +02:00
|
|
|
<div class="admin-table-wrapper">
|
|
|
|
<p>{{#tr this}}Add extra emoji for members of the __realm_name__ organization.{{/tr}}</p>
|
|
|
|
<table class="table table-condensed table-striped admin_emoji_table">
|
|
|
|
<tbody id="admin_emoji_table">
|
|
|
|
<th>{{t "Name" }}</th>
|
|
|
|
<th class="image">{{t "Image" }}</th>
|
|
|
|
<th class="image">{{t "Author" }}</th>
|
|
|
|
<th class="actions">{{t "Actions" }}</th>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2016-10-05 02:40:00 +02:00
|
|
|
</div>
|