2017-02-09 08:10:58 +01:00
|
|
|
<div id="admin-default-streams-list" class="settings-section" data-name="default-streams-list">
|
2017-04-20 21:49:12 +02:00
|
|
|
<div class="side-padded-container">
|
2017-05-12 17:15:47 +02:00
|
|
|
<p>{{#tr this}}Configure the default streams new users are subscribed to when joining your organization.{{/tr}}</p>
|
2017-04-20 21:49:12 +02:00
|
|
|
</div>
|
2016-10-05 02:51:18 +02:00
|
|
|
|
2017-05-10 18:49:45 +02:00
|
|
|
{{#if is_admin}}
|
2017-05-12 17:15:47 +02:00
|
|
|
<form class="form-horizontal default-stream-form">
|
2017-08-31 00:13:00 +02:00
|
|
|
<div class="add-new-default-stream-box grey-box">
|
|
|
|
<div class="wrapper">
|
2017-03-28 06:44:02 +02:00
|
|
|
<div class="alert" id="admin-default-stream-status"></div>
|
2017-08-31 00:13:00 +02:00
|
|
|
<div class="settings-section-title">{{t "Add new default stream" }}</div>
|
|
|
|
<div class="inline-block" id="default_stream_inputs">
|
|
|
|
<label for="default_stream_name">{{t "Stream name" }}</label>
|
2018-02-15 22:16:40 +01:00
|
|
|
<input class="create_default_stream" type="text" placeholder="{{t "Stream name" }}" name="stream_name" autocomplete="off" aria-label="{{t "Stream name" }}">
|
2017-08-31 00:13:00 +02:00
|
|
|
</div>
|
|
|
|
<div class="inline-block">
|
2017-06-06 01:57:22 +02:00
|
|
|
<button type="submit" id="do_submit_stream" class="button rounded sea-green">{{t "Add stream" }}</button>
|
2017-03-28 06:41:26 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-10 18:49:45 +02:00
|
|
|
</div>
|
2017-05-12 17:15:47 +02:00
|
|
|
</form>
|
2017-05-10 18:49:45 +02:00
|
|
|
{{/if}}
|
|
|
|
|
2017-07-12 11:13:37 +02:00
|
|
|
<input type="text" class="search" placeholder="{{t 'Filter streams' }}" aria-label="{{t 'Filter streams' }}"/>
|
2017-07-05 21:54:03 +02:00
|
|
|
<div class="clear-float"></div>
|
|
|
|
|
2017-04-20 21:49:12 +02:00
|
|
|
<div class="progressive-table-wrapper">
|
|
|
|
<table class="table table-condensed table-striped">
|
|
|
|
<thead>
|
|
|
|
<th>{{t "Name" }}</th>
|
|
|
|
{{#if is_admin}}
|
2017-05-12 17:15:47 +02:00
|
|
|
<th class="actions">{{t "Actions" }}</th>
|
2017-04-20 21:49:12 +02:00
|
|
|
{{/if}}
|
|
|
|
</thead>
|
2017-05-12 02:48:53 +02:00
|
|
|
<tbody class="required-text" data-empty="{{t 'No default streams match you current filter.' }}"
|
2018-04-05 08:38:46 +02:00
|
|
|
id="admin_default_streams_table" class="admin_default_stream_table"></tbody>
|
2017-04-20 21:49:12 +02:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="admin_page_default_streams_loading_indicator"></div>
|
2016-10-05 02:51:18 +02:00
|
|
|
</div>
|