mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
template updated for datetime search results
This commit is contained in:
parent
248c6fcaee
commit
4174fd2c7b
2 changed files with 56 additions and 4 deletions
|
@ -2403,7 +2403,7 @@ public:
|
||||||
= blk_timestamp_utc_start + 59;
|
= blk_timestamp_utc_start + 59;
|
||||||
|
|
||||||
all_possible_tx_hashes.push_back(
|
all_possible_tx_hashes.push_back(
|
||||||
make_pair("tx_public_keys", vector<string>{}));
|
make_pair("tx_in_the_minute", vector<string>{}));
|
||||||
|
|
||||||
vector<string>& txs_found_ref
|
vector<string>& txs_found_ref
|
||||||
= all_possible_tx_hashes.back().second;
|
= all_possible_tx_hashes.back().second;
|
||||||
|
@ -2436,7 +2436,7 @@ public:
|
||||||
= blk_timestamp_utc_start + 3599;
|
= blk_timestamp_utc_start + 3599;
|
||||||
|
|
||||||
all_possible_tx_hashes.push_back(
|
all_possible_tx_hashes.push_back(
|
||||||
make_pair("tx_public_keys", vector<string>{}));
|
make_pair("tx_in_the_hour", vector<string>{}));
|
||||||
|
|
||||||
vector<string>& txs_found_ref
|
vector<string>& txs_found_ref
|
||||||
= all_possible_tx_hashes.back().second;
|
= all_possible_tx_hashes.back().second;
|
||||||
|
@ -2469,7 +2469,7 @@ public:
|
||||||
= blk_timestamp_utc_start + 86399;
|
= blk_timestamp_utc_start + 86399;
|
||||||
|
|
||||||
all_possible_tx_hashes.push_back(
|
all_possible_tx_hashes.push_back(
|
||||||
make_pair("tx_public_keys", vector<string>{}));
|
make_pair("tx_in_the_day", vector<string>{}));
|
||||||
|
|
||||||
vector<string>& txs_found_ref
|
vector<string>& txs_found_ref
|
||||||
= all_possible_tx_hashes.back().second;
|
= all_possible_tx_hashes.back().second;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
{{#no_results}}
|
{{#no_results}}
|
||||||
<h4 style="margin-bottom:2px">Nothing in the blockchain has been found that matches the search term :-(</h4>
|
<h4 style="margin-bottom:2px">Nothing in the blockchain has been found that matches the search term :-(</h4>
|
||||||
<h5 style="margin:2px">Note: there might be 1-2 min delay betweem my blockchain and others</h5>
|
<h5 style="margin:2px">Note: there might be 1-2 min delay between my blockchain and others</h5>
|
||||||
{{/no_results}}
|
{{/no_results}}
|
||||||
|
|
||||||
{{#to_many_results}}
|
{{#to_many_results}}
|
||||||
|
@ -127,3 +127,55 @@
|
||||||
{{/has_output_public_keys_based_on_amount_idx}}
|
{{/has_output_public_keys_based_on_amount_idx}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div>
|
||||||
|
|
||||||
|
{{#has_tx_in_the_minute}}
|
||||||
|
|
||||||
|
<h3>Transactions performed in the given minute</h3>
|
||||||
|
|
||||||
|
<table class="center" style="width:90%">
|
||||||
|
{{>tx_table_head}}
|
||||||
|
{{#tx_in_the_minute}}
|
||||||
|
{{>tx_table_row}}
|
||||||
|
{{/tx_in_the_minute}}
|
||||||
|
</table>
|
||||||
|
|
||||||
|
{{/has_tx_in_the_minute}}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
|
||||||
|
{{#has_tx_in_the_hour}}
|
||||||
|
|
||||||
|
<h3>Transactions performed in the given hour</h3>
|
||||||
|
|
||||||
|
<table class="center" style="width:90%">
|
||||||
|
{{>tx_table_head}}
|
||||||
|
{{#tx_in_the_hour}}
|
||||||
|
{{>tx_table_row}}
|
||||||
|
{{/tx_in_the_hour}}
|
||||||
|
</table>
|
||||||
|
|
||||||
|
{{/has_tx_in_the_hour}}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
|
||||||
|
{{#has_tx_in_the_day}}
|
||||||
|
|
||||||
|
<h3>Transactions performed in the given day</h3>
|
||||||
|
|
||||||
|
<table class="center" style="width:90%">
|
||||||
|
{{>tx_table_head}}
|
||||||
|
{{#tx_in_the_day}}
|
||||||
|
{{>tx_table_row}}
|
||||||
|
{{/tx_in_the_day}}
|
||||||
|
</table>
|
||||||
|
|
||||||
|
{{/has_tx_in_the_day}}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue