You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
769 B
30 lines
769 B
extends layout
|
|
|
|
block headContent
|
|
title Block Analysis
|
|
|
|
block content
|
|
h1.h3 Block Analysis
|
|
hr
|
|
|
|
p Search for a block by height or hash to see a summary analysis of the transactions within that block.
|
|
|
|
div.mb-huge
|
|
form.form.form-inline(method="get", action="/block-analysis")
|
|
input(type="hidden", name="_csrf", value=csrfToken)
|
|
|
|
div.input-group
|
|
input.form-control(id="input-value", type="text", name="query", placeholder="block height/hash", value=(query), style="width: 400px;")
|
|
|
|
div.input-group-append
|
|
button.btn.btn-primary(type="submit") Go
|
|
|
|
block endOfBody
|
|
script.
|
|
$(document).ready(function() {
|
|
$("form").submit(function() {
|
|
window.location.href = `/block-analysis/${$("#input-value").val()}`;
|
|
|
|
return false;
|
|
});
|
|
});
|