timescale appearance improved

master
moneroexamples 9 years ago
parent 0a5ac0452d
commit 9e4e4022c8

@ -654,7 +654,7 @@ namespace xmreg {
// get mixins in time scale for visual representation
pair<string, double> mixin_times_scale = xmreg::timestamps_time_scale(
mixin_timestamps,
server_timestamp, 130);
server_timestamp, 160);
// add beginning and end to the mixin_times_scale
string timescale_str = string("|")

@ -33,6 +33,34 @@
</table>
<h3>Outputs</h3>
<div class="center">
<table class="center" >
<tr>
<td>out_pub_key</td>
<td>amount</td>
</tr>
{{#outputs}}
<tr>
<td>{{out_pub_key}}</td>
<td>{{amount}}</td>
</tr>
{{/outputs}}
</table>
</div>
<h3>Inputs' mixins time scale (from genesis till {{server_time}};
resolution: {{timescales_scale}} days)</h3>
<div class="center">
<ul class="center">
{{#timescales}}
<li style="list-style-type: none; text-align: center; font-size: 8px">{{timescale}}</li>
{{/timescales}}
</ul>
</div>
<h3>Inputs {{inputs_no}}</h3>
<div class="center">
<table class="center">
@ -73,31 +101,4 @@
<h3>Mixins time scale (resolution: {{timescales_scale}} days)</h3>
<h4>From Gensis till {{server_time}}</h4>
<div class="center">
<ul class="center">
{{#timescales}}
<li style="list-style-type: none; text-align: center;">{{timescale}}</li>
{{/timescales}}
</ul>
</div>
<h3>Outputs</h3>
<div class="center">
<table class="center" >
<tr>
<td>out_pub_key</td>
<td>amount</td>
</tr>
{{#outputs}}
<tr>
<td>{{out_pub_key}}</td>
<td>{{amount}}</td>
</tr>
{{/outputs}}
</table>
</div>
</div>

Loading…
Cancel
Save