summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/actions/session.html
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-27 16:12:37 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-28 08:43:34 +0200
commit57b78a03bd86a5ae4055cbce47014d9fab3ee710 (patch)
tree1fb33ab01108c7140feb36d62b87fe09422ce7df /ogcp/templates/actions/session.html
parentf473059902fe7e30bea8bb0e05da3228956f3fd9 (diff)
templates: improve client list in cache and boot os views
Show client IPs inside div components with a custom "card" styling.
Diffstat (limited to 'ogcp/templates/actions/session.html')
-rw-r--r--ogcp/templates/actions/session.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/ogcp/templates/actions/session.html b/ogcp/templates/actions/session.html
index 3a39a10..151c6aa 100644
--- a/ogcp/templates/actions/session.html
+++ b/ogcp/templates/actions/session.html
@@ -39,7 +39,11 @@ The selected clients have different installed OS:
{{ os_choice(class_="form-control") }}
<b>{{ os_choice.label.text }}</b>
</td>
- <td>{{ ', '.join(os_groups[os_choice.data]) }}</td>
+ <td>
+ {% for ip in os_groups[os_choice.data] %}
+ <div class="card d-inline-block" style="padding: 5px;">{{ ip }}</div>
+ {% endfor %}
+ </td>
</tr>
{% endfor %}
</tbody>