zulip/static/templates/subscription_table_body.hbs

50 lines
2.6 KiB
Handlebars
Raw Normal View History

<div id="subscription_overlay" class="overlay new-style" data-overlay="subscriptions">
<div class="flex overlay-content">
<div class="subscriptions-container modal-bg">
<div class="subscriptions-header">
<div class="fa fa-chevron-left"></div>
<span class="subscriptions-title">{{t 'Streams' }}</span>
<div class="exit">
<span class="exit-sign">&times;</span>
</div>
</div>
<div class="left">
<div class="search-container">
<form id="add_new_subscription" class="form-inline" action="">
{{#if can_create_streams}}
<input type="submit" class="create_stream_button"
value="+" title="{{t 'Create new stream' }} (n)"/>
{{/if}}
<div class="float-clear"></div>
</form>
</div>
<div class="input-append stream_name_search_section" id="stream_filter">
<input type="text" name="stream_name" id="search_stream_name" autocomplete="off"
placeholder="{{t 'Filter streams' }}" value="" form="add_new_subscription" />
<button type="button" class="btn clear_search_button" id="clear_search_stream_name">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
</div>
<div class="streams-list" data-simplebar>
</div>
</div>
<div class="right">
<div class="display-type">
<div id="add_new_stream_title" class="stream-info-title">{{t 'Create stream' }}</div>
<div id="stream_settings_title" class="stream-info-title">{{t 'Stream settings' }}</div>
</div>
<div class="nothing-selected">
{{#if can_create_streams}}
<button type="button" class="create_stream_button button small rounded sea-green">{{t 'Create stream' }}</button>
<span>{{t 'First time? Read our <a href="/help/getting-your-organization-started-with-zulip#create-streams" target="_blank" rel="noopener noreferrer">guidelines</a> for creating and naming streams.' }}</span>
{{/if}}
</div>
<div class="settings" data-simplebar data-simplebar-auto-hide="false">
{{!-- edit stream here --}}
</div>
{{> stream_creation_form }}
</div>
</div>
</div>
</div>