add some line-breaks to improve readability
This commit is contained in:
parent
7f971acfa5
commit
e515cc277b
|
@ -11,14 +11,19 @@
|
||||||
<body>
|
<body>
|
||||||
<div id="container">
|
<div id="container">
|
||||||
{% if debug %}
|
{% if debug %}
|
||||||
<div class="alert alert-danger" role="alert" style="text-align: center;"><b>DEBUG</b></div>
|
<div class="alert alert-danger" role="alert" style="text-align: center;">
|
||||||
|
<b>DEBUG</b>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for headline, list in objs %}
|
{% for headline, list in objs %}
|
||||||
{% if list|length > 0 %}
|
{% if list|length > 0 %}
|
||||||
<h1>{{ headline }}</h2>
|
<h1>{{ headline }}</h2>
|
||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
{% for client, value in list %}
|
{% for client, value in list %}
|
||||||
<li class="list-group-item{{ ' list-group-item-success' if client.connected else loop.cycle('" style="background-color: #eee;', '') }}">{{ client.nick }}{{ " (" + client.identifier + ")" if debug }}<span class="badge">{{ value }}</span></li>
|
<li class="list-group-item{{ ' list-group-item-success' if client.connected else loop.cycle('" style="background-color: #eee;', '') }}">
|
||||||
|
{{ client.nick }}{{ " (" + client.identifier + ")" if debug }}
|
||||||
|
<span class="badge">{{ value }}</span>
|
||||||
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue