major overhaul, including:
Some checks failed
continuous-integration/drone/push Build is failing

* builds with echo now instead of gin
* beginning of web UI
* factor out util functions
This commit is contained in:
2020-03-30 16:05:53 -07:00
parent 9655265d85
commit 06df947186
17 changed files with 447 additions and 113 deletions

29
view/index.html Normal file
View 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 %}