Added blocktime generation

Also refactored the "base" template stuff - really should've done that in
a separate commit
This commit is contained in:
2024-07-15 20:46:36 +01:00
parent eb08b348b1
commit 846a9b94c7
5 changed files with 79 additions and 38 deletions

View File

@@ -0,0 +1,13 @@
{% extends "base" %}
{% block content %}
<h1>Big Tim Results</h1>
<div class="blockchain_infos">
{% for bts in blocktimes %}
<div class="blockchain_info">
<h2>{{bts[0]}}</h2>
<p>Height: <span class="result">{{bts[1]}}</span></p>
</div>
{% endfor %}
</div>
<p>I hope that was useful for you! <a href="/">Go home</a> to try again.
{% endblock content %}