|
145 | 145 | line-height: 1.5;
|
146 | 146 | }
|
147 | 147 |
|
| 148 | + [data-plugin-style-id="kubernetes-plugin"] .warning-message { |
| 149 | + background-color: #fdf5e2; |
| 150 | + color: #b88c34; |
| 151 | + font-weight: 600; |
| 152 | + font-size: 15px; |
| 153 | + padding: 10px 20px; |
| 154 | + border-radius: 3px; |
| 155 | + margin: 0 0 1rem 0; |
| 156 | + border: 1px solid rgba(10, 10, 10, 0.25); |
| 157 | + position: relative; |
| 158 | + } |
| 159 | + |
148 | 160 | </style>
|
149 | 161 |
|
150 | 162 | <div data-plugin-style-id="kubernetes-plugin">
|
|
243 | 255 | </thead>
|
244 | 256 | </tr>
|
245 | 257 | <tbody>
|
246 |
| - <#list events as event> |
247 |
| - <tr> |
248 |
| - <td>${event.firstTimestamp!}</td> |
249 |
| - <td>${event.lastTimestamp!}</td> |
250 |
| - <td>${event.count!}</td> |
251 |
| - <td>${event.fieldPath!}</td> |
252 |
| - <td>${event.type!}</td> |
253 |
| - <td>${event.reason!}</td> |
254 |
| - <td>${event.message!}</td> |
255 |
| - </tr> |
256 |
| - </#list> |
257 |
| - |
| 258 | + <#list events as event> |
| 259 | + <tr> |
| 260 | + <td>${event.firstTimestamp!}</td> |
| 261 | + <td>${event.lastTimestamp!}</td> |
| 262 | + <td>${event.count!}</td> |
| 263 | + <td>${event.fieldPath!}</td> |
| 264 | + <td>${event.type!}</td> |
| 265 | + <td>${event.reason!}</td> |
| 266 | + <td>${event.message!}</td> |
| 267 | + </tr> |
| 268 | + </#list> |
258 | 269 | </tbody>
|
259 | 270 | </table>
|
260 | 271 | <#else>
|
261 |
| - <tr> |
262 |
| - <td colspan="5" class="message">No events available for the current pod.</td> |
263 |
| - </tr> |
| 272 | + <div class="warning-message">No events available for the current pod.</td> |
264 | 273 | </#if>
|
265 | 274 | </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>") !} |
| 275 | + <div class="tab-content pod-logs" ng-show="currenttab == 'pod-logs'"> |
| 276 | + ${ logs?html?replace("\n", "<br>") !} |
| 277 | + </div> |
| 278 | + <div class="tab-content pod-configuration" ng-show="currenttab == 'pod-configuration'"> |
| 279 | + ${ configuration?html?replace("\n", "<br>") !} |
| 280 | + </div> |
271 | 281 | </div>
|
272 | 282 | </div>
|
273 | 283 | </div>
|
274 |
| - </div> |
275 | 284 |
|
276 |
| -</div> |
| 285 | + </div> |
277 | 286 |
|
278 | 287 |
|
0 commit comments