2018-10-30 22:55:36 +10:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block head %}
|
|
|
|
{{ super() }}
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{{ super() }}
|
|
|
|
<ul class="nav nav-pills">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="/">Users</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link active" href="/conf">Conferences</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="/stat">2ch.hk Stats</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link disabled" href="#">Disabled</a>
|
|
|
|
</li>
|
2018-10-28 13:07:06 +03:00
|
|
|
</ul>
|
2018-10-30 22:55:36 +10:00
|
|
|
<br>
|
2018-10-28 13:07:06 +03:00
|
|
|
|
|
|
|
<div class="row">
|
2018-10-30 22:55:36 +10:00
|
|
|
<div class="col-sm-12">
|
|
|
|
<h4>Totals</h4>
|
|
|
|
<b>Users: </b> {{ totals.users[0] }}<br>
|
|
|
|
<b>Unique words: </b> {{ totals.words[0] }}<br>
|
|
|
|
<b>Words said: </b> {{ totals.relations[0] }}<br>
|
|
|
|
<b>Chats fetched: </b> {{ totals.confs[0] }}<br>
|
|
|
|
</div>
|
2018-10-28 13:07:06 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class="table table-hover table-sm">
|
2018-10-30 22:55:36 +10:00
|
|
|
<thead>
|
2018-10-28 13:07:06 +03:00
|
|
|
<tr>
|
2018-10-30 22:55:36 +10:00
|
|
|
<th scope="col">#</th>
|
|
|
|
<th scope="col">Title</th>
|
|
|
|
<th scope="col">ID</th>
|
|
|
|
<th scope="col">Added</th>
|
|
|
|
<th scope="col">Members</th>
|
|
|
|
<th scope="col">Words said</th>
|
2018-10-28 13:07:06 +03:00
|
|
|
</tr>
|
2018-10-30 22:55:36 +10:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2018-10-28 13:07:06 +03:00
|
|
|
{% for conf in confs %}
|
2018-10-30 22:55:36 +10:00
|
|
|
<tr>
|
|
|
|
<th scope="row">{{ loop.index }}</th>
|
|
|
|
<td>{{ conf.0 }}</td>
|
|
|
|
<td>{{ conf.1 }}</td>
|
|
|
|
<td>{{ conf.2 }}</td>
|
|
|
|
<td>{{ conf.4 }}</td>
|
|
|
|
<td>{{ conf.3 }}</td>
|
|
|
|
</tr>
|
2018-10-28 13:07:06 +03:00
|
|
|
{% endfor %}
|
2018-10-30 22:55:36 +10:00
|
|
|
</tbody>
|
2018-10-28 13:07:06 +03:00
|
|
|
</table>
|
2018-10-30 22:55:36 +10:00
|
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
|
|
{{ super() }}
|
|
|
|
{% endblock %}
|