Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/HeuristicLab.Services.WebApp.Maintenance/3.3/WebApp/facttask/facttask.cshtml @ 17357

Last change on this file since 17357 was 12761, checked in by dglaser, 9 years ago

#2429: Worked on the maintenance WebApp plugin:

  • Space Usage Page: Displays the number of rows and allocated disk space for every database table
  • Plugin Page: Shows unused plugins and provides functionality to delete all and specific plugins
  • FactTask Page: Allows to aggregate all Job Tasks to a single task for a given job or jobs within an selected time period
  • FactClientInfo Page: Allows to aggregate consecutive FactClientInfo entries with the same state and isallowedtocalculate flag
File size: 4.4 KB
Line 
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:&nbsp;</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:&nbsp;</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>
Note: See TracBrowser for help on using the repository browser.