2013-08-12 23:31:23 +02:00
<div class="row-fluid">
<div class="span12">
2014-01-27 21:48:23 +01:00
<div class="administration">
2013-11-22 01:12:53 +01:00
<div class="alert" id="administration-status"></div>
2016-05-12 13:53:41 +02:00
<h1><i class="icon-vector-bolt administration-icon"></i> {{ t "Administration" }} </h1>
2016-01-12 13:23:02 +01:00
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active">
2016-05-12 13:53:41 +02:00
<a href="#organization" aria-controls="organization" role="tab" data-toggle="tab"><i class="icon-vector-gear settings-section-icon"></i> {{ t "Organization settings" }} </a>
2016-01-12 13:23:02 +01:00
</li>
<li role="presentation">
2016-05-12 13:53:41 +02:00
<a href="#users" aria-controls="users" role="tab" data-toggle="tab"><i class="icon-vector-user settings-section-icon"></i> {{ t "Users" }} </a>
2016-01-12 13:23:02 +01:00
</li>
<li role="presentation">
2016-05-12 13:53:41 +02:00
<a href="#deactivated-users" aria-controls="deactivated-users" role="tab" data-toggle="tab"><i class="icon-vector-trash settings-section-icon"></i> {{ t "Deactivated Users" }} </a>
2016-01-12 13:23:02 +01:00
</li>
<li role="presentation">
2016-05-12 13:53:41 +02:00
<a href="#bots" aria-controls="bots" role="tab" data-toggle="tab"><i class="icon-vector-github settings-section-icon"></i> {{ t "Bots" }} </a>
2016-01-12 13:23:02 +01:00
</li>
<li role="presentation">
2016-05-12 13:53:41 +02:00
<a href="#streams" aria-controls="streams" role="tab" data-toggle="tab"><i class="icon-vector-exchange settings-section-icon"></i> {{ t "Streams Deletion" }} </a>
2016-01-12 13:23:02 +01:00
</li>
2016-05-20 22:08:42 +02:00
<li role="presentation">
<a href="#default-streams" aria-controls="default-streams" role="tab" data-toggle="tab"><i class="icon-vector-exchange settings-section-icon"></i> {{ t "Default Streams" }} </a>
</li>
2016-01-12 13:23:02 +01:00
</ul>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="organization">
2016-10-05 02:34:45 +02:00
{{ partial "organization-settings-admin" }}
2016-10-05 02:40:00 +02:00
{{ partial "emoji-settings-admin" }}
2014-02-03 20:14:18 +01:00
</div>
2016-01-12 13:23:02 +01:00
<div role="tabpanel" class="tab-pane" id="users">
2016-10-05 02:45:14 +02:00
{{ partial "user-list-admin" }}
2015-08-20 02:38:32 +02:00
</div>
2016-01-12 13:23:02 +01:00
<div role="tabpanel" class="tab-pane" id="deactivated-users">
2016-10-05 02:46:13 +02:00
{{ partial "deactivated-users-admin" }}
2015-08-20 02:38:32 +02:00
</div>
2016-01-12 13:23:02 +01:00
<div role="tabpanel" class="tab-pane" id="bots">
2016-10-05 02:49:17 +02:00
{{ partial "bot-list-admin" }}
2015-08-20 21:25:30 +02:00
</div>
2016-01-12 13:23:02 +01:00
<div role="tabpanel" class="tab-pane" id="streams">
2016-10-05 02:50:18 +02:00
{{ partial "streams-list-admin" }}
2016-05-20 22:08:42 +02:00
</div>
<div role="tabpanel" class="tab-pane" id="default-streams">
2016-10-05 02:51:18 +02:00
{{ partial "default-streams-list-admin" }}
2016-01-12 13:23:02 +01:00
</div>
2015-11-17 05:58:13 +01:00
</div>
2013-11-22 01:12:53 +01:00
<div id="deactivation_user_modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="deactivation_user_modal_label" aria-hidden="true">
2013-08-12 23:31:23 +02:00
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">× </button>
2016-05-12 13:53:41 +02:00
<h3 id="deactivation_user_modal_label"> {{ t "Deactivate" }} <span class="email"></span></h3>
2013-08-12 23:31:23 +02:00
</div>
<div class="modal-body">
2016-05-12 13:53:41 +02:00
<p> {{ # tr this }} By deactivating <strong><span class="user_name"></span></strong> <<span class="email"></span>>, they will be logged out immediately. {{ / tr }} </p>
<p> {{ t "Their password will be cleared from our systems, and any bots they maintain will be disabled." }} </p>
2013-08-12 23:31:23 +02:00
</div>
<div class="modal-footer">
2016-05-12 13:53:41 +02:00
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true"> {{ t "Cancel" }} </button>
2016-09-14 02:20:13 +02:00
<button class="button btn-danger" id="do_deactivate_user_button"> {{ t "Deactivate now" }} </button>
2013-11-22 01:12:53 +01:00
</div>
</div>
<div id="deactivation_stream_modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="deactivation_stream_modal_label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">× </button>
2016-05-12 13:53:41 +02:00
<h3 id="deactivation_stream_modal_label"> {{ t "Delete stream" }} <span class="stream_name"></span></h3>
2013-11-22 01:12:53 +01:00
</div>
<div class="modal-body">
2016-05-12 13:53:41 +02:00
<p> {{ t "Deleting this stream will immediately unsubscribe everyone, and the stream's content will not be recoverable." }} <strong> {{ t "Are you sure you want to do this?" }} </strong></p>
2013-11-22 01:12:53 +01:00
</div>
<div class="modal-footer">
2016-05-12 13:53:41 +02:00
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true"> {{ t "Cancel" }} </button>
2016-09-14 02:20:13 +02:00
<button class="button btn-danger" id="do_deactivate_stream_button"> {{ t "Yes, delete this stream" }} </button>
2013-08-12 23:31:23 +02:00
</div>
</div>
</div>
</div>
</div>