Added current block info and skeleton of website
This commit is contained in:
@@ -3,6 +3,15 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Big Tim</title>
|
||||
<style>
|
||||
.blockchain_infos {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.blockchain_info {
|
||||
margin: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome to Blockchain Time</h1><p>A.K.A. Big Tim</p>
|
||||
@@ -17,11 +26,28 @@
|
||||
<div>
|
||||
<h2>Convert from Blockchain Time</h2>
|
||||
<h3>Booo</h3>
|
||||
<p>why are you going this way??? Don't you know your blocktimes??</p>
|
||||
...
|
||||
</div>
|
||||
<div class="cur_blocks">
|
||||
...
|
||||
<h2>Current Block Heights and Times</h2>
|
||||
<div class="blockchain_infos">
|
||||
{% for bi in blockchain_infos %}
|
||||
<div class="blockchain_info">
|
||||
<h3>{{ bi[0] }}</h3>
|
||||
<p>Blockheight: {{ bi[1].latest_block_height }}</p>
|
||||
<p>Time Seen: {{ bi[1].latest_block_time }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
{#__tera_context#}
|
||||
<form action="update_blockchains">
|
||||
<input type="submit" value="Update Blockchain Information" />
|
||||
</form>
|
||||
<p>Pressing the above button might take some time... or it might crash the appliaction...
|
||||
or it'll do what you want... you won't know till you press it.</p>
|
||||
|
||||
|
||||
{{ __tera_context }}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user