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">
|
2012-10-26 19:55:39 +02:00
|
|
|
<div id="searchbox" class="always_in_view">
|
2012-11-14 22:12:21 +01:00
|
|
|
<form id="searchbox_form" class="form-search form-inline">
|
2012-11-01 19:20:51 +01:00
|
|
|
<div id="search_arrows">
|
2012-11-14 21:08:49 +01:00
|
|
|
<input class="search-query" id="search_query" type="text" placeholder="Search…" onfocus="search.focus_search();" autocomplete="off">
|
2012-11-14 20:52:53 +01:00
|
|
|
<button class="btn search_button search_button_middle" type="button" id="search_up" onclick="search.search_button_handler(true);"><i class="icon-chevron-up"></i></button>
|
|
|
|
<button class="btn search_button search_button_middle" type="button" id="search_down" onclick="search.search_button_handler(false);"><i class="icon-chevron-down"></i></button>
|
|
|
|
<button class="btn search_button" type="button" id="search_exit" onclick="search.clear_search();"><i class="icon-remove"></i></button>
|
2012-10-26 16:57:58 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2012-10-15 21:11:16 +02:00
|
|
|
<div class="narrowed_to_bar">
|
2012-10-15 16:23:20 +02:00
|
|
|
<div id="narrowlabel">
|
2012-10-18 20:12:04 +02:00
|
|
|
<div class="close" onclick="narrow.show_all_messages()">×</div>
|
2012-10-15 16:23:20 +02:00
|
|
|
<span id="currently_narrowed_to"></span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-10-15 21:11:16 +02:00
|
|
|
<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>
|
|
|
|
<tr style="display: none;" id="current_label_huddle" class="recipient_row">
|
2012-10-17 22:03:00 +02:00
|
|
|
<td colspan="2" class="message_label_clickable message_header message_header_huddle left_part"></td>
|
|
|
|
<td class="message_label_clickable message_header message_header_huddle 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">
|
2012-10-19 21:59:12 +02:00
|
|
|
<div id="top_whitespace"></div>
|
2012-10-26 16:57:58 +02:00
|
|
|
<div id="top_narrowed_whitespace"></div>
|
2012-11-28 22:17:57 +01:00
|
|
|
<table id="load_more_messages_indicator">
|
|
|
|
<tr><td id="load_more_messages_spinner"></td></tr>
|
|
|
|
</table>
|
2012-11-27 23:17:30 +01:00
|
|
|
<table id="loading_indicator">
|
|
|
|
<tr><td id="loading_spinner"></td><td>Loading...</td></tr>
|
|
|
|
</table>
|
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>
|
|
|
|
<br/><br/>
|
|
|
|
<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"
|
2012-10-25 23:07:44 +02:00
|
|
|
maxlength="30"
|
2012-10-25 06:09:28 +02:00
|
|
|
value="" placeholder="Stream" autocomplete="off" tabindex="120"/>
|
|
|
|
| <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-10-17 22:03:00 +02:00
|
|
|
<td colspan="2" class="message_header message_header_huddle left_part"></td>
|
|
|
|
<td class="message_header message_header_huddle right_part">
|
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>
|
|
|
|
<td class="message_picture">
|
|
|
|
<div id="stream_or_huddle">
|
2012-11-05 21:01:49 +01:00
|
|
|
<ul class="nav nav-pills nav-stacked" id="message-type-tabs">
|
2012-11-26 19:04:22 +01:00
|
|
|
<li class="active" id="stream_toggle">
|
2012-11-29 20:35:24 +01:00
|
|
|
<a href="#stream-message" data-toggle="pill" title="Send a stream message" tabindex="100" onclick="compose.set_mode('stream');">
|
2012-10-25 06:09:28 +02:00
|
|
|
<i class="icon-bullhorn"></i>
|
|
|
|
</a>
|
|
|
|
</li>
|
2012-11-26 19:04:22 +01:00
|
|
|
<li id="private_message_toggle">
|
2012-11-29 20:35:24 +01:00
|
|
|
<a href="#private-message" data-toggle="pill" title="Send a private message" tabindex="110" onclick="compose.set_mode('private');">
|
2012-10-25 06:09:28 +02:00
|
|
|
<i class="icon-user"></i>
|
|
|
|
</a>
|
|
|
|
</li>
|
2012-10-11 21:13:12 +02:00
|
|
|
</ul>
|
2012-09-17 20:59:26 +02:00
|
|
|
</div>
|
2012-10-11 21:13:12 +02:00
|
|
|
</td>
|
|
|
|
<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-04 04:56:58 +01:00
|
|
|
value="" placeholder="Compose your message here, and send by pressing Tab then Enter." tabindex="140"></textarea>
|
2012-11-29 16:44:16 +01:00
|
|
|
<div id="send_controls">
|
2012-11-29 17:00:43 +01:00
|
|
|
<a id="fmt_help_link" href="#markdown-help" data-toggle="modal" tabindex="160">Formatting help</a>
|
2012-11-29 16:44:16 +01:00
|
|
|
<input type="submit" value="Send" id="compose-send-button" class="btn send_message" tabindex="150"/>
|
|
|
|
</div>
|
2012-11-26 16:54:25 +01:00
|
|
|
<div tabindex="151" onfocus="ui.safari_composebox_workaround();"></div>
|
2012-10-11 21:13:12 +02:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</div>
|
2012-09-24 21:02:13 +02:00
|
|
|
</div>
|
2012-10-11 21:13:12 +02:00
|
|
|
</div>
|