Files
libopenanal/templates/conf.html

60 lines
1.6 KiB
HTML
Raw Normal View History

2018-10-30 22:55:36 +10:00
{% extends "base.html" %}
{% block head %}
{{ super() }}
2018-10-30 22:55:36 +10:00
{% 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>
</ul>
<br>
<div class="row">
<div class="col-sm-12">
<h4>Summary</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>
2018-10-28 13:07:06 +03:00
</div>
</div>
2018-10-28 13:07:06 +03:00
<table class="table table-hover table-sm">
<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>
</thead>
<tbody>
2018-10-28 13:07:06 +03:00
{% for conf in confs %}
<tr>
<th scope="row">{{ loop.index }}</th>
2018-10-31 19:41:16 +03:00
<td><a href="/overview/conf/{{conf.1}}">{{ conf.0 }}</a></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 %}
</tbody>
</table>
2018-10-30 22:55:36 +10:00
{% endblock %}
{% block scripts %}
{{ super() }}
2018-10-31 19:41:16 +03:00
{% endblock %}