zulip/templates/zephyr/home.html

123 lines
7.0 KiB
HTML
Raw Normal View History

<div class="container-fluid">
<div class="row-fluid">
<div class="span8">
<div id="wrapper">
<div class="zephyr_list scrolling-tab" 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="pull-right close" onclick="show_all_messages()">&times;</div>
</div>
<div id="bottom_whitespace"></div>
</div>
</div>
<div class="tabbable zephyr_compose" id="zephyr_compose">
<div class="tab-content">
<div class="alert" id="send-status"></div>
<div class="pull-right"><button type="button" class="close" onclick="hide_compose()">×</button></div>
<div id="stream_or_huddle">
<ul class="nav nav-pills nav-stacked" id="zephyr-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>
<div class="tab-pane active" id="class-message">
<div class="zephyr_comp">
<form action="/send_message/" method="post" class="zephyr">
<input type="hidden" name="type" value="class" />
{% 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>
<td colspan="2" class="zephyr_newstyle_class">
<input type="text" class="zephyr_recipient_box" name="class" id="class" value="" placeholder="Stream" autocomplete="off"/>
</td>
<td class="zephyr_newstyle_instance">
<input type="text" class="zephyr_recipient_box" name="instance" id="instance" value="" placeholder="Topic" autocomplete="off"/>
</td>
</tr>
<tr>
<td class="zephyr_picture"></td>
<td class="pointer"></td>
<td class="messagebox">
<div class="zephyr_content">
<textarea class="zephyr_message" name="content" id="new_zephyr" 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 class="tab-pane" id="personal-message">
<div class="zephyr_comp">
<form action="/send_message/" method="post" class="zephyr">
<input type="hidden" name="type" value="personal" />
{% 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>
<td colspan="3" class="zephyr_newstyle_pm">
Huddle with <input type="text" class="zephyr_recipient_box" name="recipient" id="recipient" value="" placeholder="one or more of your friends..." autocomplete="off"/>
</td>
</tr>
<tr>
<td class="zephyr_picture"></td>
<td class="pointer"></td>
<td class="messagebox personal-message">
<div class="zephyr_content">
<textarea class="zephyr_message" name="content" id="new_personal_zephyr" value="" placeholder="Compose your message here..."></textarea>
<input type="submit" name="personal_zephyr" value="Send" class="btn send_zephyr"/>
</div>
</td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="span1" id="nav-indicators">
<div id="top-nav">
<i class="icon-arrow-up" onclick="simulate_keypress(33);"></i>
</div>
<div id="bottom-nav">
<i class="icon-fast-forward" onclick="go_to_high_water_mark();"></i>
<br />
<i class="icon-arrow-down" onclick="simulate_keypress(34);"></i>
</div>
</div>
</div>
</div>