Skip to content

Commit b642a34

Browse files
author
OpenShift Bot
authored
Merge pull request #2223 from rhamilto/issue-2213
Merged by openshift-bot
2 parents 5638978 + d8ec8f4 commit b642a34

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

Diff for: app/views/quota.html

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<div class="middle">
22
<div class="middle-content">
3-
<div class="container-fluid mar-top-xl">
3+
<div class="container-fluid">
44
<alerts alerts="alerts"></alerts>
5-
<div class="row">
6-
<div class="col-md-12">
75
<h1>
86
<span ng-if="clusterQuotas.length">Cluster </span>Quota
97
<span class="page-header-link">
@@ -68,7 +66,7 @@ <h3 class="text-center">Memory <small>Limit</small></h3>
6866
</thead>
6967
<tbody>
7068
<tr ng-if='!quota.status.total.used' class="danger">
71-
<td colspan="5">
69+
<td colspan="4">
7270
<span data-toggle="tooltip" title="Missing quota status" class="pficon pficon-error-circle-o" style="cursor: help;"></span>
7371
Status has not been reported on this quota usage record. Any resources limited by this quota record can not be allocated.
7472
</td>
@@ -159,7 +157,7 @@ <h3 class="text-center">Memory <small>Limit</small></h3>
159157
</thead>
160158
<tbody>
161159
<tr ng-if='!quota.status.used' class="danger">
162-
<td colspan="5">
160+
<td colspan="3">
163161
<span data-toggle="tooltip" title="Missing quota status" class="pficon pficon-error-circle-o" style="cursor: help;"></span>
164162
Status has not been reported on this quota usage record. Any resources limited by this quota record can not be allocated.
165163
</td>
@@ -243,8 +241,7 @@ <h2 ng-if="limitRanges.length">{{limitRange.metadata.name}}</h2>
243241
</span>
244242
</th>
245243
</thead>
246-
<tbody>
247-
<tr ng-repeat-start="limit in limitRange.spec.limits"></tr>
244+
<tbody ng-repeat="limit in limitRange.spec.limits">
248245
<tr ng-repeat="(type, typeLimits) in limitsByType[limitRange.metadata.name][limit.type]">
249246
<td>{{limit.type}} {{type | computeResourceLabel : true}}</td>
250247
<td>{{(typeLimits.min | usageWithUnits : type) || "&mdash;"}}</td>
@@ -253,14 +250,11 @@ <h2 ng-if="limitRanges.length">{{limitRange.metadata.name}}</h2>
253250
<td>{{(typeLimits["default"] | usageWithUnits : type) || "&mdash;"}}</td>
254251
<td>{{typeLimits.maxLimitRequestRatio || "&mdash;"}}</td>
255252
</tr>
256-
<tr ng-repeat-end></tr>
257253
</tbody>
258254
</table>
259255
</div>
260256
</div>
261257
</div>
262-
</div><!-- /col-* -->
263-
</div>
264258
</div>
265259
</div><!-- /middle-content -->
266260
</div>

Diff for: dist/scripts/templates.js

+4-10
Original file line numberDiff line numberDiff line change
@@ -12792,10 +12792,8 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
1279212792
$templateCache.put('views/quota.html',
1279312793
"<div class=\"middle\">\n" +
1279412794
"<div class=\"middle-content\">\n" +
12795-
"<div class=\"container-fluid mar-top-xl\">\n" +
12795+
"<div class=\"container-fluid\">\n" +
1279612796
"<alerts alerts=\"alerts\"></alerts>\n" +
12797-
"<div class=\"row\">\n" +
12798-
"<div class=\"col-md-12\">\n" +
1279912797
"<h1>\n" +
1280012798
"<span ng-if=\"clusterQuotas.length\">Cluster </span>Quota\n" +
1280112799
"<span class=\"page-header-link\">\n" +
@@ -12858,7 +12856,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
1285812856
"</thead>\n" +
1285912857
"<tbody>\n" +
1286012858
"<tr ng-if=\"!quota.status.total.used\" class=\"danger\">\n" +
12861-
"<td colspan=\"5\">\n" +
12859+
"<td colspan=\"4\">\n" +
1286212860
"<span data-toggle=\"tooltip\" title=\"Missing quota status\" class=\"pficon pficon-error-circle-o\" style=\"cursor: help\"></span>\n" +
1286312861
"Status has not been reported on this quota usage record. Any resources limited by this quota record can not be allocated.\n" +
1286412862
"</td>\n" +
@@ -12940,7 +12938,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
1294012938
"</thead>\n" +
1294112939
"<tbody>\n" +
1294212940
"<tr ng-if=\"!quota.status.used\" class=\"danger\">\n" +
12943-
"<td colspan=\"5\">\n" +
12941+
"<td colspan=\"3\">\n" +
1294412942
"<span data-toggle=\"tooltip\" title=\"Missing quota status\" class=\"pficon pficon-error-circle-o\" style=\"cursor: help\"></span>\n" +
1294512943
"Status has not been reported on this quota usage record. Any resources limited by this quota record can not be allocated.\n" +
1294612944
"</td>\n" +
@@ -13015,8 +13013,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
1301513013
"</span>\n" +
1301613014
"</th>\n" +
1301713015
"</thead>\n" +
13018-
"<tbody>\n" +
13019-
"<tr ng-repeat-start=\"limit in limitRange.spec.limits\"></tr>\n" +
13016+
"<tbody ng-repeat=\"limit in limitRange.spec.limits\">\n" +
1302013017
"<tr ng-repeat=\"(type, typeLimits) in limitsByType[limitRange.metadata.name][limit.type]\">\n" +
1302113018
"<td>{{limit.type}} {{type | computeResourceLabel : true}}</td>\n" +
1302213019
"<td>{{(typeLimits.min | usageWithUnits : type) || \"&mdash;\"}}</td>\n" +
@@ -13025,16 +13022,13 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
1302513022
"<td>{{(typeLimits[\"default\"] | usageWithUnits : type) || \"&mdash;\"}}</td>\n" +
1302613023
"<td>{{typeLimits.maxLimitRequestRatio || \"&mdash;\"}}</td>\n" +
1302713024
"</tr>\n" +
13028-
"<tr ng-repeat-end></tr>\n" +
1302913025
"</tbody>\n" +
1303013026
"</table>\n" +
1303113027
"</div>\n" +
1303213028
"</div>\n" +
1303313029
"</div>\n" +
1303413030
"</div>\n" +
1303513031
"</div>\n" +
13036-
"</div>\n" +
13037-
"</div>\n" +
1303813032
"</div>"
1303913033
);
1304013034

0 commit comments

Comments
 (0)