1
0
Fork 0
mirror of https://github.com/Thor77/TeamspeakStats.git synced 2025-04-09 06:55:34 -04:00

Add margin for list-groups

This commit is contained in:
Thor77 2017-02-25 13:26:38 +01:00
parent 60c299a947
commit 3e7c2e610b
No known key found for this signature in database
GPG key ID: 5051E71B46AA669A

View file

@ -9,7 +9,7 @@
{% if clients|length > 0 %} {% if clients|length > 0 %}
{% set headline_id = [server.sid, headline|lower|replace(' ', '_')]|join('.') %} {% set headline_id = [server.sid, headline|lower|replace(' ', '_')]|join('.') %}
<h2><a href="#{{ headline_id }}">{{ headline }}</a></h2> <h2><a href="#{{ headline_id }}">{{ headline }}</a></h2>
<ul class="list-group" id="{{ headline_id }}"> <ul class="list-group my-3" id="{{ headline_id }}">
{% for client, value in clients %} {% for client, value in clients %}
{% set id = [headline_id, client.nick|striptags]|join('.') %} {% set id = [headline_id, client.nick|striptags]|join('.') %}
<li id="{{ id }}" class="list-group-item justify-content-between{{ ' list-group-item-success' if client.connected else loop.cycle('" style="background-color: #eee;', '') }}"> <li id="{{ id }}" class="list-group-item justify-content-between{{ ' list-group-item-success' if client.connected else loop.cycle('" style="background-color: #eee;', '') }}">