Skip to content

Commit a38ca01

Browse files
committed
update table width; add headers
1 parent bce3aed commit a38ca01

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

app/views/browse/service.html

+10-7
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,8 @@ <h1>
8181
</span>
8282
</dd>
8383
</dl>
84-
<div ng-if="routesForService.length" class="table-responsive small service-table">
85-
<routes-table routes="routesForService" services="services" custom-name-header="routesForService[0].kind"></routes-table>
86-
</div>
87-
<div ng-if="(podsForService | hashSize) > 0" class="table-responsive small service-table">
88-
<pods-table pods="podsForService" active-pods="podsWithEndpoints" custom-name-header="podsForService[0].kind"></pods-table>
89-
</div>
90-
<div ng-if="service.spec.ports.length" class="table-responsive">
84+
<h3 ng-if-start="service.spec.ports.length">Ports</h3>
85+
<div ng-if-end class="table-responsive">
9186
<table class="table table-bordered small service-table">
9287
<thead>
9388
<tr>
@@ -113,6 +108,14 @@ <h1>
113108
</tbody>
114109
</table>
115110
</div>
111+
<h3 ng-if-start="routesForService.length">Routes</h3>
112+
<div ng-if-end class="table-responsive small">
113+
<routes-table routes="routesForService" services="services" custom-name-header="routesForService[0].kind"></routes-table>
114+
</div>
115+
<h3 ng-if-start="(podsForService | hashSize) > 0">Pods</h3>
116+
<div ng-if-end class="table-responsive small">
117+
<pods-table pods="podsForService" active-pods="podsWithEndpoints" custom-name-header="podsForService[0].kind"></pods-table>
118+
</div>
116119
<annotations annotations="service.metadata.annotations"></annotations>
117120
</div>
118121
</uib-tab>

0 commit comments

Comments
 (0)