TeamspeakStats/template.html

28 lines
864 B
HTML
Raw Normal View History

<html>
2015-06-08 15:25:37 -04:00
<head>
<title>{{ title }}</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
{# <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css"> #}
<style type="text/css">
h1, p {
text-align: center;
}
</style>
</head>
<body>
<div id="container">
{% 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 }}<span class="badge">{{ value }}</span></li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
<p>generated in {{ generation_time }} seconds at {{ time }}</p>
</div>
</body>
</html>