1 | @using HeuristicLab.Services.Hive
|
---|
2 | @if (Request.IsAuthenticated && User.IsInRole(HiveRoles.Administrator)) {
|
---|
3 | <div class="modal-header">
|
---|
4 | <button type="button" ng-click="close()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
---|
5 | <h4 class="modal-title">Task #{{taskNo}} - {{task.Id}}</h4>
|
---|
6 | </div>
|
---|
7 | <div class="modal-body" style="height: 440px">
|
---|
8 | <tabset>
|
---|
9 | <tab heading="Details">
|
---|
10 | <div style="height: 340px" class="center-block">
|
---|
11 | <div class="row" style="padding-top: 30px">
|
---|
12 | <div class="col-md-6">
|
---|
13 | <table class="table table-condensed table-no-border table-auto-width table-content">
|
---|
14 | <tr>
|
---|
15 | <td>Start Time:</td>
|
---|
16 | <td ng-show="task.StartTime" class="text-left">{{task.StartTime | toDate}}</td>
|
---|
17 | <td ng-hide="task.StartTime" class="text-left">Not started</td>
|
---|
18 | </tr>
|
---|
19 | <tr>
|
---|
20 | <td>End Time:</td>
|
---|
21 | <td ng-show="task.EndTime" class="text-left">{{task.EndTime | toDate}}</td>
|
---|
22 | <td ng-hide="task.EndTime" class="text-left">Not finished</td>
|
---|
23 | </tr>
|
---|
24 | <tr>
|
---|
25 | <td>State:</td>
|
---|
26 | <td>{{task.State}}</td>
|
---|
27 | </tr>
|
---|
28 | </table>
|
---|
29 | </div>
|
---|
30 |
|
---|
31 | <div class="col-md-6">
|
---|
32 | <table class="table table-condensed table-no-border table-auto-width table-content">
|
---|
33 | <tr>
|
---|
34 | <td>Slave:</td>
|
---|
35 | <td>
|
---|
36 | <a ng-click="close()" ng-href="#/statistics/clients/{{task.LastClientId}}" ng-show="task.LastClientName">{{task.LastClientName}}</a>
|
---|
37 | <span ng-hide="task.LastClientName">None</span>
|
---|
38 | </td>
|
---|
39 | </tr>
|
---|
40 | <tr>
|
---|
41 | <td>User:</td>
|
---|
42 | <td>
|
---|
43 | <a ng-click="close()" ng-href="#/statistics/users/{{task.UserId}}" ng-show="task.UserName">{{task.UserName}}</a>
|
---|
44 | <span ng-hide="task.UserName">Unknown</span>
|
---|
45 | </td>
|
---|
46 | </tr>
|
---|
47 | <tr>
|
---|
48 | <td>Job:</td>
|
---|
49 | <td>
|
---|
50 | <a ng-click="close()" ng-href="#/statistics/jobs/{{task.JobId}}" ng-show="task.JobName">{{task.JobName}}</a>
|
---|
51 | <span ng-hide="task.JobName">Unknown</span>
|
---|
52 | </td>
|
---|
53 | </tr>
|
---|
54 | </table>
|
---|
55 | </div>
|
---|
56 | </div>
|
---|
57 | <div class="row" style="padding-top: 30px">
|
---|
58 | <div class="col-md-6">
|
---|
59 | <table class="table table-condensed table-no-border table-auto-width table-content">
|
---|
60 | <tr>
|
---|
61 | <td>Total Time:</td>
|
---|
62 | <td>{{task.TotalTime | toTimespan}}</td>
|
---|
63 | </tr>
|
---|
64 | <tr>
|
---|
65 | <td>Initial Waiting Time:</td>
|
---|
66 | <td>{{task.InitialWaitingTime | toTimespan}}</td>
|
---|
67 | </tr>
|
---|
68 | <tr>
|
---|
69 | <td>Waiting Time:</td>
|
---|
70 | <td>{{task.WaitingTime | toTimespan}}</td>
|
---|
71 | </tr>
|
---|
72 | <tr>
|
---|
73 | <td>Calculating Time:</td>
|
---|
74 | <td>{{task.CalculatingTime | toTimespan}}</td>
|
---|
75 | </tr>
|
---|
76 | <tr>
|
---|
77 | <td>Transfer Time:</td>
|
---|
78 | <td>{{task.TransferTime | toTimespan}}</td>
|
---|
79 | </tr>
|
---|
80 | </table>
|
---|
81 | </div>
|
---|
82 | <div class="col-md-6">
|
---|
83 | <table class="table table-condensed table-no-border table-auto-width table-content">
|
---|
84 | <tr>
|
---|
85 | <td>Calculation Runs:</td>
|
---|
86 | <td class="text-right">{{task.NumCalculationRuns}}</td>
|
---|
87 | </tr>
|
---|
88 | <tr>
|
---|
89 | <td>Retries Runs:</td>
|
---|
90 | <td class="text-right">{{task.NumRetries}}</td>
|
---|
91 | </tr>
|
---|
92 | <tr>
|
---|
93 | <td>Cores Required:</td>
|
---|
94 | <td class="text-right">{{task.CoresRequired}}</td>
|
---|
95 | </tr>
|
---|
96 | <tr>
|
---|
97 | <td>Memory Required:</td>
|
---|
98 | <td class="text-right">{{task.MemoryRequired}} MB</td>
|
---|
99 | </tr>
|
---|
100 | <tr>
|
---|
101 | <td>Priority:</td>
|
---|
102 | <td class="text-right">{{task.Priority}}</td>
|
---|
103 | </tr>
|
---|
104 | </table>
|
---|
105 | </div>
|
---|
106 | </div>
|
---|
107 | <div class="row">
|
---|
108 | <div class="col-md-12">
|
---|
109 | <table class="table table-condensed table-no-border table-auto-width table-content">
|
---|
110 | <tr>
|
---|
111 | <td><a href="api/Statistics/Task/GetTaskDataById?id={{task.Id}}">Download</a></td>
|
---|
112 | </tr>
|
---|
113 | </table>
|
---|
114 | </div>
|
---|
115 | </div>
|
---|
116 | </div>
|
---|
117 | </tab>
|
---|
118 | <tab heading="Exception" ng-show="task.Exception">
|
---|
119 | <div style="overflow: auto;">
|
---|
120 | <p style="word-wrap: break-word;">{{task.Exception}}</p>
|
---|
121 | </div>
|
---|
122 | </tab>
|
---|
123 | </tabset>
|
---|
124 | </div>
|
---|
125 | } |
---|