2013-02-28 19:04:58 +01:00
|
|
|
|
<div class="row-fluid">
|
|
|
|
|
<div class="span12" id="compose">
|
2013-06-14 22:02:45 +02:00
|
|
|
|
<div id="compose_controls">
|
|
|
|
|
<div id="compose_buttons">
|
|
|
|
|
<span class="new_message_button">
|
|
|
|
|
<button type="button" class="btn btn-large compose_stream_button"
|
2013-06-21 00:43:19 +02:00
|
|
|
|
id="left_bar_compose_stream_button_big" title="New stream message (c)">
|
2013-06-20 17:56:48 +02:00
|
|
|
|
<i class="icon-vector-bullhorn"></i><span class="compose_stream_button_label"> New stream message</span>
|
2013-06-14 22:02:45 +02:00
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="new_message_button">
|
|
|
|
|
<button type="button" class="btn btn-large compose_private_button"
|
2013-06-21 00:43:19 +02:00
|
|
|
|
id="left_bar_compose_private_button_big" title="New private message (C)">
|
2013-06-20 17:56:48 +02:00
|
|
|
|
<i class="icon-vector-user"></i><span class="compose_private_button_label"> New private message</span>
|
2013-06-14 22:02:45 +02:00
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-02-28 19:41:33 +01:00
|
|
|
|
<div class="message_comp">
|
2013-06-12 23:57:43 +02:00
|
|
|
|
<button type="button" class="close" id='compose_close'>×</button>
|
2013-02-28 19:41:33 +01:00
|
|
|
|
<div class="alert" id="send-status">
|
2013-06-12 23:57:43 +02:00
|
|
|
|
<span class="send-status-close">×</span>
|
|
|
|
|
<span id="error-msg"></span>
|
2013-02-28 19:41:33 +01:00
|
|
|
|
</div>
|
|
|
|
|
<form id="send_message_form" action="/json/send_message" method="post">
|
|
|
|
|
{% csrf_token %}
|
|
|
|
|
<table class="compose_table">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr class="ztable_layout_row">
|
2013-05-24 00:03:39 +02:00
|
|
|
|
<td class="ztable_comp_col1" />
|
|
|
|
|
<td class="ztable_comp_col2" />
|
2013-02-28 19:41:33 +01:00
|
|
|
|
</tr>
|
|
|
|
|
<tr id="stream-message">
|
2013-06-27 08:49:38 +02:00
|
|
|
|
<td class="message_header message_header_stream left_part">
|
2013-02-28 19:41:33 +01:00
|
|
|
|
</td>
|
|
|
|
|
<td class="message_header message_header_stream right_part">
|
2013-05-02 17:12:58 +02:00
|
|
|
|
<span id="compose-lock-icon">
|
|
|
|
|
<i class="icon-lock" title="This is an invite-only stream"></i>
|
|
|
|
|
</span>
|
2013-02-28 19:41:33 +01:00
|
|
|
|
<input type="text" class="recipient_box" name="stream" id="stream"
|
|
|
|
|
maxlength="30"
|
|
|
|
|
value="" placeholder="Stream" autocomplete="off" tabindex="120"/>
|
2013-05-09 00:39:47 +02:00
|
|
|
|
<i class="icon-vector-narrow icon-vector-small"></i>
|
2013-02-28 19:41:33 +01:00
|
|
|
|
<input type="text" class="recipient_box" name="subject" id="subject"
|
|
|
|
|
maxlength="60"
|
|
|
|
|
value="" placeholder="Subject" autocomplete="off" tabindex="130"/>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr id="private-message">
|
2013-06-27 08:49:38 +02:00
|
|
|
|
<td class="message_header_private_message message_header left_part"></td>
|
|
|
|
|
<td class="message_header_private_message message_header right_part dark_background">
|
2013-02-28 19:41:33 +01:00
|
|
|
|
You and <input type="text" class="recipient_box" name="recipient" id="private_message_recipient"
|
|
|
|
|
value="" placeholder="one or more people..." autocomplete="off" tabindex="130"/>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2013-05-10 20:01:55 +02:00
|
|
|
|
<td id="left-of-compose">
|
|
|
|
|
<div>
|
|
|
|
|
<input type="file" id="file_input" class="notvisible pull-left" multiple />
|
|
|
|
|
<a class="message-control-button icon-vector-paper-clip notdisplayed"
|
|
|
|
|
id="attach_files" href="#" title="Attach files"></a><br />
|
|
|
|
|
<a class="message-control-button icon-vector-font"
|
|
|
|
|
href="#markdown-help" title="Formatting" data-toggle="modal"></a>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
2013-02-28 19:41:33 +01:00
|
|
|
|
<td class="messagebox">
|
|
|
|
|
<div class="message_content">
|
|
|
|
|
<textarea class="new_message_textarea" name="content" id="new_message_content"
|
|
|
|
|
value="" placeholder="Compose your message here..." tabindex="140" maxlength="10000"></textarea>
|
|
|
|
|
<div id="send_controls">
|
|
|
|
|
<input type="submit" value="Send" id="compose-send-button" class="btn btn-primary send_message" tabindex="150"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-04-05 16:44:29 +02:00
|
|
|
|
<div id="below-compose-content">
|
2013-04-24 23:44:25 +02:00
|
|
|
|
<a id="restore-draft" onclick="compose.restore_message();">Restore last draft?</a>
|
|
|
|
|
<span id="sending-indicator">Sending...</span>
|
2013-05-10 20:46:57 +02:00
|
|
|
|
<input type="checkbox" class="pull-right" id="enter_sends" name="enter_sends" value="ender_sends" />
|
|
|
|
|
<label id="enter-sends-label" class="pull-right" for="enter_sends">Press Enter to send </label>
|
2013-02-28 19:41:33 +01:00
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|