add some line-breaks to improve readability

This commit is contained in:
Thor77 2015-08-27 12:28:00 +02:00
parent 7f971acfa5
commit e515cc277b
1 changed files with 7 additions and 2 deletions

View File

@ -11,14 +11,19 @@
<body>
<div id="container">
{% 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 %}
{% for headline, list in objs %}
{% if list|length > 0 %}
<h1>{{ headline }}</h2>
<ul class="list-group">
{% 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 %}
</ul>
{% endif %}