2013-08-13 12:52:26 +02:00
|
|
|
<div id="compose">
|
2018-01-27 18:25:34 +01:00
|
|
|
<div id="compose-notifications" class="notifications above-composebox">
|
2013-06-14 22:02:45 +02:00
|
|
|
</div>
|
2018-01-27 18:25:34 +01:00
|
|
|
<div id="compose-container">
|
|
|
|
<div id="compose_controls" class="compose-content new-style">
|
|
|
|
<div id="nonexistent_stream_reply_error" class="alert-error">
|
|
|
|
<span class="compose-send-status-close">×</span>
|
|
|
|
<span id="compose-reply-error-msg"></span>
|
|
|
|
</div>
|
|
|
|
<div id="compose_buttons">
|
|
|
|
<span class="new_message_button">
|
|
|
|
<a class="drafts-link no-style" href="#drafts" title="{{ _('Drafts') }} (d)">
|
|
|
|
<button type="button" class="button small rounded compose_drafts_button">
|
|
|
|
<span>{{ _('Drafts') }}</span>
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
<span class="alert-draft pull-left">{{ _('Saved as draft') }}</span>
|
|
|
|
</span>
|
|
|
|
<span class="new_message_button">
|
|
|
|
<button type="button" class="button small rounded compose_stream_button"
|
2018-04-05 08:38:46 +02:00
|
|
|
id="left_bar_compose_stream_button_big"
|
|
|
|
title="{{ _('New topic') }} (c)">
|
2018-01-27 18:25:34 +01:00
|
|
|
<span class="compose_stream_button_label">{{ _('New topic') }}</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
{% if not embedded %}
|
|
|
|
<span class="new_message_button">
|
|
|
|
<button type="button" class="button small rounded compose_private_button"
|
2018-04-05 08:38:46 +02:00
|
|
|
id="left_bar_compose_private_button_big"
|
|
|
|
title="{{ _('New private message') }} (x)">
|
2018-01-27 18:25:34 +01:00
|
|
|
<span class="compose_private_button_label">{{ _('New private message') }}</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
|
|
|
<span class="new_message_button">
|
|
|
|
<button type="button" class="button small rounded compose_reply_button"
|
2018-04-05 08:38:46 +02:00
|
|
|
id="left_bar_compose_reply_button_big"
|
|
|
|
title="{{ _('Reply') }} (r)">
|
2018-01-27 18:25:34 +01:00
|
|
|
<span class="compose_reply_button_label">{{ _('Reply') }}</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="message_comp compose-content">
|
|
|
|
<div class="alert" id="compose-send-status">
|
|
|
|
<span class="compose-send-status-close">×</span>
|
|
|
|
<span id="compose-error-msg"></span>
|
|
|
|
</div>
|
|
|
|
<div id="compose_invite_users" class="alert home-error-bar"></div>
|
|
|
|
<div id="compose-all-everyone" class="alert home-error-bar"></div>
|
|
|
|
<div id="compose-announce" class="alert home-error-bar"></div>
|
2018-04-04 19:38:09 +02:00
|
|
|
<div id="compose_not_subscribed" class="alert home-error-bar"></div>
|
2018-01-27 18:25:34 +01:00
|
|
|
<div id="compose_private_stream_alert" class="alert home-error-bar"></div>
|
|
|
|
<div id="out-of-view-notification" class="notification-alert"></div>
|
|
|
|
<div class="composition-area">
|
|
|
|
<button type="button" class="close" id='compose_close' title="{{ _('Cancel compose') }} (Esc)">×</button>
|
|
|
|
<form id="send_message_form" action="/json/messages" method="post">
|
|
|
|
{{ csrf_input }}
|
|
|
|
<table class="compose_table">
|
|
|
|
<tbody>
|
|
|
|
<tr class="ztable_layout_row">
|
|
|
|
<td class="ztable_comp_col1" />
|
|
|
|
<td class="ztable_comp_col2" />
|
|
|
|
</tr>
|
|
|
|
<tr id="stream-message">
|
|
|
|
<td class="message_header_colorblock message_header_stream left_part">
|
|
|
|
</td>
|
|
|
|
<td class="right_part">
|
|
|
|
<span id="compose-lock-icon">
|
|
|
|
<i class="icon-vector-lock" title="{{ _('This is an invite-only stream') }}"></i>
|
|
|
|
</span>
|
|
|
|
<input type="text" class="recipient_box" name="stream" id="stream"
|
2018-04-03 10:07:23 +02:00
|
|
|
maxlength="30"
|
|
|
|
value="" placeholder="{{ _('Stream') }}" autocomplete="off" tabindex="0" aria-label="{{ _('Stream') }}"/>
|
2018-01-27 18:25:34 +01:00
|
|
|
<i class="icon-vector-narrow icon-vector-small"></i>
|
|
|
|
<input type="text" class="recipient_box" name="subject" id="subject"
|
2018-04-03 10:07:23 +02:00
|
|
|
maxlength="60"
|
|
|
|
value="" placeholder="{{ _('Topic') }}" autocomplete="off" tabindex="0" aria-label="{{ _('Topic') }}"/>
|
2018-01-27 18:25:34 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr id="private-message">
|
2018-03-06 15:07:55 +01:00
|
|
|
<td class="to_text">
|
|
|
|
<span>{{ _('To') }}:</span>
|
2018-01-27 18:25:34 +01:00
|
|
|
</td>
|
|
|
|
<td class="right_part">
|
|
|
|
<div class="pm_recipient">
|
2018-03-06 15:07:55 +01:00
|
|
|
<div class="pill-container" data-before="{{ _('You and') }}">
|
|
|
|
<div class="input" contenteditable="true" id="private_message_recipient" name="recipient"
|
2018-04-05 08:38:46 +02:00
|
|
|
data-no-recipients-text="{{ _('Add one or more users') }}" data-some-recipients-text="{{ _('Add another user...') }}"></div>
|
2018-03-06 15:07:55 +01:00
|
|
|
</div>
|
2018-01-27 18:25:34 +01:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="messagebox" colspan="2">
|
|
|
|
<textarea class="new_message_textarea" name="content" id='compose-textarea'
|
2018-04-05 08:38:46 +02:00
|
|
|
value="" placeholder="{{ _('Compose your message here') }}" tabindex="0" maxlength="10000" aria-label="{{ _('Compose your message here...') }}"></textarea>
|
2018-01-27 18:25:34 +01:00
|
|
|
<div class="scrolling_list" id="preview_message_area" style="display:none;">
|
|
|
|
<div id="markdown_preview_spinner"></div>
|
|
|
|
<div id="preview_content"></div>
|
|
|
|
</div>
|
|
|
|
<div class="drag"></div>
|
|
|
|
<div id="below-compose-content">
|
|
|
|
<input type="file" id="file_input" class="notvisible pull-left" multiple />
|
|
|
|
<a class="message-control-button icon-vector-smile"
|
2018-04-05 08:38:46 +02:00
|
|
|
id="emoji_map" href="#" title="{{ _('Add emoji') }}"></a>
|
2018-01-27 18:25:34 +01:00
|
|
|
<a class="message-control-button icon-vector-font"
|
2018-04-05 08:38:46 +02:00
|
|
|
title="{{ _('Formatting') }}" data-overlay-trigger="markdown-help"></a>
|
2018-01-27 18:25:34 +01:00
|
|
|
<a class="message-control-button icon-vector-paper-clip notdisplayed"
|
2018-04-05 08:38:46 +02:00
|
|
|
id="attach_files" href="#" title="{{ _('Attach files') }}"></a>
|
2018-04-03 01:46:55 +02:00
|
|
|
{% if jitsi_server_url %}
|
2018-01-27 18:25:34 +01:00
|
|
|
<a class="message-control-button fa fa-video-camera"
|
2018-04-05 08:38:46 +02:00
|
|
|
id="video_link" href="#" title="{{ _('Add video call') }}"></a>
|
2018-04-03 01:46:55 +02:00
|
|
|
{% endif %}
|
2018-01-27 18:25:34 +01:00
|
|
|
<a id="undo_markdown_preview"
|
2018-04-05 08:38:46 +02:00
|
|
|
class="message-control-button icon-vector-edit"
|
|
|
|
style="display:none;" title="{{ _('Write') }}"></a>
|
2018-01-27 18:25:34 +01:00
|
|
|
<a id="markdown_preview" class="message-control-button icon-vector-eye-open"
|
2018-04-05 08:38:46 +02:00
|
|
|
title="{{ _('Preview') }}"></a>
|
2018-01-27 18:25:34 +01:00
|
|
|
<a class="drafts-link" href="#drafts" title="{{ _('Drafts') }} (d)">{{ _('Drafts') }}</a>
|
|
|
|
<span id="sending-indicator"></span>
|
|
|
|
<div id="send_controls" class="new-style">
|
|
|
|
<label id="enter-sends-label" class="compose_checkbox_label">
|
|
|
|
<input type="checkbox" id="enter_sends" />{{ _('Press Enter to send') }}
|
|
|
|
</label>
|
|
|
|
<button type="submit" id="compose-send-button" class="button small send_message" tabindex="150" title="{{ _('Send') }} (Ctrl + Enter)">{{ _('Send') }}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-02-28 19:41:33 +01:00
|
|
|
</div>
|
|
|
|
</div>
|