[12560] | 1 | @using HeuristicLab.Services.Access.DataTransfer
|
---|
| 2 | @using HeuristicLab.Services.Hive
|
---|
| 3 | @if (Request.IsAuthenticated && User.IsInRole(HiveRoles.Administrator)) {
|
---|
| 4 | <header class="view-header">
|
---|
| 5 | <ul class="nav nav-list nav-list-topbar pull-left">
|
---|
| 6 | <li>
|
---|
| 7 | <a ng-href="#/statistics/jobs">Jobs</a>
|
---|
| 8 | </li>
|
---|
| 9 | <li>
|
---|
| 10 | <a ng-href="#/statistics/users">Users</a>
|
---|
| 11 | </li>
|
---|
| 12 | <li>
|
---|
| 13 | <a ng-href="#/statistics/clients">Clients</a>
|
---|
| 14 | </li>
|
---|
| 15 | <li>
|
---|
| 16 | <a ng-href="#/statistics/groups">Groups</a>
|
---|
| 17 | </li>
|
---|
| 18 | <li class="active">
|
---|
| 19 | <a ng-href="#/statistics/exceptions">Exceptions</a>
|
---|
| 20 | </li>
|
---|
| 21 | </ul>
|
---|
| 22 | </header>
|
---|
| 23 |
|
---|
| 24 | <div class="default-view-container">
|
---|
| 25 | <div class="row">
|
---|
| 26 | <div class="col-lg-12">
|
---|
| 27 | <div class="panel panel-default">
|
---|
| 28 | <div class="panel-heading">
|
---|
| 29 | <h3 class="panel-title">Groups</h3>
|
---|
| 30 | </div>
|
---|
| 31 | <div class="panel-body">
|
---|
[14820] | 32 | <table class="table table-hover table-condensed" ts-wrapper>
|
---|
[12560] | 33 | <thead>
|
---|
| 34 | <tr>
|
---|
| 35 | <th>#</th>
|
---|
[14820] | 36 | <th ts-criteria="JobName">Job</th>
|
---|
| 37 | <th ts-criteria="TaskId">Task</th>
|
---|
| 38 | <th ts-criteria="UserName">Username</th>
|
---|
| 39 | <th ts-criteria="ClientName">Client</th>
|
---|
| 40 | <th ts-criteria="Date">Date</th>
|
---|
[12560] | 41 | <th></th>
|
---|
| 42 | </tr>
|
---|
| 43 | </thead>
|
---|
[14820] | 44 | <tr ng-repeat="exception in exceptionPage.Exceptions" ts-repeat>
|
---|
[12560] | 45 | <td>{{($index + 1)+((curExceptionsPage-1)*(exceptionsPageSize))}}</td>
|
---|
| 46 | <td><a ng-href="#/statistics/jobs/{{exception.JobId}}">{{exception.JobName}}</a></td>
|
---|
[12773] | 47 | <td>{{exception.TaskId}}</td>
|
---|
[12560] | 48 | <td><a ng-href="#/statistics/users/{{exception.UserId}}">{{exception.UserName}}</a></td>
|
---|
| 49 | <td><a ng-href="#/statistics/clients/{{exception.ClientId}}">{{exception.ClientName}}</a></td>
|
---|
| 50 | <td>{{exception.Date | toDate}}</td>
|
---|
| 51 | <td><a class="cursor-pointer" ng-click="openDialog(exception.Details)">Details</a></td>
|
---|
| 52 | </tr>
|
---|
| 53 | <tr ng-hide="exceptionPage.Exceptions.length">
|
---|
| 54 | <td colspan="7" class="text-center">No exceptions found!</td>
|
---|
| 55 | </tr>
|
---|
| 56 | </table>
|
---|
| 57 | <div class="row text-center" ng-show="exceptionPage.TotalExceptions > exceptionPage.Exceptions.length">
|
---|
| 58 | <pagination max-size="10" total-items="exceptionPage.TotalExceptions" ng-model="curExceptionsPage" ng-change="changeExceptionsPage()"
|
---|
| 59 | items-per-page="exceptionsPageSize" boundary-links="true" rotate="false" num-pages="numPages"></pagination>
|
---|
| 60 | </div>
|
---|
| 61 | </div>
|
---|
| 62 | </div>
|
---|
| 63 | </div>
|
---|
| 64 | </div>
|
---|
| 65 | </div>
|
---|
| 66 | } |
---|