feta/view/index.html

38 lines
888 B
HTML
Raw Permalink Normal View History

{% extends "page.html" %}
{% block content %}
<div class="col-lg-12">
<h2>indexer stats</h2>
<table class="table table-striped table-hover">
<thead class="thead-dark">
<tr>
2020-04-05 01:16:37 +00:00
<th scope="col">instance id</th>
<th scope="col">hostname</th>
<th scope="col">status</th>
<th scope="col">tootCount</th>
<th scope="col">Detail</th>
</tr>
</thead>
<tbody>
2020-04-05 01:16:37 +00:00
{% for instance in instances %}
<tr>
2020-04-05 01:16:37 +00:00
<td><a href="/instance/{{instance.uuid}}">{{instance.uuid}}</a></td>
<td><a href="https://{{instance.hostname}}">{{instance.hostname}}</a></td>
<td>{{instance.status}}</td>
<td>{{instance.tootCount}}</td>
<td><a
href="/instance/{{instance.uuid}}"
class="btn btn-info">
<i class="fab fa-mastodon"></i>
</button></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}