nick-click => direct-link

add onclick-attr to list-items
This commit is contained in:
Thor77 2015-08-28 13:36:45 +02:00
parent b469a1c12e
commit 3efe4c09f0
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
<h1>{{ headline }}</h2>
<ul class="list-group">
{% for client, value in list %}
<li id="{{ client.nick }}" class="list-group-item{{ ' list-group-item-success' if client.connected else loop.cycle('" style="background-color: #eee;', '') }}">
<li id="{{ client.nick }}" onclick="window.location = '#{{ client.nick }}'" 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>