2012-10-16 06:03:29 +02:00
|
|
|
{# Home tab of the app, containing messages. #}
|
|
|
|
|
2012-10-15 16:23:20 +02:00
|
|
|
<div class="row">
|
2012-10-15 21:11:16 +02:00
|
|
|
<div class="span9" id="top_statusbar">
|
|
|
|
<div class="floating_recipient_bar">
|
|
|
|
<table class="floating_recipient">
|
2012-10-15 22:35:46 +02:00
|
|
|
<tr id="floating_recipient_layout_row" class="ztable_layout_row">
|
2012-10-15 16:53:48 +02:00
|
|
|
<td class="ztable_col1" />
|
|
|
|
<td class="ztable_col2" />
|
|
|
|
<td class="ztable_col3" />
|
|
|
|
</tr>
|
|
|
|
<tr style="display: none;" id="current_label_stream" class="recipient_row">
|
2012-10-17 22:03:00 +02:00
|
|
|
<td colspan="2" class="message_label_clickable message_header message_header_stream left_part"></td>
|
|
|
|
<td class="message_label_clickable message_header message_header_stream right_part"></td>
|
2012-10-15 16:53:48 +02:00
|
|
|
</tr>
|
2012-12-03 19:49:12 +01:00
|
|
|
<tr style="display: none;" id="current_label_private_message" class="recipient_row">
|
|
|
|
<td colspan="2" class="message_label_clickable message_header message_header_private_message left_part"></td>
|
|
|
|
<td class="message_label_clickable message_header message_header_private_message right_part"></td>
|
2012-10-15 16:53:48 +02:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2012-10-15 16:23:20 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2012-10-11 21:13:12 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="span9">
|
|
|
|
<div class="message_list" id="main_div">
|
2013-01-16 19:50:18 +01:00
|
|
|
<div id="loading_more_messages_indicator"></div>
|
2013-01-15 21:41:16 +01:00
|
|
|
<div id="page_loading_indicator"></div>
|
2013-02-12 19:28:21 +01:00
|
|
|
<div id="first_run_message">
|
|
|
|
<h4>Welcome to Humbug</h4>
|
|
|
|
<p>See, the thing about it is... there aren't any messages
|
|
|
|
here for you right now. I'm sure someone will eventually send
|
|
|
|
you one.</p>
|
|
|
|
|
|
|
|
<p>Or, <strong>take matters into your own hands</strong>,
|
|
|
|
and <a href="#" onclick="compose.start('stream');return false;">
|
|
|
|
compose a new stream message</a>.</p>
|
|
|
|
</div>
|
2012-10-11 21:13:12 +02:00
|
|
|
<table class="message_table focused_table" id="zhome">
|
|
|
|
<tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="message_table" id="zfilt">
|
|
|
|
<tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div id="bottom_whitespace"></div>
|
2012-10-11 20:58:44 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-10-11 21:13:12 +02:00
|
|
|
</div>
|
2012-09-17 20:59:26 +02:00
|
|
|
|
2012-10-11 21:13:12 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="span9 compose" id="compose">
|
2012-10-18 20:17:55 +02:00
|
|
|
<div class="close composebox-close" onclick="compose.cancel()">×</div>
|
2012-10-11 21:13:12 +02:00
|
|
|
<div class="message_comp">
|
|
|
|
<div class="alert" id="send-status"></div>
|
2012-11-14 22:19:56 +01:00
|
|
|
<form id="send_message_form" action="/json/send_message" method="post">
|
2012-10-11 21:13:12 +02:00
|
|
|
{% csrf_token %}
|
|
|
|
<table class="compose_table">
|
|
|
|
<tbody>
|
2012-10-15 22:35:46 +02:00
|
|
|
<tr class="ztable_layout_row">
|
2012-10-11 21:13:12 +02:00
|
|
|
<td class="ztable_col1" />
|
|
|
|
<td class="ztable_col2" />
|
|
|
|
<td class="ztable_col3" />
|
|
|
|
</tr>
|
|
|
|
<tr id="stream-message">
|
2012-10-17 22:03:00 +02:00
|
|
|
<td colspan="2" class="message_header message_header_stream left_part">
|
2012-10-11 21:13:12 +02:00
|
|
|
</td>
|
2012-10-17 22:03:00 +02:00
|
|
|
<td class="message_header message_header_stream right_part">
|
2012-10-25 06:09:28 +02:00
|
|
|
<input type="text" class="recipient_box" name="stream" id="stream"
|
2013-01-16 01:39:50 +01:00
|
|
|
maxlength="30" {% if lurk_stream %}readonly{% endif %}
|
2012-10-25 06:09:28 +02:00
|
|
|
value="" placeholder="Stream" autocomplete="off" tabindex="120"/>
|
2013-02-19 20:14:25 +01:00
|
|
|
>
|
|
|
|
<input type="text" class="recipient_box" name="subject" id="subject"
|
2012-10-25 23:07:44 +02:00
|
|
|
maxlength="60"
|
2012-10-25 06:09:28 +02:00
|
|
|
value="" placeholder="Subject" autocomplete="off" tabindex="130"/>
|
2012-10-11 21:13:12 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
2012-11-08 00:38:21 +01:00
|
|
|
<tr id="private-message">
|
2012-12-03 19:49:12 +01:00
|
|
|
<td colspan="2" class="message_header message_header_private_message left_part"></td>
|
2013-02-16 09:43:27 +01:00
|
|
|
<td class="message_header message_header_private_message right_part dark_background">
|
2012-11-08 00:38:21 +01:00
|
|
|
You and <input type="text" class="recipient_box" name="recipient" id="private_message_recipient"
|
2012-10-25 06:09:28 +02:00
|
|
|
value="" placeholder="one or more people..." autocomplete="off" tabindex="130"/>
|
2012-10-11 21:13:12 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-01-11 22:14:37 +01:00
|
|
|
<td class="message_picture"></td>
|
2012-10-11 21:13:12 +02:00
|
|
|
<td class="pointer"></td>
|
|
|
|
<td class="messagebox">
|
|
|
|
<div class="message_content">
|
2012-10-25 06:09:28 +02:00
|
|
|
<textarea class="new_message_textarea" name="content" id="new_message_content"
|
2012-12-21 18:24:52 +01:00
|
|
|
value="" placeholder="Compose your message here..." tabindex="140" maxlength="10000"></textarea>
|
2012-11-29 16:44:16 +01:00
|
|
|
<div id="send_controls">
|
2013-01-10 23:57:12 +01:00
|
|
|
<a class="compose_help_text" href="#markdown-help" data-toggle="modal" tabindex="160">Formatting</a>
|
|
|
|
<br />
|
2012-12-05 19:11:36 +01:00
|
|
|
<input type="submit" value="Send" id="compose-send-button" class="btn btn-primary send_message" tabindex="150"/>
|
2012-11-29 16:44:16 +01:00
|
|
|
</div>
|
2012-10-11 21:13:12 +02:00
|
|
|
</div>
|
2013-01-11 23:18:27 +01:00
|
|
|
<div id="tab-enter-message">(Send with Tab, then Enter)</div>
|
2012-10-11 21:13:12 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</div>
|
2012-09-24 21:02:13 +02:00
|
|
|
</div>
|
2012-10-11 21:13:12 +02:00
|
|
|
</div>
|
2013-01-30 21:49:56 +01:00
|
|
|
|
2013-01-31 21:09:23 +01:00
|
|
|
<div id="notifications-area">
|
|
|
|
<div id="notifications-bar"></div>
|
|
|
|
</div>
|