-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
23 lines (23 loc) · 864 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.1.3/dist/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<table class="table table-striped">
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Namespace</th>
<th scope="col">IP</th>
<th scope="col">Node</th>
<th scope="col">Status</th>
</tr>
</thead>
<tbody>
{% for pod in pods_list %}
<tr>
<td style="width: 10%;">{{ pod['name'] }}</td>
<td style="width: 10%;">{{ pod['namespace'] }}</td>
<td style="width: 10%;">{{ pod['ip'] }}</td>
<td style="width: 10%;">{{ pod['node'] }}</td>
<td style="width: 10%;">{{ pod['status'] }}</td>
</tr>
{% endfor %}
</tbody>
</table>