Changeset 12780
- Timestamp:
- 07/20/15 16:29:08 (9 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/clients/clients.cshtml
r12584 r12780 86 86 <th>#</th> 87 87 <th>Client Name</th> 88 <th>Group Name</th> 88 89 <th>Cores</th> 89 90 <th>Cpu Utilization</th> … … 96 97 <td>{{($index + 1)+((curExpiredClientsPage-1)*(expiredClientsPageSize))}}</td> 97 98 <td>{{client.Name}}</td> 99 <td> 100 <span ng-show="client.GroupName">{{client.GroupName}}</span> 101 <span ng-hide="client.GroupName">No Group</span> 102 </td> 98 103 <td>{{client.UsedCores}} / {{client.TotalCores}}</td> 99 104 <td>{{client.CpuUtilization | number: 2}} %</td> -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/clients/details/clientDetails.cshtml
r12778 r12780 203 203 <div class="form-group" style="margin-left: 5px; margin-right: 5px;"> 204 204 <div class="btn-group" dropdown dropdown-append-to-body> 205 <button type="button" class="btn btn-default dropdown-toggle" dropdown-toggle style="width: 1 30px; text-align: left;">206 <span class="text-left" style="display: inline-block; width: 85px;">{{curQuickSelection.name}}</span>205 <button type="button" class="btn btn-default dropdown-toggle" dropdown-toggle style="width: 145px; text-align: left;"> 206 <span class="text-left" style="display: inline-block; width: 100px;">{{curQuickSelection.name}}</span> 207 207 <span class="glyphicon glyphicon-chevron-down" style="margin-top: 3px;"></span> 208 208 </button> -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/clients/details/clientDetailsCtrl.js
r12778 r12780 176 176 { id: 2, name: 'Yesterday' }, 177 177 { id: 3, name: 'Last 7 Days' }, 178 { id: 4, name: 'Last 30 Days' } 178 { id: 4, name: 'Last 30 Days' }, 179 { id: 5, name: 'Last 6 Months' }, 180 { id: 6, name: 'Last Year' } 179 181 ]; 180 182 $scope.changeQuickSelection = function (quickSelection) { … … 196 198 case 4: 197 199 $scope.fromDate = new Date(today.valueOf() - (30 * oneDayInMs)); 200 $scope.toDate = new Date(today.valueOf()); 201 break; 202 case 5: 203 var month = today.getMonth() - 6; 204 if (month < 0) { 205 month += 12; 206 } 207 $scope.fromDate = new Date(today.valueOf()); 208 $scope.fromDate.setMonth(month); 209 $scope.toDate = new Date(today.valueOf()); 210 break; 211 case 6: 212 $scope.fromDate = new Date(today.valueOf()); 213 $scope.fromDate.setFullYear(today.getFullYear() - 1); 198 214 $scope.toDate = new Date(today.valueOf()); 199 215 break; -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/groups/details/groupDetails.cshtml
r12778 r12780 232 232 <div class="form-group" style="margin-left: 5px; margin-right: 5px;"> 233 233 <div class="btn-group" dropdown dropdown-append-to-body> 234 <button type="button" class="btn btn-default dropdown-toggle" dropdown-toggle style="width: 1 30px; text-align: left;">235 <span class="text-left" style="display: inline-block; width: 85px;">{{curQuickSelection.name}}</span>234 <button type="button" class="btn btn-default dropdown-toggle" dropdown-toggle style="width: 145px; text-align: left;"> 235 <span class="text-left" style="display: inline-block; width: 100px;">{{curQuickSelection.name}}</span> 236 236 <span class="glyphicon glyphicon-chevron-down" style="margin-top: 3px;"></span> 237 237 </button> -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/groups/details/groupDetailsCtrl.js
r12778 r12780 109 109 { id: 2, name: 'Yesterday' }, 110 110 { id: 3, name: 'Last 7 Days' }, 111 { id: 4, name: 'Last 30 Days' } 111 { id: 4, name: 'Last 30 Days' }, 112 { id: 5, name: 'Last 6 Months' }, 113 { id: 6, name: 'Last Year' } 112 114 ]; 113 115 $scope.changeQuickSelection = function (quickSelection) { … … 129 131 case 4: 130 132 $scope.fromDate = new Date(today.valueOf() - (30 * oneDayInMs)); 133 $scope.toDate = new Date(today.valueOf()); 134 break; 135 case 5: 136 var month = today.getMonth() - 6; 137 if (month < 0) { 138 month += 12; 139 } 140 $scope.fromDate = new Date(today.valueOf()); 141 $scope.fromDate.setMonth(month); 142 $scope.toDate = new Date(today.valueOf()); 143 break; 144 case 6: 145 $scope.fromDate = new Date(today.valueOf()); 146 $scope.fromDate.setFullYear(today.getFullYear() - 1); 131 147 $scope.toDate = new Date(today.valueOf()); 132 148 break; -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Status/3.3/WebApp/history/history.cshtml
r12768 r12780 32 32 <div class="form-group" style="margin-left: 5px; margin-right: 5px;"> 33 33 <div class="btn-group" dropdown dropdown-append-to-body> 34 <button type="button" class="btn btn-default dropdown-toggle" dropdown-toggle style="width: 1 30px; text-align: left;">35 <span class="text-left" style="display: inline-block; width: 85px;">{{curQuickSelection.name}}</span>34 <button type="button" class="btn btn-default dropdown-toggle" dropdown-toggle style="width: 145px; text-align: left;"> 35 <span class="text-left" style="display: inline-block; width: 100px;">{{curQuickSelection.name}}</span> 36 36 <span class="glyphicon glyphicon-chevron-down" style="margin-top: 3px;"></span> 37 37 </button> -
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Status/3.3/WebApp/history/historyCtrl.js
r12584 r12780 51 51 { id: 2, name: 'Yesterday' }, 52 52 { id: 3, name: 'Last 7 Days' }, 53 { id: 4, name: 'Last 30 Days' } 53 { id: 4, name: 'Last 30 Days' }, 54 { id: 5, name: 'Last 6 Months' }, 55 { id: 6, name: 'Last Year' } 54 56 ]; 55 57 $scope.changeQuickSelection = function (quickSelection) { … … 71 73 case 4: 72 74 $scope.fromDate = new Date(today.valueOf() - (30 * oneDayInMs)); 75 $scope.toDate = new Date(today.valueOf()); 76 break; 77 case 5: 78 var month = today.getMonth() - 6; 79 if (month < 0) { 80 month += 12; 81 } 82 $scope.fromDate = new Date(today.valueOf()); 83 $scope.fromDate.setMonth(month); 84 $scope.toDate = new Date(today.valueOf()); 85 break; 86 case 6: 87 $scope.fromDate = new Date(today.valueOf()); 88 $scope.fromDate.setFullYear(today.getFullYear()-1); 73 89 $scope.toDate = new Date(today.valueOf()); 74 90 break;
Note: See TracChangeset
for help on using the changeset viewer.