From c1ac88e47c8562699edc9f5304649762366191e0 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Tue, 3 Sep 2024 09:32:37 +0200 Subject: templates: fix ip card list spacing Remove unwanted witespace caused by tabs and spaces. Add margin to the ip card style to define an explicit spacing. --- ogcp/templates/actions/cache.html | 4 +--- ogcp/templates/actions/oglive.html | 22 ++++++++++------------ ogcp/templates/actions/select_client.html | 4 +--- ogcp/templates/actions/session.html | 4 +--- 4 files changed, 13 insertions(+), 21 deletions(-) (limited to 'ogcp/templates/actions') diff --git a/ogcp/templates/actions/cache.html b/ogcp/templates/actions/cache.html index d64aebe..17d8cb4 100644 --- a/ogcp/templates/actions/cache.html +++ b/ogcp/templates/actions/cache.html @@ -42,9 +42,7 @@
∘︎ Checksum: {{images_data[image.selected.label.text]['checksum']}}
- {% for ip in images_data[image.selected.label.text]['clients'] %} -
{{ ip }}
- {% endfor %} + {% for ip in images_data[image.selected.label.text]['clients'] %}
{{ ip }}
{% endfor %} {% endfor %} diff --git a/ogcp/templates/actions/oglive.html b/ogcp/templates/actions/oglive.html index 82bd957..dfffd04 100644 --- a/ogcp/templates/actions/oglive.html +++ b/ogcp/templates/actions/oglive.html @@ -22,21 +22,19 @@ - - - - + + + + {% for oglive, clients in oglives_set.items() %} - - - - + + + + {% endfor %}
ogLiveClients
ogLiveClients
{{oglive}} - {% for ip in clients %} -
{{ ip }}
- {% endfor %} -
{{oglive}} + {% for ip in clients %}
{{ ip }}
{% endfor %} +
diff --git a/ogcp/templates/actions/select_client.html b/ogcp/templates/actions/select_client.html index a44c551..92c6ecb 100644 --- a/ogcp/templates/actions/select_client.html +++ b/ogcp/templates/actions/select_client.html @@ -44,9 +44,7 @@ {% endif %} - {% for ip in ips %} -
{{ ip }}
- {% endfor %} + {% for ip in ips %}
{{ ip }}
{% endfor %} {% endfor %} diff --git a/ogcp/templates/actions/session.html b/ogcp/templates/actions/session.html index 421226d..bcca791 100644 --- a/ogcp/templates/actions/session.html +++ b/ogcp/templates/actions/session.html @@ -40,9 +40,7 @@ The selected clients have different installed OS: {{ os_choice.label.text }} - {% for ip in os_groups[os_choice.data] %} -
{{ ip }}
- {% endfor %} + {% for ip in os_groups[os_choice.data] %}
{{ ip }}
{% endfor %} {% endfor %} -- cgit v1.2.3-18-g5258