From 83efd6026c829073565fcd139552dea22626ce77 Mon Sep 17 00:00:00 2001 From: Bart S Date: Wed, 21 Feb 2018 13:22:25 +0100 Subject: [PATCH] Minor changes to the block overview template Often my pool is at 101% because thats just luck, however bright red makes users often think something is wrong I'd say up to 115% make it orange, its less worrying. --- .../statistics/blocks/block_overview_time.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/bootstrap/statistics/blocks/block_overview_time.tpl b/templates/bootstrap/statistics/blocks/block_overview_time.tpl index 61bae492..7fb9941b 100644 --- a/templates/bootstrap/statistics/blocks/block_overview_time.tpl +++ b/templates/bootstrap/statistics/blocks/block_overview_time.tpl @@ -42,7 +42,7 @@ {$LASTBLOCKSBYTIME.TotalShares|number_format} {if $LASTBLOCKSBYTIME.TotalEstimatedShares > 0} - {($LASTBLOCKSBYTIME.TotalShares / $LASTBLOCKSBYTIME.TotalEstimatedShares * 100)|number_format:"2"}% + {($LASTBLOCKSBYTIME.TotalShares / $LASTBLOCKSBYTIME.TotalEstimatedShares * 100)|number_format:"2"}% {else} 0.00% {/if} @@ -68,7 +68,7 @@ {$LASTBLOCKSBYTIME.1HourShares|number_format} {if $LASTBLOCKSBYTIME.1HourEstimatedShares > 0} - {($LASTBLOCKSBYTIME.1HourShares / $LASTBLOCKSBYTIME.1HourEstimatedShares * 100)|number_format:"2"}% + {($LASTBLOCKSBYTIME.1HourShares / $LASTBLOCKSBYTIME.1HourEstimatedShares * 100)|number_format:"2"}% {else} 0.00% {/if} @@ -94,7 +94,7 @@ {$LASTBLOCKSBYTIME.24HourShares|number_format} {if $LASTBLOCKSBYTIME.24HourEstimatedShares > 0} - {($LASTBLOCKSBYTIME.24HourShares / $LASTBLOCKSBYTIME.24HourEstimatedShares * 100)|number_format:"2"}% + {($LASTBLOCKSBYTIME.24HourShares / $LASTBLOCKSBYTIME.24HourEstimatedShares * 100)|number_format:"2"}% {else} 0.00% {/if} @@ -120,7 +120,7 @@ {$LASTBLOCKSBYTIME.7DaysShares|number_format} {if $LASTBLOCKSBYTIME.7DaysEstimatedShares > 0} - {($LASTBLOCKSBYTIME.7DaysShares / $LASTBLOCKSBYTIME.7DaysEstimatedShares * 100)|number_format:"2"}% + {($LASTBLOCKSBYTIME.7DaysShares / $LASTBLOCKSBYTIME.7DaysEstimatedShares * 100)|number_format:"2"}% {else} 0.00% {/if} @@ -146,7 +146,7 @@ {$LASTBLOCKSBYTIME.4WeeksShares|number_format} {if $LASTBLOCKSBYTIME.4WeeksEstimatedShares > 0} - {($LASTBLOCKSBYTIME.4WeeksShares / $LASTBLOCKSBYTIME.4WeeksEstimatedShares * 100)|number_format:"2"}% + {($LASTBLOCKSBYTIME.4WeeksShares / $LASTBLOCKSBYTIME.4WeeksEstimatedShares * 100)|number_format:"2"}% {else} 0.00% {/if} @@ -172,7 +172,7 @@ {$LASTBLOCKSBYTIME.12MonthShares|number_format} {if $LASTBLOCKSBYTIME.12MonthEstimatedShares > 0} - {($LASTBLOCKSBYTIME.12MonthShares / $LASTBLOCKSBYTIME.12MonthEstimatedShares * 100)|number_format:"2"}% + {($LASTBLOCKSBYTIME.12MonthShares / $LASTBLOCKSBYTIME.12MonthEstimatedShares * 100)|number_format:"2"}% {else} 0.00% {/if}