applications-purge-logs-view.html
39 lines
| 1.8 KiB
| text/html
|
HtmlLexer
/ frontend / src / components / views / applications-purge-logs-view / applications-purge-logs-view.html
r83 | <ng-include src="'templates/loader.html'" ng-if="$ctrl.loading.applications"></ng-include> | |||
r0 | ||||
r83 | <div ng-show="!$ctrl.loading.applications"> | |||
r0 | <div class="panel panel-default"> | |||
r83 | <div class="panel-heading" ng-include="'templates/settings_breadcrumbs.html'"></div> | |||
r0 | <div class="panel-body"> | |||
r83 | <form method="post" class="form-horizontal" name="$ctrl.form" ng-submit="$ctrl.purgeLogs()"> | |||
r0 | <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"> | ||||
r83 | <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> | ||||
r0 | </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"> | ||||
r83 | <input type="text" name="namespace" ng-model="$ctrl.namespace" | |||
placeholder="Namespace to filter on" uib-typeahead="ns for ns in $ctrl.commonNamespaces" | ||||
r0 | 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> | ||||