From 9e4e4022c81eaa698483717d17975e8f064978fb Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Thu, 21 Apr 2016 05:08:47 +0000 Subject: [PATCH] timescale appearance improved --- src/page.h | 2 +- src/templates/tx.html | 55 ++++++++++++++++++++++--------------------- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git a/src/page.h b/src/page.h index c6d56d6..7a9dbbe 100644 --- a/src/page.h +++ b/src/page.h @@ -654,7 +654,7 @@ namespace xmreg { // get mixins in time scale for visual representation pair 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("|") diff --git a/src/templates/tx.html b/src/templates/tx.html index 6a1fde9..9f83416 100644 --- a/src/templates/tx.html +++ b/src/templates/tx.html @@ -33,6 +33,34 @@ +

Outputs

+
+ + + + + + {{#outputs}} + + + + + {{/outputs}} +
out_pub_keyamount
{{out_pub_key}}{{amount}}
+
+ + +

Inputs' mixins time scale (from genesis till {{server_time}}; + resolution: {{timescales_scale}} days)

+
+
    + {{#timescales}} +
  • {{timescale}}
  • + {{/timescales}} +
+
+ +

Inputs {{inputs_no}}

@@ -73,31 +101,4 @@ -

Mixins time scale (resolution: {{timescales_scale}} days)

-

From Gensis till {{server_time}}

-
-
    - {{#timescales}} -
  • {{timescale}}
  • - {{/timescales}} -
-
- - -

Outputs

-
-
- - - - - {{#outputs}} - - - - - {{/outputs}} -
out_pub_keyamount
{{out_pub_key}}{{amount}}
-
-