2015-04-16 13:08:59 -04:00
|
|
|
<html>
|
2015-06-08 15:25:37 -04:00
|
|
|
<head>
|
|
|
|
<title>{{ title }}</title>
|
2015-08-27 06:49:11 -04:00
|
|
|
<meta charset="utf-8">
|
2016-06-07 12:26:47 -04:00
|
|
|
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/hint.css/2.3.1/hint.min.css" rel="stylesheet" integrity="sha256-8TwJSTMkVAXH6Dfm206gsmzucikwLtBVQjN8qVVHRJA=" crossorigin="anonymous">
|
2015-06-08 15:25:37 -04:00
|
|
|
<style type="text/css">
|
|
|
|
h1, p {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
2015-08-28 16:28:59 -04:00
|
|
|
<div class="container-fluid">
|
2015-06-21 15:28:14 -04:00
|
|
|
{% if debug %}
|
2015-08-27 06:28:00 -04:00
|
|
|
<div class="alert alert-danger" role="alert" style="text-align: center;">
|
|
|
|
<b>DEBUG</b>
|
|
|
|
</div>
|
2015-06-21 15:28:14 -04:00
|
|
|
{% endif %}
|
2015-06-08 15:25:37 -04:00
|
|
|
{% for headline, list in objs %}
|
|
|
|
{% if list|length > 0 %}
|
2016-06-10 10:04:24 -04:00
|
|
|
{% set headline_id = headline|lower|replace(' ', '_') %}
|
2015-06-08 15:25:37 -04:00
|
|
|
<h1>{{ headline }}</h2>
|
2016-06-10 10:04:24 -04:00
|
|
|
<ul class="list-group" id="{{ headline_id }}">
|
2015-06-08 15:25:37 -04:00
|
|
|
{% for client, value in list %}
|
2016-06-10 10:04:24 -04:00
|
|
|
{% set id = headline_id + "." + client.nick %}
|
|
|
|
<li id="{{ id }}" onclick="window.location = '#{{ id }}'" class="list-group-item{{ ' list-group-item-success' if client.connected else loop.cycle('" style="background-color: #eee;', '') }}">
|
2015-09-04 16:06:46 -04:00
|
|
|
<span {% if not client.connected %}class="hint--right" data-hint="{{ client.last_seen|frmttime }}"{% endif %}>{{ client.nick }}{{ " (" + client.identifier + ")" if debug }}</span>
|
2015-08-27 06:28:00 -04:00
|
|
|
<span class="badge">{{ value }}</span>
|
|
|
|
</li>
|
2015-06-08 15:25:37 -04:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2016-07-04 15:14:29 -04:00
|
|
|
<small>Generated by <a href="https://github.com/Thor77/TeamspeakStats">TeamspeakStats</a> at {{ creation_time|frmttime }}</small>
|
2015-06-08 15:25:37 -04:00
|
|
|
</div>
|
|
|
|
</body>
|
2015-04-16 13:08:59 -04:00
|
|
|
</html>
|