##// END OF EJS Templates
components: whole settings panel componentized
components: whole settings panel componentized

File last commit:

r83:437edeed
r83:437edeed
Show More
applications-purge-logs-view.html
39 lines | 1.8 KiB | text/html | HtmlLexer
<ng-include src="'templates/loader.html'" ng-if="$ctrl.loading.applications"></ng-include>
<div ng-show="!$ctrl.loading.applications">
<div class="panel panel-default">
<div class="panel-heading" ng-include="'templates/settings_breadcrumbs.html'"></div>
<div class="panel-body">
<form method="post" class="form-horizontal" name="$ctrl.form" ng-submit="$ctrl.purgeLogs()">
<div class="form-group">
<label class="control-label col-sm-3 col-lg-2">Application:</label>
<div class="col-sm-9 col-lg-10 form-inline">
<select ng-model="$ctrl.selectedResource" ng-change="$ctrl.getCommonKeys()"
ng-options="r.resource_id as r.resource_name for r in $ctrl.applications" class="form-control"></select>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3 col-lg-2">Namespace:</label>
<div class="col-sm-9 col-lg-10">
<input type="text" name="namespace" ng-model="$ctrl.namespace"
placeholder="Namespace to filter on" uib-typeahead="ns for ns in $ctrl.commonNamespaces"
class="form-control">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3 col-lg-2"></label>
<div class="col-sm-8 col-lg-9 ">
<input class="form-control btn btn-primary" name="submit" type="submit" value="Purge logs meeting the criteria">
</div>
</div>
</form>
</div>
</div>
</div>