##// END OF EJS Templates
admin: enable navigation links from plugins
admin: enable navigation links from plugins

File last commit:

r85:d384ac58
r92:546a2a3c
Show More
admin-configuration-view.html
83 lines | 3.0 KiB | text/html | HtmlLexer
components: admin panel componentized
r85 <ng-include src="'templates/loader.html'" ng-if="$ctrl.loading.config"></ng-include>
project: initial commit
r0
components: admin panel componentized
r85 <div class="panel panel-default" ng-show="!$ctrl.loading.config">
project: initial commit
r0 <div class="panel-heading">
<h3 class="panel-title">Basic Configuration</h3>
</div>
<div class="panel-body">
<h2>Visual</h2>
<form class="form-horizontal">
<div class="form-group">
<label class="control-label col-sm-4 col-lg-3">
Footer HTML
</label>
<div class="col-sm-8 col-lg-9">
components: admin panel componentized
r85 <textarea class="form-control" type="text" ng-model="$ctrl.configs.global.template_footer_html.value" style="min-height: 150px"></textarea>
project: initial commit
r0 </div>
</div>
</form>
<h2>Functional</h2>
<form class="form-horizontal">
<div class="form-group">
<label class="control-label col-sm-4 col-lg-3">
Show user groups to non-admin users
</label>
<div class="col-sm-8 col-lg-9">
components: admin panel componentized
r85 <button type="button" class="btn btn-default" ng-model="$ctrl.configs.global.list_groups_to_non_admins.value" uib-btn-checkbox>
project: initial commit
r0 Enable
</button>
</div>
</div>
</form>
<h2>Global Rate Limiting</h2>
<form class="form-horizontal">
<div class="form-group">
<label class="control-label col-sm-4 col-lg-3">
Ignore reports per minute/per application
</label>
<div class="col-sm-8 col-lg-9">
components: admin panel componentized
r85 <input class="form-control" type="number" ng-model="$ctrl.configs.global.per_application_reports_rate_limit.value" />
project: initial commit
r0 </div>
</div>
<div class="form-group">
<label class="control-label col-sm-4 col-lg-3">
Ignore logs per minute/per application
</label>
<div class="col-sm-8 col-lg-9">
components: admin panel componentized
r85 <input class="form-control" type="number" ng-model="$ctrl.configs.global.per_application_logs_rate_limit.value" />
project: initial commit
r0 </div>
</div>
<div class="form-group">
<label class="control-label col-sm-4 col-lg-3">
Ignore metrics per minute/per application
</label>
<div class="col-sm-8 col-lg-9">
components: admin panel componentized
r85 <input class="form-control" type="number" ng-model="$ctrl.configs.global.per_application_metrics_rate_limit.value" />
project: initial commit
r0 </div>
</div>
</form>
<hr/>
components: admin panel componentized
r85 <a class="btn btn-primary" ng-click="$ctrl.save()">Save configuration</a>
project: initial commit
r0 </div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Plugin Configuration</h3>
</div>
<div class="panel-body">
<plugin-config section="'admin.config'">
</plugin-config>
</div>
</div>