##// END OF EJS Templates
readme updates
readme updates

File last commit:

r85:d384ac58
r191:4c2ceef7
Show More
admin-partitions-view.html
92 lines | 3.9 KiB | text/html | HtmlLexer
<ng-include src="'templates/loader.html'" ng-if="$ctrl.loading.partitions"></ng-include>
<div ng-show="!$ctrl.loading.partitions">
<div class="panel panel-default">
<div class="panel-heading">
DELETE Daily Partitions
</div>
<form name="$ctrl.dailyPartitionsForm"
novalidate ng-submit="$ctrl.partitionsDelete('dailyPartitions')"
class="form-inline"
ng-class="{'has-error':$ctrl.dailyPartitionsForm.$invalid}">
<div class="panel-body">
<input type="text" name="confirm"
placeholder="Enter CONFIRM to proceed" class="form-control input-autosize" confirm-validate required ng-model="$ctrl.dailyConfirm">
<input type="submit" class="btn btn-danger" ng-disabled="$ctrl.dailyPartitionsForm.$invalid">
<input type="checkbox" ng-model="$ctrl.dailyChecked" ng-change="$ctrl.setCheckedList('dailyPartitions')"> Check All
</div>
<table class="table table-striped">
<tr>
<th class="c1 date">Date</th>
<th class="c2 indices">Indices</th>
</tr>
<tr class="r{{$index}}" ng-repeat="row in $ctrl.dailyPartitions">
<td class="c1">{{row[0]}}</td>
<td class="c2">
<ul class="list-group">
<li class="list-group-item" ng-repeat="partition in row[1].elasticsearch">
<input name="es_index" type="checkbox" ng-model="partition.checked"> ES: {{partition.name}}
</li>
<li class="list-group-item" ng-repeat="partition in row[1].pg">
<input name="pg_index" type="checkbox" ng-model="partition.checked"> PG: {{partition.name}}
</li>
</ul>
</td>
</tr>
</table>
</form>
</div>
<div class="panel panel-default">
<div class="panel-heading">
DELETE Permanent Partitions
</div>
<form name="$ctrl.permanentPartitionsForm" novalidate
ng-submit="$ctrl.partitionsDelete('permanentPartitions')"
class="form-inline"
ng-class="{'has-error':$ctrl.permanentPartitionsForm.$invalid}">
<div class="panel-body">
<div class="form-group">
<input type="text" name="confirm"
placeholder="Enter CONFIRM to proceed" class="form-control" confirm-validate required ng-model="$ctrl.permConfirm">
<input type="submit" class="btn btn-danger" ng-disabled="$ctrl.permanentPartitionsForm.$invalid">
<input type="checkbox" ng-model="$ctrl.permChecked" ng-change="$ctrl.setCheckedList('permanentPartitions')"> Check All
</div>
</div>
<table class="table table-striped">
<tr>
<th class="c1 date">Date</th>
<th class="c2 indices">Indices</th>
</tr>
<tr class="r{{$index}}" ng-repeat="row in $ctrl.permanentPartitions">
<td class="c1">{{row[0]}}</td>
<td class="c2">
<ul class="list-group">
<li class="list-group-item" ng-repeat="partition in row[1].elasticsearch">
<input name="es_index" type="checkbox" ng-model="partition.checked"> ES: {{partition.name}}
</li>
<li class="list-group-item" ng-repeat="partition in row[1].pg">
<input name="pg_index" type="checkbox" ng-model="partition.checked"> PG: {{partition.name}}
</li>
</ul>
</td>
</tr>
</table>
</form>
</div>
</div>