[12761] | 1 | @using HeuristicLab.Services.Hive
|
---|
| 2 | <header class="view-header">
|
---|
| 3 | <ul class="nav nav-list nav-list-topbar pull-left">
|
---|
| 4 | <li>
|
---|
| 5 | <a ng-href="#/maintenance/spaceusage">Space Usage</a>
|
---|
| 6 | </li>
|
---|
| 7 | <li>
|
---|
| 8 | <a ng-href="#/maintenance/plugin">Plugin</a>
|
---|
| 9 | </li>
|
---|
| 10 | <li class="active">
|
---|
| 11 | <a ng-href="#/maintenance/facttask">FactTask</a>
|
---|
| 12 | </li>
|
---|
| 13 | <li>
|
---|
| 14 | <a ng-href="#/maintenance/factclientinfo">FactClientInfo</a>
|
---|
| 15 | </li>
|
---|
| 16 | </ul>
|
---|
| 17 | </header>
|
---|
| 18 |
|
---|
| 19 | <div class="default-view-header">
|
---|
| 20 | <form class="form-inline">
|
---|
| 21 | <div class="form-group" style="margin-left: 5px; margin-right: 5px;">
|
---|
| 22 | <label for="fromDate">From: </label>
|
---|
| 23 | <div class="input-group">
|
---|
| 24 | <input id="fromDate" type="text" class="form-control" datepicker-popup="dd.MM.yyyy" ng-model="fromDate" is-open="fromIsOpen" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
|
---|
| 25 | <span class="input-group-btn">
|
---|
| 26 | <button type="button" class="btn btn-default" ng-click="openFromDateSelection($event)"><i class="glyphicon glyphicon-calendar"></i></button>
|
---|
| 27 | </span>
|
---|
| 28 | </div>
|
---|
| 29 | </div>
|
---|
| 30 | <div class="form-group" style="margin-left: 5px; margin-right: 5px;">
|
---|
| 31 | <label for="fromDate">To: </label>
|
---|
| 32 | <div class="input-group">
|
---|
| 33 | <input id="fromDate" type="text" class="form-control" datepicker-popup="dd.MM.yyyy" ng-model="toDate" is-open="toIsOpen" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
|
---|
| 34 | <span class="input-group-btn">
|
---|
| 35 | <button type="button" class="btn btn-default" ng-click="openToDateSelection($event)"><i class="glyphicon glyphicon-calendar"></i></button>
|
---|
| 36 | </span>
|
---|
| 37 | </div>
|
---|
| 38 | </div>
|
---|
| 39 | <div class="form-group" style="margin-left: 5px; margin-right: 5px;">
|
---|
| 40 | <button type="button" class="btn btn-default" ng-click="getJobs()">
|
---|
| 41 | Apply
|
---|
| 42 | </button>
|
---|
| 43 | </div>
|
---|
| 44 | </form>
|
---|
| 45 | </div>
|
---|
| 46 |
|
---|
| 47 | <div class="default-view-container">
|
---|
| 48 | <div class="row">
|
---|
| 49 | <div class="col-lg-12">
|
---|
| 50 | <div class="panel panel-default">
|
---|
| 51 | <div class="panel-heading">
|
---|
| 52 | <h3 class="panel-title">Jobs</h3>
|
---|
| 53 | </div>
|
---|
| 54 | <div class="panel-body">
|
---|
| 55 | <table class="table table-hover table-condensed" ts-wrapper>
|
---|
| 56 | <thead>
|
---|
| 57 | <tr>
|
---|
| 58 | <th>#</th>
|
---|
| 59 | <th ts-criteria="Name">Job Name</th>
|
---|
| 60 | <th ts-criteria="Username">Username</th>
|
---|
| 61 | <th ts-criteria="DateCreated">Date Created</th>
|
---|
| 62 | <th ts-criteria="Tasks">Tasks</th>
|
---|
| 63 | <th class="text-center">
|
---|
| 64 | <a ng-show="jobPage.Jobs.length" class="cursor-pointer" ng-href="" ng-click="aggregateAllJobs()">Aggregate All</a>
|
---|
| 65 | </th>
|
---|
| 66 | </tr>
|
---|
| 67 | </thead>
|
---|
| 68 | <tbody>
|
---|
| 69 | <tr ng-repeat="job in jobPage.Jobs" ts-repeat>
|
---|
| 70 | <td>{{($index + 1)+((curJobsPage-1)*(jobsPageSize))}}</td>
|
---|
| 71 | <td>{{job.Name}}</td>
|
---|
| 72 | <td>{{job.Username}}</td>
|
---|
| 73 | <td>{{job.DateCreated | toDate}}</td>
|
---|
| 74 | <td>{{job.Tasks}}</td>
|
---|
| 75 | <td class="text-center">
|
---|
| 76 | <a ng-hide="job.Aggregated" class="cursor-pointer" ng-href="" ng-click="aggregateJob(job.Id)">Aggregate</a>
|
---|
| 77 | </td>
|
---|
| 78 | </tr>
|
---|
| 79 | </tbody>
|
---|
| 80 | </table>
|
---|
| 81 | <div class="row text-center" ng-show="jobPage.TotalJobs > jobPage.Jobs.length">
|
---|
| 82 | <pagination max-size="10" total-items="jobPage.TotalJobs" ng-model="curJobsPage" ng-change="changeJobsPage()" items-per-page="jobsPageSize"
|
---|
| 83 | boundary-links="true" rotate="false" num-pages="numPages"></pagination>
|
---|
| 84 | </div>
|
---|
| 85 | </div>
|
---|
| 86 | </div>
|
---|
| 87 | </div>
|
---|
| 88 | </div>
|
---|
| 89 |
|
---|
| 90 | </div> |
---|