2019-02-06 15:48:31 -05:00
|
|
|
@(rootAccountName: String)(implicit request: play.api.mvc.Request[Any], customLinks: models.CustomLinks, meta: models.Meta)
|
2018-07-27 10:18:29 -04:00
|
|
|
|
|
|
|
@content = {
|
|
|
|
<!-- PAGE CONTENT -->
|
|
|
|
<div class="right_col" role="main">
|
|
|
|
|
|
|
|
<!-- BREADCRUMB -->
|
|
|
|
<ul class="breadcrumb">
|
|
|
|
<li><a href="/">Home</a></li>
|
|
|
|
<li class="active">Batch Changes</li>
|
|
|
|
</ul>
|
|
|
|
<!-- END BREADCRUMB -->
|
|
|
|
|
|
|
|
<!-- PAGE TITLE -->
|
|
|
|
<div class="page-title"><h3><span class="fa fa-list-ol"></span> Batch Changes {{ getPageTitle() }}</h3></div>
|
|
|
|
<!-- END PAGE TITLE -->
|
|
|
|
|
|
|
|
<!-- PAGE CONTENT WRAPPER -->
|
|
|
|
<div class="page-content-wrap">
|
|
|
|
<div class="alert-wrapper">
|
|
|
|
<div ng-repeat="alert in alerts">
|
|
|
|
<notification ng-model="alert"></notification>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<!-- SIMPLE DATABLE -->
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="btn-group">
|
|
|
|
<a href="/batchchanges/new" class="btn btn-default"><span class="fa fa-plus"></span> New Batch Change</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
|
|
|
|
<!-- PAGINATION -->
|
|
|
|
<div class="dataTables_paginate">
|
|
|
|
<ul class="pagination">
|
|
|
|
<li class="paginate_button previous">
|
|
|
|
<a type="button" ng-if="prevPageEnabled()" ng-click="prevPage()">Previous</a>
|
|
|
|
</li>
|
|
|
|
<li class="paginate_button next">
|
|
|
|
<a type="button" ng-if="nextPageEnabled()" ng-click="nextPage()">Next</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<!-- END PAGINATION -->
|
|
|
|
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Time</th>
|
|
|
|
<th>Batch ID</th>
|
|
|
|
<th>Change Count</th>
|
|
|
|
<th>Status</th>
|
|
|
|
<th class="col-md-3">Description</th>
|
|
|
|
<th>Action</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="batchChange in batchChanges|filter:query">
|
|
|
|
<td ng-bind="batchChange.createdTimestamp"></td>
|
|
|
|
<td><a href="/batchchanges/{{batchChange.id}}">{{batchChange.id}}</a></td>
|
|
|
|
<td ng-bind="batchChange.totalChanges"></td>
|
|
|
|
<td>
|
|
|
|
<span ng-if="batchChange.status =='Complete'" class="label label-success">{{batchChange.status}}</span>
|
|
|
|
<span ng-if="batchChange.status =='PartialFailure'" class="label label-warning">Partial Failure</span>
|
|
|
|
<span ng-if="batchChange.status =='Failed'" class="label label-danger">{{batchChange.status}}</span>
|
|
|
|
</td>
|
|
|
|
<td ng-bind="batchChange.comments" class="col-md-3"></td>
|
|
|
|
<td>
|
|
|
|
<a type="button" class="btn btn-info btn-rounded"
|
|
|
|
ng-href="/batchchanges/{{ batchChange.id }}">
|
|
|
|
View
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<!-- PAGINATION -->
|
|
|
|
<div class="dataTables_paginate">
|
|
|
|
<ul class="pagination">
|
|
|
|
<li class="paginate_button previous">
|
|
|
|
<a ng-if="prevPageEnabled()" ng-click="prevPage()">Previous</a>
|
|
|
|
</li>
|
|
|
|
<li class="paginate_button next">
|
|
|
|
<a ng-if="nextPageEnabled()" ng-click="nextPage()">Next</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<!-- END PAGINATION -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
}
|
|
|
|
|
|
|
|
@plugins = {}
|
|
|
|
|
|
|
|
@main(rootAccountName)("BatchChangesController")("Batch Changes")(content)(plugins)
|