|
28 | 28 | <alerts alerts="alerts"></alerts>
|
29 | 29 | <div class="row">
|
30 | 30 | <div class="col-md-12">
|
31 |
| - <table class="table table-bordered table-hover table-mobile"> |
| 31 | + <table class="table table-bordered table-hover table-mobile table-layout-fixed"> |
| 32 | + <colgroup> |
| 33 | + <col class="col-sm-2"> |
| 34 | + <col class="col-sm-1"> |
| 35 | + <col class="col-sm-2"> |
| 36 | + <col class="col-sm-2"> |
| 37 | + <col class="col-sm-2"> |
| 38 | + <col class="col-sm-1"> |
| 39 | + <col class="col-sm-2 hidden-sm"> |
| 40 | + </colgroup> |
32 | 41 | <thead>
|
33 | 42 | <tr>
|
34 | 43 | <th>Name</th>
|
|
37 | 46 | <th>Duration</th>
|
38 | 47 | <th>Created</th>
|
39 | 48 | <th>Type</th>
|
40 |
| - <th>Source</th> |
| 49 | + <th ng-class="{'hidden-sm' : (latestByConfig | hashSize)}">Source</th> |
41 | 50 | </tr>
|
42 | 51 | </thead>
|
43 | 52 | <tbody ng-if="!(latestByConfig | hashSize)">
|
|
54 | 63 | <td class="hidden-xs"> </td>
|
55 | 64 | <td class="hidden-xs"> </td>
|
56 | 65 | <td data-title="Type">{{buildConfigs[buildConfigName].spec.strategy.type | startCase}}</td>
|
57 |
| - <td ng-if-end data-title="Source"> |
| 66 | + <td ng-if-end data-title="Source" class="hidden-sm"> |
58 | 67 | <span ng-if="buildConfigs[buildConfigName].spec.source.type == 'None'"><i>none</i></span>
|
59 |
| - <span class="word-break" ng-if="buildConfigs[buildConfigName].spec.source.type == 'Git'" ><osc-git-link |
| 68 | + <span ng-if="buildConfigs[buildConfigName].spec.source.type == 'Git'" ><osc-git-link |
60 | 69 | uri="buildConfigs[buildConfigName].spec.source.git.uri"
|
61 | 70 | ref="buildConfigs[buildConfigName].spec.source.git.ref"
|
62 | 71 | context-dir="buildConfigs[buildConfigName].spec.source.contextDir">{{buildConfigs[buildConfigName].spec.source.git.uri}}</osc-git-link></span></td>
|
@@ -95,15 +104,15 @@ <h1>
|
95 | 104 | <span am-time-ago="latestBuild.metadata.creationTimestamp"></span>
|
96 | 105 | </td>
|
97 | 106 | <td data-title="Type">{{latestBuild.spec.strategy.type | startCase}}</td>
|
98 |
| - <td ng-if-end data-title="Source" class="word-break-all"> |
| 107 | + <td ng-if-end data-title="Source" class="hidden-sm"> |
99 | 108 | <span ng-if="latestBuild.spec.source">
|
100 | 109 | <span ng-if="latestBuild.spec.source.type == 'None'">
|
101 | 110 | <i>none</i>
|
102 | 111 | </span>
|
103 |
| - <span class="word-break"><osc-git-link |
104 |
| - uri="latestBuild.spec.source.git.uri" |
105 |
| - ref="latestBuild.spec.source.git.ref" |
106 |
| - context-dir="latestBuild.spec.source.contextDir">{{latestBuild.spec.source.git.uri}}</osc-git-link></span> |
| 112 | + <osc-git-link |
| 113 | + uri="latestBuild.spec.source.git.uri" |
| 114 | + ref="latestBuild.spec.source.git.ref" |
| 115 | + context-dir="latestBuild.spec.source.contextDir">{{latestBuild.spec.source.git.uri}}</osc-git-link> |
107 | 116 | </span>
|
108 | 117 | </td>
|
109 | 118 | </tr>
|
|
0 commit comments