Changes:
1. integrates pico minimal responsive css framework for light/dark
themes and overall better looks.
2. adds a not-found page for bad url queries.
3. catches axum/serde deserialization errors of user input and routes
them to the not-found page with a helpful hint (parse error msg)
39 lines
868 B
HTML
39 lines
868 B
HTML
<html>
|
|
|
|
<head>
|
|
<title>Neptune Block Explorer: Utxo {{self.index}}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" type="text/css" href="/css/pico.min.css" media="screen" />
|
|
<link rel="stylesheet" type="text/css" href="/css/styles.css" media="screen" />
|
|
</head>
|
|
|
|
<body>
|
|
{{Trusted(self.header.to_string())}}
|
|
|
|
<main class="container">
|
|
|
|
<article>
|
|
<summary>Utxo Information</summary>
|
|
<table class="striped">
|
|
<tr>
|
|
<td>Index</td>
|
|
<td>{{self.index}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Digest</td>
|
|
<td>{{self.digest.to_hex()}}</td>
|
|
</tr>
|
|
</table>
|
|
</article>
|
|
|
|
<article>
|
|
<p>
|
|
<a href="/">Home</a>
|
|
| <a href='/block/genesis'>Genesis</a>
|
|
| <a href='/block/tip'>Tip</a>
|
|
</p>
|
|
</article>
|
|
|
|
</main>
|
|
</body>
|
|
</html> |