Move add new default stream box to top.

Fixes #4734.
This commit is contained in:
hackerkid 2017-05-10 22:19:45 +05:30 committed by Tim Abbott
parent f651c7fb18
commit 9aaf175ec6
1 changed files with 12 additions and 11 deletions

View File

@ -12,6 +12,18 @@
<p>{{#tr this}}Configure the default streams new users are subscribed to when joining your organization.{{/tr}}</p>
</div>
{{#if is_admin}}
<form class="form-horizontal default-stream-form">
<div class="add-new-default-stream-box grey-bg">
<div class="new-default-stream-section-title">{{t "Add new default stream" }}</div>
<div class="control-group" id="default_stream_inputs">
<label for="default_stream_name" class="control-label">{{t "Stream name" }}</label>
<input class="create_default_stream" type="text" placeholder="{{t "Stream name" }}" name="stream_name" autocomplete="off"></input>
</div>
</div>
</form>
{{/if}}
<div class="progressive-table-wrapper">
<table class="table table-condensed table-striped">
<thead>
@ -25,15 +37,4 @@
</div>
<div id="admin_page_default_streams_loading_indicator"></div>
{{#if is_admin}}
<form class="form-horizontal default-stream-form">
<div class="add-new-default-stream-box grey-bg">
<div class="new-default-stream-section-title">{{t "Add new default stream" }}</div>
<div class="control-group" id="default_stream_inputs">
<label for="default_stream_name" class="control-label">{{t "Stream name" }}</label>
<input class="create_default_stream" type="text" placeholder="{{t "Stream name" }}" name="stream_name" autocomplete="off"></input>
</div>
</div>
</form>
{{/if}}
</div>