From 083b1f51bf14cbdd6d84f9089f9ff88860d3fff4 Mon Sep 17 00:00:00 2001 From: nrpatten Date: Tue, 11 Mar 2014 06:48:04 -0700 Subject: [PATCH] [UPDATE] progress bars and Est Next Difficulty split for props --- .../dashboard/round_statistics/prop/round.tpl | 3 +- .../round_statistics/prop/shares.tpl | 40 ++++++++++++++----- 2 files changed, 33 insertions(+), 10 deletions(-) diff --git a/public/templates/bootstrap/dashboard/round_statistics/prop/round.tpl b/public/templates/bootstrap/dashboard/round_statistics/prop/round.tpl index 240c98b4..1d23a528 100644 --- a/public/templates/bootstrap/dashboard/round_statistics/prop/round.tpl +++ b/public/templates/bootstrap/dashboard/round_statistics/prop/round.tpl @@ -22,7 +22,8 @@
-

{$NETWORK.EstNextDifficulty|number_format:"8"} (Change in {$NETWORK.BlocksUntilDiffChange} Blocks)

+

{$NETWORK.EstNextDifficulty|number_format:"8"}

+

Change in {$NETWORK.BlocksUntilDiffChange} Blocks

Est Next Difficulty

diff --git a/public/templates/bootstrap/dashboard/round_statistics/prop/shares.tpl b/public/templates/bootstrap/dashboard/round_statistics/prop/shares.tpl index 2c233030..8a23cab9 100644 --- a/public/templates/bootstrap/dashboard/round_statistics/prop/shares.tpl +++ b/public/templates/bootstrap/dashboard/round_statistics/prop/shares.tpl @@ -2,24 +2,46 @@ -
Own
-
Pool
+
Own
+
Pool
Valid
-
{$GLOBAL.userdata.shares.valid|number_format}
-
{$GLOBAL.roundshares.valid|number_format}
- + +
+
+
+ + +
+
+
+
Invalid
-
{$GLOBAL.userdata.shares.invalid|number_format}
-
{$GLOBAL.roundshares.invalid|number_format}
+ +
+
+
+ + +
+
+
+
Efficiency
-
{if $GLOBAL.userdata.shares.valid > 0}{(100 - ($GLOBAL.userdata.shares.invalid / ($GLOBAL.userdata.shares.valid + $GLOBAL.userdata.shares.invalid) * 100))|number_format:"2"}%{else}0.00%{/if}
-
{if $GLOBAL.roundshares.valid > 0}{(100 - ($GLOBAL.roundshares.invalid / ($GLOBAL.roundshares.valid + $GLOBAL.roundshares.invalid) * 100))|number_format:"2"}%{else}0.00%{/if}
+ +
+
+
+ + +
+
+