zulip/templates/zephyr/subscriptions.html

23 lines
895 B
HTML

{# Subscriptions management tab of the app. #}
<div class="row-fluid">
<div class="span9">
<div class="subscriptions">
<h1>Subscriptions</h1>
<form id="add_new_subscription" action="/json/subscriptions/add"
method="post" class="form-inline">{% csrf_token %}
<input type="text" name="new_subscription" id="new_subscription"
placeholder="Stream name" value="" class="input-xlarge" />
<input type="submit" name="add_subscription" value="Subscribe" class="btn btn-primary" />
</form>
<div class="alert" id="subscriptions-status"></div>
<form id="current_subscriptions" action="/json/subscriptions/remove"
method="post" class="subscriptions">{% csrf_token %}
<table class="table table-condensed" id="subscriptions_table">
<tr></tr>
</table>
</form>
</div>
</div>
</div>