[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">
|
---|
| 32 | <table class="table table-hover table-condensed">
|
---|
| 33 | <thead>
|
---|
| 34 | <tr>
|
---|
| 35 | <th>#</th>
|
---|
| 36 | <th>Job</th>
|
---|
| 37 | <th>Task</th>
|
---|
[12778] | 38 | <th>Username</th>
|
---|
[12560] | 39 | <th>Client</th>
|
---|
| 40 | <th>Date</th>
|
---|
| 41 | <th></th>
|
---|
| 42 | </tr>
|
---|
| 43 | </thead>
|
---|
| 44 | <tr ng-repeat="exception in exceptionPage.Exceptions">
|
---|
| 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 | } |
---|