Files
Jason Rhinelander 0bce9ab758 Implement search
This works and displays a little differently than before:

- Only one search box for block/tx/SN instead of one for block/tx and
  one for SN
- Put the search box at the top right when the page is wide enough.
- When a search result is found we redirect to its proper URL rather
  than displaying on the search URL
2020-08-31 16:56:21 -03:00

24 lines
801 B
HTML

{% extends "_basic.html" %}
{% block content %}
<div class="Wrapper">
<h1>Not Found!</h1>
{%if type == 'tx'%}
<h2>The transaction with id <code>{{id}}</code> was not found on the blockchain.</h2>
{%elif type == 'sn'%}
<h2>The service node with pubkey <code>{{id}}</code> is not currently registered.</h2>
{%elif type == 'bad_search'%}
<h2>Invalid search request: <code>{{id}}</code></h2>
<h3>Please enter a block hash, height, transaction id, or service node public key.</h3>
{%elif type == 'search'%}
<h2>Not found: <code>{{id}}</code></h2>
<h3>Couldn't find a block, transaction, or service node matching your query.</h3>
{%else%}
<h3>Whoops! Couldn't find what you were looking for.</h3>
{%endif%}
</div>
{% endblock %}