zulip/templates/zephyr/home.html

77 lines
4.8 KiB
HTML

<div class="row-fluid">
<div class="span12">
<div class="zephyr_list" id="main_div">
<table id="loading_indicator">
<tr><td id="loading_spinner"></td><td>Loading...</td></tr>
</table>
<br/><br/>
<table class="zephyr_table focused_table" id="zhome">
<tbody>
</tbody>
</table>
<table class="zephyr_table" id="zfilt">
<tbody>
</tbody>
</table>
<br/><br/>
<div class="row" id="narrowbox">
<div class="pull-left" id="narrowlabel">
<span id="currently_narrowed_to"></span>
</div>
<div class="close" onclick="show_all_messages()">&times;</div>
</div>
<div id="bottom_whitespace"></div>
</div>
<div class="zephyr_compose" id="zephyr_compose">
<div class="alert" id="send-status"></div>
<div class="close composebox-close" onclick="hide_compose()">&times;</div>
<div class="zephyr_comp">
<form action="/send_message/" method="post" class="zephyr">
<input type="hidden" name="type" value="class" id="new_message_type"/>
{% csrf_token %}
<table class="zephyr_compose_table">
<tbody>
<tr style="visibility: collapse;">
<td class="ztable_col1" />
<td class="ztable_col2" />
<td class="ztable_col3" />
</tr>
<tr id="class-message">
<td colspan="2" class="zephyr_newstyle_class">
<input type="text" class="zephyr_recipient_box" name="class" id="class" onchange="focus_on('instance')" value="" placeholder="Stream" autocomplete="off"/>
</td>
<td class="zephyr_newstyle_instance">
<input type="text" class="zephyr_recipient_box" name="instance" id="instance" onchange="focus_on('new_message_content')" value="" placeholder="Topic" autocomplete="off"/>
</td>
</tr>
<tr id="personal-message">
<td colspan="3" class="zephyr_newstyle_pm">
Huddle with <input type="text" class="zephyr_recipient_box" name="recipient" id="huddle_recipient" onblur="focus_on('new_message_content')" value="" placeholder="one or more of your friends..." autocomplete="off"/>
</td>
</tr>
<tr>
<td class="zephyr_picture">
<div id="stream_or_huddle">
<ul class="nav nav-pills nav-stacked" id="message-type-tabs">
<li class="active"><a href="#class-message" data-toggle="pill">Stream</a></li>
<li><a href="#personal-message" data-toggle="pill">Huddle</a></li>
</ul>
</div>
</td>
<td class="pointer"></td>
<td class="messagebox">
<div class="zephyr_content">
<textarea class="zephyr_message" name="content" id="new_message_content" value="" placeholder="Compose your message here..."></textarea>
<input type="submit" value="Send" class="btn send_zephyr"/>
</div>
</td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
</div>
</div>