##// END OF EJS Templates
requirements: bump elasticsearch
requirements: bump elasticsearch

File last commit:

r85:d384ac58
r166:4416ce73
Show More
admin-partitions-view.html
92 lines | 3.9 KiB | text/html | HtmlLexer
components: admin panel componentized
r85 <ng-include src="'templates/loader.html'" ng-if="$ctrl.loading.partitions"></ng-include>
project: initial commit
r0
components: admin panel componentized
r85 <div ng-show="!$ctrl.loading.partitions">
project: initial commit
r0
<div class="panel panel-default">
<div class="panel-heading">
DELETE Daily Partitions
</div>
components: admin panel componentized
r85 <form name="$ctrl.dailyPartitionsForm"
novalidate ng-submit="$ctrl.partitionsDelete('dailyPartitions')"
project: initial commit
r0 class="form-inline"
components: admin panel componentized
r85 ng-class="{'has-error':$ctrl.dailyPartitionsForm.$invalid}">
project: initial commit
r0
<div class="panel-body">
<input type="text" name="confirm"
components: admin panel componentized
r85 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
project: initial commit
r0
</div>
<table class="table table-striped">
<tr>
<th class="c1 date">Date</th>
<th class="c2 indices">Indices</th>
</tr>
components: admin panel componentized
r85 <tr class="r{{$index}}" ng-repeat="row in $ctrl.dailyPartitions">
project: initial commit
r0 <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>
components: admin panel componentized
r85 <form name="$ctrl.permanentPartitionsForm" novalidate
ng-submit="$ctrl.partitionsDelete('permanentPartitions')"
project: initial commit
r0 class="form-inline"
components: admin panel componentized
r85 ng-class="{'has-error':$ctrl.permanentPartitionsForm.$invalid}">
project: initial commit
r0
<div class="panel-body">
<div class="form-group">
<input type="text" name="confirm"
components: admin panel componentized
r85 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
project: initial commit
r0 </div>
</div>
<table class="table table-striped">
<tr>
<th class="c1 date">Date</th>
<th class="c2 indices">Indices</th>
</tr>
components: admin panel componentized
r85 <tr class="r{{$index}}" ng-repeat="row in $ctrl.permanentPartitions">
project: initial commit
r0 <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>