|
3 | 3 | padding: 60px 20px 0 20px;
|
4 | 4 | }
|
5 | 5 |
|
6 |
| - [data-plugin-style-id="kubernetes-plugin"] .header { |
| 6 | + [data-plugin-style-id="kubernetes-plugin"] .sub-nav { |
7 | 7 | padding-left: 25px;
|
8 | 8 | }
|
9 | 9 |
|
| 10 | + [data-plugin-style-id="kubernetes-plugin"] .header { |
| 11 | + margin: 25px 0 10px 3px; |
| 12 | + font-weight: 600; |
| 13 | + text-decoration: underline; |
| 14 | + } |
| 15 | + |
10 | 16 | [data-plugin-style-id="kubernetes-plugin"] .tabs {
|
11 | 17 | position: relative;
|
12 | 18 | clear: both;
|
|
71 | 77 | }
|
72 | 78 |
|
73 | 79 | [data-plugin-style-id="kubernetes-plugin"] .tab-content {
|
74 |
| - background: #fff; |
75 | 80 | margin-top: 0;
|
76 |
| - margin: 20px; |
77 | 81 | height: calc(100vh - 280px);
|
78 | 82 | overflow-x: hidden;
|
79 | 83 | }
|
80 | 84 |
|
| 85 | + [data-plugin-style-id="kubernetes-plugin"] .tab-content-outer { |
| 86 | + background: white; |
| 87 | + padding: 20px; |
| 88 | + } |
| 89 | + |
81 | 90 | [data-plugin-style-id="kubernetes-plugin"] .pod-events table {
|
82 | 91 | width: calc(100% - 40px);
|
83 | 92 | min-width: 95%;
|
|
107 | 116 | text-overflow: ellipsis;
|
108 | 117 | overflow: hidden;
|
109 | 118 | }
|
| 119 | + |
| 120 | + [data-plugin-style-id="kubernetes-plugin"] dl.properties { |
| 121 | + overflow: hidden; |
| 122 | + margin: 0; |
| 123 | + font-size: 14px; |
| 124 | + vertical-align: top; |
| 125 | + font-family: "Open Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; |
| 126 | + color: #484848; |
| 127 | + } |
| 128 | + |
| 129 | + [data-plugin-style-id="kubernetes-plugin"] .properties dt { |
| 130 | + float: left; |
| 131 | + clear: both; |
| 132 | + text-align: left; |
| 133 | + min-width: 200px; |
| 134 | + font-weight: 600; |
| 135 | + margin: 0; |
| 136 | + padding: 3px; |
| 137 | + min-height: 20px; |
| 138 | + line-height: 1.5; |
| 139 | + } |
| 140 | + |
| 141 | + [data-plugin-style-id="kubernetes-plugin"] .properties dd { |
| 142 | + margin-left: 200px; |
| 143 | + min-height: 20px; |
| 144 | + padding: 3px; |
| 145 | + line-height: 1.5; |
| 146 | + } |
| 147 | + |
110 | 148 | </style>
|
111 | 149 |
|
112 | 150 | <div data-plugin-style-id="kubernetes-plugin">
|
113 | 151 | <div class="row">
|
114 | 152 | <div class="header-panel">
|
115 |
| - <header class="page-header header"> |
| 153 | + <header class="page-header sub-nav"> |
116 | 154 | <f.row>
|
117 | 155 | <f.column size={6}>
|
118 | 156 | <h1>${ elasticAgentId! }</h1>
|
|
142 | 180 | </ul>
|
143 | 181 | </div>
|
144 | 182 |
|
145 |
| - <div class="tab-content" ng-show="currenttab == 'pod-details'"></div> |
146 |
| - <div class="tab-content pod-events" ng-show="currenttab == 'pod-events'"> |
| 183 | + <div class="tab-content-outer"> |
| 184 | + <div class="tab-content" ng-show="currenttab == 'pod-details'"> |
| 185 | + <h4 class="header">Pod Details</h4> |
| 186 | + <dl class="properties"> |
| 187 | + <dt>Pod Name:</dt> |
| 188 | + <dd>${ podDetails.name !}</dd> |
| 189 | + <dt>Cluster Name:</dt> |
| 190 | + <dd>${ podDetails.clusterName !}</dd> |
| 191 | + <dt>Node Name:</dt> |
| 192 | + <dd>${ podDetails.nodeName !}</dd> |
| 193 | + <dt>Namespace:</dt> |
| 194 | + <dd>${ podDetails.namespace !}</dd> |
| 195 | + |
| 196 | + <dt>Creation Timestamp:</dt> |
| 197 | + <dd>${ podDetails.createdAt !}</dd> |
| 198 | + <dt>Start Timestamp:</dt> |
| 199 | + <dd>${ podDetails.startedAt !}</dd> |
| 200 | + |
| 201 | + <dt>Status:</dt> |
| 202 | + <dd>${ podDetails.phase !}</dd> |
| 203 | + |
| 204 | + <dt>Pod IP:</dt> |
| 205 | + <dd>${ podDetails.podIP !}</dd> |
| 206 | + <dt>Host IP:</dt> |
| 207 | + <dd>${ podDetails.hostIP !}</dd> |
| 208 | + </dl> |
| 209 | + <h4 class="header">GoCD Agent Details</h4> |
| 210 | + <dl class="properties"> |
| 211 | + <dt>Name:</dt> |
| 212 | + <dd>${ agentDetails.name !}</dd> |
| 213 | + <dt>Image:</dt> |
| 214 | + <dd>${ agentDetails.image !}</dd> |
| 215 | + <dt>ImagePullPolicy:</dt> |
| 216 | + <dd>${ agentDetails.imagePullPolicy !}</dd> |
| 217 | + |
| 218 | + <dt>Ready:</dt> |
| 219 | + <dd>${ agentDetails.ready !}</dd> |
| 220 | + |
| 221 | + <dt>Restart Count:</dt> |
| 222 | + <dd>${ agentDetails.restartCount !}</dd> |
| 223 | + |
| 224 | + <dt>Command:</dt> |
| 225 | + <dd>${ agentDetails.command?html?replace("\n", "<br>") !}</dd> |
| 226 | + |
| 227 | + <dt>Environment Variables:</dt> |
| 228 | + <dd>${ agentDetails.env?html?replace("\n", "<br>") !}</dd> |
| 229 | + </dl> |
| 230 | + </div> |
| 231 | + <div class="tab-content pod-events" ng-show="currenttab == 'pod-events'"> |
147 | 232 | <#if events?size != 0>
|
148 | 233 | <table>
|
149 | 234 | <thead>
|
|
177 | 262 | <td colspan="5" class="message">No events available for the current pod.</td>
|
178 | 263 | </tr>
|
179 | 264 | </#if>
|
180 |
| - </div> |
181 |
| - <div class="tab-content pod-logs" ng-show="currenttab == 'pod-logs'"> |
182 |
| - ${ logs?html?replace("\n", "<br>") !} |
183 |
| - </div> |
184 |
| - <div class="tab-content pod-configuration" ng-show="currenttab == 'pod-configuration'"> |
185 |
| - ${ configuration?html?replace("\n", "<br>") !} |
| 265 | + </div> |
| 266 | + <div class="tab-content pod-logs" ng-show="currenttab == 'pod-logs'"> |
| 267 | + ${ logs?html?replace("\n", "<br>") !} |
| 268 | + </div> |
| 269 | + <div class="tab-content pod-configuration" ng-show="currenttab == 'pod-configuration'"> |
| 270 | + ${ configuration?html?replace("\n", "<br>") !} |
| 271 | + </div> |
186 | 272 | </div>
|
187 | 273 | </div>
|
188 | 274 | </div>
|
|
0 commit comments