diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-09-03 09:32:37 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-09-03 09:52:26 +0200 |
commit | c1ac88e47c8562699edc9f5304649762366191e0 (patch) | |
tree | 2e7c0f970e603652805c900cbf656d92b86ec55e /ogcp/templates/actions/oglive.html | |
parent | 15f5af00e73bac87d329d47de257cad50a591b06 (diff) |
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.
Diffstat (limited to 'ogcp/templates/actions/oglive.html')
-rw-r--r-- | ogcp/templates/actions/oglive.html | 22 |
1 files changed, 10 insertions, 12 deletions
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 @@ <table class="table table-hover"> <thead class="thead-light"> - <tr> - <th>ogLive</th> - <th>Clients</th> - </tr> + <tr> + <th>ogLive</th> + <th>Clients</th> + </tr> </thead> <tbody class="text-left"> {% for oglive, clients in oglives_set.items() %} - <tr> - <th>{{oglive}}</th> - <td> - {% for ip in clients %} - <div class="card d-inline-block" style="padding: 5px;">{{ ip }}</div> - {% endfor %} - </td> - </tr> + <tr> + <th>{{oglive}}</th> + <td> + {% for ip in clients %}<div class="card d-inline-block" style="padding: 5px; margin: 3px;">{{ ip }}</div>{% endfor %} + </td> + </tr> {% endfor %} </tbody> </table> |