truncate hashes, smooth absent vars, remove dead link

master
lalanza808 5 years ago
parent d785b808e5
commit 4856c7b6b3

@ -31,7 +31,7 @@
<li><a href="https://html5up.net" target=_blank>Design by HTML5 UP</a></li>
<li><a href="https://github.com/lalanza808/monero-block-explorer" target=_blank>Read the source</a></li>
<li><a href="https://github.com/lalanza808/monero-block-explorer/issues/new" target=_blank>File a bug or request</a></li>
<li><a href="https://twitter.com/lza_menace" target=_blank>Holler at me</a></li>
<li><a href="https://twitter.com/lza_menace" target=_blank>Holler at me dog</a></li>
</ul>
</div>
</div>

@ -64,6 +64,7 @@
</section>
</div>
<br><br>
<div class="tx-table">
<table>
<caption><h2>Block Transactions</h2></caption>
<tr>
@ -75,7 +76,7 @@
</tr>
<tr>
<td>√</td>
<td><a href="/transaction/{{ block_header.miner_tx_hash }}">{{ block_header.miner_tx_hash }}</a></td>
<td><a href="/transaction/{{ block_header.miner_tx_hash }}">{{ block_header.miner_tx_hash | truncate(length=8) }}</a></td>
<td>{{ block_header.reward / 1000000000000 }} XMR</td>
<td>0</td>
<td>?</td>
@ -84,7 +85,7 @@
{% for hash in tx_hashes %}
<tr>
<td></td>
<td><a href="/transaction/{{ hash }}">{{ hash }}</a></td>
<td><a href="/transaction/{{ hash }}">{{ hash | truncate(length=8) }}</a></td>
<td>?</td>
<td>?</td>
<td>?</td>
@ -92,6 +93,7 @@
{% endfor %}
{% endif %}
</table>
</div>
<header class="major">
<h2><a href="/block/hash/{{ block_header.prev_hash }}">Previous Block</a></h2>
</header>

@ -1,6 +1,7 @@
{% extends "base" %}
{% block content %}
<section id="main">
<div class="container">
<div class="row">
@ -15,7 +16,7 @@
<header>
<h3>Version</h3>
</header>
<p>{{ version }}</p>
<p>{% if version %}{{ version }}{% else %}?{% endif %}</p>
</section>
</div>
<div class="col-3 col-6-medium col-12-small">
@ -42,8 +43,6 @@
<p>{{ nettype }}</p>
</section>
</div>
</div>
<div class="row">
<div class="col-3 col-6-medium col-12-small">
<section class="box">
<header>
@ -80,6 +79,11 @@
</section>
</div>
</div>
<br><br>
<header class="major">
<h2>Mempool Transactions</h2>
<p>soon</p>
</header>
</div>
</section>

Loading…
Cancel
Save