2013-08-13 12:52:26 +02:00
< div id = "compose" >
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" >
2018-07-06 23:20:47 +02:00
< a class = "drafts-link no-underline button small rounded compose_drafts_button" href = "#drafts" title = "{{ _('Drafts') }} (d)" >
{{ _('Drafts') }}
2018-01-27 18:25:34 +01:00
< / a >
< span class = "alert-draft pull-left" > {{ _('Saved as draft') }}< / span >
< / span >
2018-08-12 23:26:00 +02:00
< span class = "new_message_button" >
< button type = "button" class = "button small rounded compose_mobile_button"
id="left_bar_compose_mobile_button_big"
title="{{ _('New message') }} (c)">
2018-11-01 00:58:43 +01:00
< span > +< / span >
2018-08-12 23:26:00 +02:00
< / button >
< / span >
2018-01-27 18:25:34 +01:00
< 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 >
2018-05-16 23:16:11 +02:00
< span id = "compose-error-msg" > < / span >
2018-01-27 18:25:34 +01:00
< / 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 }}
2018-03-31 01:46:43 +02:00
< div class = "compose_table" >
< div id = "stream-message" >
2020-06-13 17:32:03 +02:00
< div class = "stream-selection-header-colorblock message_header_stream left_part" > < / div >
2018-03-31 01:46:43 +02:00
< div class = "right_part" >
< span id = "compose-lock-icon" >
2018-07-02 23:02:43 +02:00
< i class = "fa fa-lock" title = "{{ _('This is a private stream') }}" aria-hidden = "true" > < / i >
2018-03-31 01:46:43 +02:00
< / span >
2018-11-13 17:16:02 +01:00
< input type = "text" class = "recipient_box" name = "stream_message_recipient_stream" id = "stream_message_recipient_stream" maxlength = "30" value = "" placeholder = "{{ _('Stream') }}" autocomplete = "off" tabindex = "0" aria-label = "{{ _('Stream') }}" / >
2018-07-02 23:02:43 +02:00
< i class = "fa fa-angle-right" aria-hidden = "true" > < / i >
2018-11-13 17:16:02 +01:00
< input type = "text" class = "recipient_box" name = "stream_message_recipient_topic" id = "stream_message_recipient_topic" maxlength = "60" value = "" placeholder = "{{ _('Topic') }}" autocomplete = "off" tabindex = "0" aria-label = "{{ _('Topic') }}" / >
2018-03-31 01:46:43 +02:00
< / div >
< / div >
< div id = "private-message" >
< div class = "to_text" >
< span > {{ _('To') }}:< / span >
< / div >
< div class = "right_part" >
< div class = "pm_recipient" >
< div class = "pill-container" data-before = "{{ _('You and') }}" >
2018-07-06 23:24:02 +02:00
< div class = "input" contenteditable = "true" id = "private_message_recipient" data-no-recipients-text = "{{ _('Add one or more users') }}" data-some-recipients-text = "{{ _('Add another user...') }}" > < / div >
2018-01-27 18:25:34 +01:00
< / div >
2018-03-31 01:46:43 +02:00
< / div >
< / div >
< / div >
< div >
2018-07-06 23:24:02 +02:00
< div class = "messagebox" >
< textarea class = "new_message_textarea" name = "content" id = 'compose-textarea' placeholder = "{{ _('Compose your message here') }}" tabindex = "0" maxlength = "10000" aria-label = "{{ _('Compose your message here...') }}" > < / textarea >
2020-10-17 09:27:20 +02:00
< div class = "scrolling_list preview_message_area" data-simplebar id = "preview_message_area" style = "display:none;" >
2018-03-31 01:46:43 +02:00
< div id = "markdown_preview_spinner" > < / div >
2019-03-22 17:03:19 +01:00
< div id = "preview_content" class = "preview_content rendered_markdown" > < / div >
2018-03-31 01:46:43 +02:00
< / div >
< div class = "drag" > < / div >
< div id = "below-compose-content" >
2020-08-11 08:11:14 +02:00
< button type = "submit" id = "compose-send-button" class = "button small send_message" title = "{{ _('Send') }} (Ctrl + Enter)" > {{ _('Send') }}< / button >
2018-03-31 01:46:43 +02:00
< input type = "file" id = "file_input" class = "notvisible pull-left" multiple / >
2020-05-08 06:57:19 +02:00
{% if max_file_upload_size_mib > 0 %}
2020-08-11 10:36:37 +02:00
< a role = "button" class = "message-control-button fa fa-paperclip notdisplayed" aria-label = "{{ _('Attach files') }}" id = "attach_files" tabindex = 0 title = "{{ _('Attach files') }}" > < / a >
2019-05-04 20:24:36 +02:00
{% endif %}
2020-08-11 10:36:37 +02:00
< a role = "button" id = "markdown_preview" class = "message-control-button fa fa-eye" aria-label = "{{ _('Preview') }}" tabindex = 0 title = "{{ _('Preview') }}" > < / a >
2020-09-23 06:08:23 +02:00
< a role = "button" id = "undo_markdown_preview" class = "message-control-button fa fa-edit" aria-label = "{{ _('Write') }}" tabindex = 0 style = "display:none;" title = "{{ _('Write') }}" > < / a >
< a role = "button" class = "message-control-button fa fa-video-camera video_link" aria-label = "{{ _('Add video call') }}" tabindex = 0 title = "{{ _('Add video call') }}" > < / a >
< a role = "button" class = "message-control-button fa fa-smile-o" aria-label = "{{_('Add emoji')}}" id = "emoji_map" tabindex = 0 title = "{{ _('Add emoji') }}" > < / a >
2020-09-23 06:08:23 +02:00
< a class = "message-control-link drafts-link" href = "#drafts" title = "{{ _('Drafts') }} (d)" > {{ _('Drafts') }}< / a >
< a role = "button" class = "message-control-link" tabindex = 0 data-overlay-trigger = "message-formatting" > {{ _('Help') }}< / a >
2018-03-31 01:46:43 +02:00
< span id = "sending-indicator" > < / span >
< div id = "send_controls" class = "new-style" >
2020-07-06 02:56:23 +02:00
< label id = "enter-sends-label" class = "compose_checkbox_label checkbox" >
< input type = "checkbox" id = "enter_sends" / >
< span > < / span > {{ _('Press Enter to send') }}
2018-03-31 01:46:43 +02:00
< / label >
2018-01-27 18:25:34 +01:00
< / div >
2018-03-31 01:46:43 +02:00
< / div >
< / div >
< / div >
< / div >
2018-01-27 18:25:34 +01:00
< / form >
< / div >
< / div >
2013-02-28 19:41:33 +01:00
< / div >
< / div >