2021-06-10 16:52:29 +02:00
<div id="compose-content">
2022-02-14 17:43:32 +01:00
{{ ! - - scroll to bottom button is not part of compose but
helps us align it at various screens sizes with
minimal css and no JS. We keep it `position: absolute` to prevent
it changing compose box layout in any way. --}}
2022-07-06 07:05:37 +02:00
<div id="scroll-to-bottom-button-container" aria-hidden="true">
2022-09-28 19:29:17 +02:00
<div id="scroll-to-bottom-button-clickable-area" data-tooltip-template-id="scroll-to-bottom-button-tooltip-template">
2022-02-14 17:43:32 +01:00
<div id="scroll-to-bottom-button">
<i class="fa fa-chevron-down"></i>
</div>
</div>
</div>
2021-06-10 16:52:29 +02:00
<div id="compose_controls" class="new-style">
2021-04-14 13:10:34 +02:00
<div id="compose_buttons">
2023-10-05 18:09:38 +02:00
<div class="new_message_button reply_button_container">
2024-04-09 07:56:36 +02:00
<div class="compose-reply-button-wrapper" data-reply-button-type="selected_message">
2023-12-20 04:08:58 +01:00
<button type="button" class="button small compose_reply_button"
id="left_bar_compose_reply_button_big">
{{ t 'Compose message' }}
</button>
</div>
2023-10-05 18:09:38 +02:00
<button type="button" class="button compose_new_conversation_button"
id="new_conversation_button"
data-tooltip-template-id="new_stream_message_button_tooltip_template">
{{ t 'Start new conversation' }}
</button>
</div>
2021-04-15 02:59:34 +02:00
<span class="new_message_button mobile_button_container">
2021-04-14 13:10:34 +02:00
<button type="button" class="button small rounded compose_mobile_button"
id="left_bar_compose_mobile_button_big"
2023-04-13 16:21:35 +02:00
data-tooltip-template-id="left_bar_compose_mobile_button_tooltip_template">
2023-06-20 15:08:26 +02:00
+
2021-04-14 13:10:34 +02:00
</button>
</span>
{{ # unless embedded }}
2023-10-04 21:06:27 +02:00
<span class="new_message_button new_direct_message_button_container">
<button type="button" class="button small rounded compose_new_direct_message_button"
id="new_direct_message_button"
2023-04-13 16:21:35 +02:00
data-tooltip-template-id="new_direct_message_button_tooltip_template">
2023-06-20 15:08:26 +02:00
{{ t 'New direct message' }}
2021-04-14 13:10:34 +02:00
</button>
</span>
{{ / unless }}
</div>
</div>
2021-06-10 16:52:29 +02:00
<div class="message_comp">
2024-06-16 13:46:37 +02:00
<div id="compose_banners" data-simplebar data-simplebar-tab-index="-1"></div>
2021-04-14 13:10:34 +02:00
<div class="composition-area">
<form id="send_message_form" action="/json/messages" method="post">
<div class="compose_table">
2022-02-01 14:29:57 +01:00
<div id="compose_top">
2024-06-12 14:29:41 +02:00
<div id="compose-recipient">
2024-02-04 18:55:46 +01:00
{{ > dropdown_widget_wrapper
2023-07-19 16:09:53 +02:00
widget_name="compose_select_recipient"}}
2023-05-25 21:49:18 +02:00
<div class="topic-marker-container">
2024-05-09 04:50:53 +02:00
<a role="button" class="conversation-arrow zulip-icon zulip-icon-chevron-right"></a>
2023-05-25 21:49:18 +02:00
</div>
2023-10-03 18:18:55 +02:00
<div id="compose_recipient_box">
<input type="text" name="stream_message_recipient_topic" id="stream_message_recipient_topic" maxlength=" {{ max_topic_length }} " value="" placeholder=" {{ t 'Topic' }} " autocomplete="off" tabindex="0" aria-label=" {{ t 'Topic' }} " />
<button type="button" id="recipient_box_clear_topic_button" class="button tippy-zulip-delayed-tooltip" data-tippy-content=" {{ t 'Clear topic' }} " tabindex="-1">
<i class="zulip-icon zulip-icon-close"></i>
</button>
</div>
2024-02-16 10:00:54 +01:00
<div id="compose-direct-recipient" data-before=" {{ t 'You and' }} ">
<div class="pill-container">
<div class="input" contenteditable="true" id="private_message_recipient" data-no-recipients-text=" {{ t 'Add one or more users' }} " data-some-recipients-text=" {{ t 'Add another user...' }} "></div>
</div>
2021-04-14 13:10:34 +02:00
</div>
</div>
</div>
2024-06-13 23:08:53 +02:00
<div class="messagebox">
2024-05-18 10:30:24 +02:00
<div id="message-content-container" class="surround-formatting-buttons-row">
2024-06-13 23:08:53 +02:00
<textarea class="new_message_textarea" name="content" id='compose-textarea' placeholder=" {{ t 'Compose your message here' }} " tabindex="0" aria-label=" {{ t 'Compose your message here...' }} "></textarea>
<div id="preview-message-area-container">
2024-06-16 13:46:37 +02:00
<div class="scrolling_list preview_message_area" data-simplebar data-simplebar-tab-index="-1" id="preview_message_area" style="display:none;">
2024-06-13 23:08:53 +02:00
<div class="markdown_preview_spinner"></div>
<div class="preview_content rendered_markdown"></div>
2023-11-01 21:40:50 +01:00
</div>
2021-04-14 13:10:34 +02:00
</div>
2024-06-13 23:08:53 +02:00
<div class="composebox-buttons">
<button type="button" class="expand-composebox-button zulip-icon zulip-icon-expand-diagonal" aria-label=" {{ t 'Expand compose box' }} " data-tippy-content=" {{ t 'Expand compose box' }} "></button>
<button type="button" class="collapse-composebox-button zulip-icon zulip-icon-collapse-diagonal" aria-label=" {{ t 'Collapse compose box' }} " data-tippy-content=" {{ t 'Collapse compose box' }} "></button>
2023-11-01 17:53:17 +01:00
</div>
2024-06-13 23:08:53 +02:00
<div class="drag"></div>
</div>
2023-11-01 17:53:17 +01:00
2024-06-13 23:08:53 +02:00
<div id="message-send-controls-container">
<a id="compose-drafts-button" role="button" class="send-control-button hide-sm" tabindex=0 href="#drafts">
<span class="compose-drafts-text"> {{ t 'Drafts' }} </span><span class="compose-drafts-count-container">(<span class="compose-drafts-count"></span>)</span>
</a>
<span id="compose-limit-indicator" class="tippy-zulip-tooltip" data-tippy-content=" {{ t 'Maximum message length: {max_message_length} characters' }} "></span>
<div class="message-send-controls">
<button type="submit" id="compose-send-button" class="send_message compose-submit-button compose-send-or-save-button" aria-label=" {{ t 'Send' }} ">
<img class="loader" alt="" src="" />
<i class="zulip-icon zulip-icon-send"></i>
</button>
<button class="send-control-button send-related-action-button" id="send_later" tabindex=0 type="button" data-tippy-content=" {{ t 'Send options' }} ">
<i class="zulip-icon zulip-icon-more-vertical"></i>
</button>
2021-04-14 13:10:34 +02:00
</div>
</div>
2024-06-13 23:08:53 +02:00
<div id="message-formatting-controls-container">
{{ > compose_control_buttons }}
</div>
2021-04-14 13:10:34 +02:00
</div>
</div>
</form>
</div>
2024-06-12 14:29:41 +02:00
<button type="button" class="close zulip-icon zulip-icon-close" id='compose_close' data-tooltip-template-id="compose_close_tooltip_template"></button>
2021-04-14 13:10:34 +02:00
</div>
</div>