diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-10-11 15:37:42 +0200 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-10-13 13:06:49 +0200 |
commit | 0b424aa34effb9865e8e7cbcefe73d77b9465647 (patch) | |
tree | 362e7e3b4bbedef6abb88e25ee9e2f0c1ba0a555 /ogcp/templates/actions/client_details.html | |
parent | 3e7801e4872ac81f67e746da89cda43fd00ff592 (diff) |
Add partitions info to client details
Show a table with client's disks and partitions information.
Diffstat (limited to 'ogcp/templates/actions/client_details.html')
-rw-r--r-- | ogcp/templates/actions/client_details.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ogcp/templates/actions/client_details.html b/ogcp/templates/actions/client_details.html index 39963bd..d4158bf 100644 --- a/ogcp/templates/actions/client_details.html +++ b/ogcp/templates/actions/client_details.html @@ -10,4 +10,28 @@ button_map={'create': 'primary'}, extra_classes="mx-5") }} +<table class="table"> + <tbody class="text-center"> + <tr> + <th>Partition</th> + <th>Type</th> + <th>Filesytem</th> + <th>Size (KB)</th> + <th>Image</th> + <th colspan="2"></th> + </tr> + </tbody> + <tbody class="text-center"> + {% for entry in setup %} + <tr> + <td>{{ entry.partition }}</td> + <td>{{ entry.code }}</td> + <td>{{ entry.filesystem }}</td> + <td>{{ entry.size }}</td> + <td>{{ entry.image }}</td> + </tr> + {% endfor %} + </tbody> +</table> + {% endblock %} |