* builds with echo now instead of gin * beginning of web UI * factor out util functions
This commit is contained in:
29
view/index.html
Normal file
29
view/index.html
Normal file
@@ -0,0 +1,29 @@
|
||||
{% 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>
|
||||
<th scope="col">Key</th>
|
||||
<th scope="col">Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for stat in stats %}
|
||||
<tr>
|
||||
{{stat.key}}
|
||||
</tr>
|
||||
<tr>
|
||||
{{stat.value}}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user