mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
info that this is testnet added to frontpage
This commit is contained in:
parent
440e43d626
commit
e64413bc12
3 changed files with 8 additions and 2 deletions
|
@ -469,6 +469,7 @@ namespace xmreg {
|
||||||
|
|
||||||
// initalise page tempate map with basic info about blockchain
|
// initalise page tempate map with basic info about blockchain
|
||||||
mstch::map context {
|
mstch::map context {
|
||||||
|
{"testnet" , testnet},
|
||||||
{"refresh" , refresh_page},
|
{"refresh" , refresh_page},
|
||||||
{"height" , std::to_string(height)},
|
{"height" , std::to_string(height)},
|
||||||
{"server_timestamp", xmreg::timestamp_to_str(server_timestamp)},
|
{"server_timestamp", xmreg::timestamp_to_str(server_timestamp)},
|
||||||
|
@ -478,7 +479,7 @@ namespace xmreg {
|
||||||
{"is_page_zero" , !bool(page_no)},
|
{"is_page_zero" , !bool(page_no)},
|
||||||
{"next_page" , std::to_string(page_no + 1)},
|
{"next_page" , std::to_string(page_no + 1)},
|
||||||
{"prev_page" , std::to_string((page_no > 0 ? page_no - 1 : 0))},
|
{"prev_page" , std::to_string((page_no > 0 ? page_no - 1 : 0))},
|
||||||
{"txs" , mstch::array()}, // will keep tx to show
|
{"txs" , mstch::array()} // will keep tx to show
|
||||||
};
|
};
|
||||||
|
|
||||||
// get reference to txs mstch map to be field below
|
// get reference to txs mstch map to be field below
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
{{#refresh}}
|
{{#refresh}}
|
||||||
<meta http-equiv="refresh" content="10">
|
<meta http-equiv="refresh" content="10">
|
||||||
{{/refresh}}
|
{{/refresh}}
|
||||||
<title>Onion Monero Explorer</title>
|
<title>Onion Monero Blockchain Explorer</title>
|
||||||
<!--<link rel="stylesheet" type="text/css" href="/css/style.css">-->
|
<!--<link rel="stylesheet" type="text/css" href="/css/style.css">-->
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {
|
body {
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
{{^refresh}}
|
{{^refresh}}
|
||||||
<a href="/autorefresh">Autorefresh is OFF</a>
|
<a href="/autorefresh">Autorefresh is OFF</a>
|
||||||
{{/refresh}}
|
{{/refresh}}
|
||||||
|
{{#testnet}}
|
||||||
|
|
|
||||||
|
This is <span style="color:#ff6b62">testnet</span> blockchian
|
||||||
|
{{/testnet}}
|
||||||
|
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue