forked from hush/hnomp
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.
48 lines
1.5 KiB
48 lines
1.5 KiB
<script type="text/javascript">
|
|
$(function () {
|
|
$(document).tooltip({
|
|
content: function () {
|
|
return $(this).prop('title');
|
|
},
|
|
show: null,
|
|
close: function (event, ui) {
|
|
ui.tooltip.hover(
|
|
|
|
function () {
|
|
$(this).stop(true).fadeTo(400, 1);
|
|
},
|
|
|
|
function () {
|
|
$(this).fadeOut("400", function () {
|
|
$(this).remove();
|
|
})
|
|
});
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
{{ function readableDate(a){ return new Date(parseInt(a)).toISOString().substring(0, 16).replace('T', ' ') + ' UTC'; } }}
|
|
{{ for(var pool in it.stats.pools) { }}
|
|
|
|
<table class="puretable" style="padding-top:18px">
|
|
<thead>
|
|
<tr style="color:white">
|
|
<th>Transaction</th>
|
|
<th>Time</th>
|
|
</tr>
|
|
</thead>
|
|
{{ for(var p in it.stats.pools[pool].payments) { }}
|
|
<tr>
|
|
<td style="max-width: 315px; word-wrap: break-word;">
|
|
{{if (String(it.stats.pools[pool].name) == 'hush') { }}
|
|
<a href="https://explorer.hush.is/tx/{{=it.stats.pools[pool].payments[p].txid}}" title="View transaction" target="_blank" rel="noopener noreferrer" class="mainlink">{{=it.stats.pools[pool].payments[p].txid}}</a>
|
|
{{ } else { }}
|
|
{{=it.stats.pools[pool].payments[p].blocks}}
|
|
{{ } }}
|
|
</td>
|
|
<td>{{=readableDate(it.stats.pools[pool].payments[p].time)}}</td>
|
|
</tr>
|
|
{{ } }}
|
|
</table>
|
|
</div>
|
|
{{ } }}
|
|
|