diff --git a/public/site_assets/bootstrap/css/mpos.css b/public/site_assets/bootstrap/css/mpos.css index 96422900..9309a496 100644 --- a/public/site_assets/bootstrap/css/mpos.css +++ b/public/site_assets/bootstrap/css/mpos.css @@ -354,7 +354,7 @@ p.overview { } span.overview { - font-size: 20px; + font-size: 14px; font-weight: bold; } @@ -460,7 +460,7 @@ span.spark-25 { } p.up { - margin: -14px 0px 0px 0px; + margin: -10px 0px 0px 0px; } div.up { diff --git a/public/templates/bootstrap/admin/reports/earnings_report.tpl b/public/templates/bootstrap/admin/reports/earnings_report.tpl index b3e7b6ba..00cab4f4 100644 --- a/public/templates/bootstrap/admin/reports/earnings_report.tpl +++ b/public/templates/bootstrap/admin/reports/earnings_report.tpl @@ -9,21 +9,21 @@
| Block | -Round Shares | -Round Valid | -Invalid | -Invalid % | -Round % | +Block | +Round Shares | +Round Valid | +Invalid | +Invalid % | +Round % | {if $GLOBAL.config.payout_system == 'pplns'} -PPLNS Shares | -PPLNS Valid | -Invalid | -Invalid % | -PPLNS % | -Variance | +PPLNS Shares | +PPLNS Valid | +Invalid | +Invalid % | +PPLNS % | +Variance | {/if} -Amount | +Amount | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {$REPORTDATA[txs].height|default:"0"} | -{$REPORTDATA[txs].shares|default:"0"} | -{$REPORTDATA[txs]['user'].valid|number_format|default:"0"} | -{$REPORTDATA[txs]['user'].invalid|number_format|default:"0"} | -{if $REPORTDATA[txs]['user'].invalid > 0 }{($REPORTDATA[txs]['user'].invalid / $REPORTDATA[txs]['user'].valid * 100)|number_format:"2"|default:"0"}{else}0.00{/if} | -{if $REPORTDATA[txs]['user'].valid > 0 }{(( 100 / $REPORTDATA[txs].shares) * $REPORTDATA[txs]['user'].valid)|number_format:"2"}{else}0.00{/if} | +{$REPORTDATA[txs].height|default:"0"} | +{$REPORTDATA[txs].shares|default:"0"} | +{$REPORTDATA[txs]['user'].valid|number_format|default:"0"} | +{$REPORTDATA[txs]['user'].invalid|number_format|default:"0"} | +{if $REPORTDATA[txs]['user'].invalid > 0 }{($REPORTDATA[txs]['user'].invalid / $REPORTDATA[txs]['user'].valid * 100)|number_format:"2"|default:"0"}{else}0.00{/if} | +{if $REPORTDATA[txs]['user'].valid > 0 }{(( 100 / $REPORTDATA[txs].shares) * $REPORTDATA[txs]['user'].valid)|number_format:"2"}{else}0.00{/if} | {if $GLOBAL.config.payout_system == 'pplns'} -{$REPORTDATA[txs].pplns_shares|number_format|default:"0"} | -{$REPORTDATA[txs]['user'].pplns_valid|number_format|default:"0"} | -{$REPORTDATA[txs]['user'].pplns_invalid|number_format|default:"0"} | -{if $REPORTDATA[txs]['user'].pplns_invalid > 0 && $REPORTDATA[txs]['user'].pplns_valid > 0 }{($REPORTDATA[txs]['user'].pplns_invalid / $REPORTDATA[txs]['user'].pplns_valid * 100)|number_format:"2"|default:"0"}{else}0.00{/if} | -{if $REPORTDATA[txs].shares > 0 && $REPORTDATA[txs]['user'].pplns_valid > 0}{(( 100 / $REPORTDATA[txs].pplns_shares) * $REPORTDATA[txs]['user'].pplns_valid)|number_format:"2"|default:"0"}{else}0.00{/if} | -{if $REPORTDATA[txs]['user'].valid > 0 && $REPORTDATA[txs]['user'].pplns_valid > 0}{math assign="percentage1" equation=(100 / ((( 100 / $REPORTDATA[txs].shares) * $REPORTDATA[txs]['user'].valid) / (( 100 / $REPORTDATA[txs].pplns_shares) * $REPORTDATA[txs]['user'].pplns_valid)))}{else if $REPORTDATA[txs]['user'].pplns_valid == 0}{assign var=percentage1 value=0}{else}{assign var=percentage1 value=100}{/if} + | {$REPORTDATA[txs].pplns_shares|number_format|default:"0"} | +{$REPORTDATA[txs]['user'].pplns_valid|number_format|default:"0"} | +{$REPORTDATA[txs]['user'].pplns_invalid|number_format|default:"0"} | +{if $REPORTDATA[txs]['user'].pplns_invalid > 0 && $REPORTDATA[txs]['user'].pplns_valid > 0 }{($REPORTDATA[txs]['user'].pplns_invalid / $REPORTDATA[txs]['user'].pplns_valid * 100)|number_format:"2"|default:"0"}{else}0.00{/if} | +{if $REPORTDATA[txs].shares > 0 && $REPORTDATA[txs]['user'].pplns_valid > 0}{(( 100 / $REPORTDATA[txs].pplns_shares) * $REPORTDATA[txs]['user'].pplns_valid)|number_format:"2"|default:"0"}{else}0.00{/if} | +{if $REPORTDATA[txs]['user'].valid > 0 && $REPORTDATA[txs]['user'].pplns_valid > 0}{math assign="percentage1" equation=(100 / ((( 100 / $REPORTDATA[txs].shares) * $REPORTDATA[txs]['user'].valid) / (( 100 / $REPORTDATA[txs].pplns_shares) * $REPORTDATA[txs]['user'].pplns_valid)))}{else if $REPORTDATA[txs]['user'].pplns_valid == 0}{assign var=percentage1 value=0}{else}{assign var=percentage1 value=100}{/if} {$percentage1|number_format:"2"|default:"0"} | {/if} -{$REPORTDATA[txs].user_credit|default:"0"|number_format:"8"} | +{$REPORTDATA[txs].user_credit|default:"0"|number_format:"8"} | {assign var=percentage1 value=0}||||
| Totals | -{$totalshares|number_format} | -{$totalvalid|number_format} | -{$totalinvalid|number_format} | -{if $totalinvalid > 0 && $totalvalid > 0 }{($totalinvalid / $totalvalid * 100)|number_format:"2"|default:"0"}{else}0.00{/if} | -{if $usertotalshares > 0 && $totalvalid > 0}{(( 100 / $usertotalshares) * $totalvalid)|number_format:"2"|default:"0"}{else}0.00{/if} | +Totals | +{$totalshares|number_format} | +{$totalvalid|number_format} | +{$totalinvalid|number_format} | +{if $totalinvalid > 0 && $totalvalid > 0 }{($totalinvalid / $totalvalid * 100)|number_format:"2"|default:"0"}{else}0.00{/if} | +{if $usertotalshares > 0 && $totalvalid > 0}{(( 100 / $usertotalshares) * $totalvalid)|number_format:"2"|default:"0"}{else}0.00{/if} | {if $GLOBAL.config.payout_system == 'pplns'} -{$pplnsshares|number_format} | -{$pplnsvalid|number_format} | -{$pplnsinvalid|number_format} | -{if $pplnsinvalid > 0 && $pplnsvalid > 0 }{($pplnsinvalid / $pplnsvalid * 100)|number_format:"2"|default:"0"}{else}0.00{/if} | -{if $userpplnsshares > 0 && $pplnsvalid > 0}{(( 100 / $userpplnsshares) * $pplnsvalid)|number_format:"2"|default:"0"}{else}0.00{/if} | -{if $totalvalid > 0 && $pplnsvalid > 0}{math assign="percentage2" equation=(100 / ((( 100 / $usertotalshares) * $totalvalid) / (( 100 / $userpplnsshares) * $pplnsvalid)))}{else if $pplnsvalid == 0}{assign var=percentage2 value=0}{else}{assign var=percentage2 value=100}{/if} + | {$pplnsshares|number_format} | +{$pplnsvalid|number_format} | +{$pplnsinvalid|number_format} | +{if $pplnsinvalid > 0 && $pplnsvalid > 0 }{($pplnsinvalid / $pplnsvalid * 100)|number_format:"2"|default:"0"}{else}0.00{/if} | +{if $userpplnsshares > 0 && $pplnsvalid > 0}{(( 100 / $userpplnsshares) * $pplnsvalid)|number_format:"2"|default:"0"}{else}0.00{/if} | +{if $totalvalid > 0 && $pplnsvalid > 0}{math assign="percentage2" equation=(100 / ((( 100 / $usertotalshares) * $totalvalid) / (( 100 / $userpplnsshares) * $pplnsvalid)))}{else if $pplnsvalid == 0}{assign var=percentage2 value=0}{else}{assign var=percentage2 value=100}{/if} {$percentage2|number_format:"2"|default:"0"} | {/if} -{$amount|default:"0"|number_format:"8"} | +{$amount|default:"0"|number_format:"8"} | {assign var=percentage2 value=0}||||
| ID | -Account | -Date | -TX Type | -Status | -Payment Address | -TX # | -Block # | -Amount | +ID | +Account | +Date | +TX Type | +Status | +Payment Address | +TX # | +Block # | +Amount | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {$TRANSACTIONS[transaction].id} | -{$TRANSACTIONS[transaction].username} | -{$TRANSACTIONS[transaction].timestamp} | -{$TRANSACTIONS[transaction].type} | -+ | {$TRANSACTIONS[transaction].id} | +{$TRANSACTIONS[transaction].username} | +{$TRANSACTIONS[transaction].timestamp} | +{$TRANSACTIONS[transaction].type} | +{if $TRANSACTIONS[transaction].type == 'Credit_PPS' OR $TRANSACTIONS[transaction].type == 'Fee_PPS' OR $TRANSACTIONS[transaction].type == 'Donation_PPS' OR @@ -113,14 +113,14 @@ {else if $TRANSACTIONS[transaction].confirmations == -1}Orphaned {else}Unconfirmed{/if} | -{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true} | +{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true} | {if ! $GLOBAL.website.transactionexplorer.disabled} -{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true} | +{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true} | {else} -{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true} | +{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true} | {/if} -{if $TRANSACTIONS[transaction].height == 0}n/a{else}{/if}{$TRANSACTIONS[transaction].height} | -{$TRANSACTIONS[transaction].amount|number_format:"8"} | +{if $TRANSACTIONS[transaction].height == 0}n/a{else}{/if}{$TRANSACTIONS[transaction].height} | +{$TRANSACTIONS[transaction].amount|number_format:"8"} | ||||||||||
| ID | -Username | -Shares | -Hashrate | +ID | +Username | +Shares | +Hashrate | {if $GLOBAL.config.payout_system != 'pps'} -Est. Donation | -Est. Payout | +Est. Donation | +Est. Payout | {else} -Est. 24 Hours | +Est. 24 Hours | {/if} -Balance | -Reg. Date | -Last Login | -Admin | -Locked | -No Fees | +Balance | +Reg. Date | +Last Login | +Admin | +Locked | +No Fees | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {$USERS[user].id} | -{$USERS[user].username|escape} | -{$USERS[user].email|escape} | -{$USERS[user].shares.valid} | -{$USERS[user].hashrate} | +{$USERS[user].id} | +{$USERS[user].username|escape} | +{$USERS[user].email|escape} | +{$USERS[user].shares.valid} | +{$USERS[user].hashrate} | {if $GLOBAL.config.payout_system != 'pps'} -{$USERS[user].estimates.donation|number_format:"8"} | -{$USERS[user].estimates.payout|number_format:"8"} | +{$USERS[user].estimates.donation|number_format:"8"} | +{$USERS[user].estimates.payout|number_format:"8"} | {else} -{$USERS[user].estimates.hours24|number_format:"8"} | +{$USERS[user].estimates.hours24|number_format:"8"} | {/if} -{$USERS[user].balance|number_format:"8"} | -{$USERS[user].signup_timestamp|date_format:"%d/%m %H:%M:%S"} | -{$USERS[user].last_login|date_format:"%d/%m %H:%M:%S"} | -+ | {$USERS[user].balance|number_format:"8"} | +{$USERS[user].signup_timestamp|date_format:"%d/%m %H:%M:%S"} | +{$USERS[user].last_login|date_format:"%d/%m %H:%M:%S"} | +- | + | - | + |
diff --git a/public/templates/bootstrap/dashboard/js/api.tpl b/public/templates/bootstrap/dashboard/js/api.tpl
index 817ef322..d030403c 100644
--- a/public/templates/bootstrap/dashboard/js/api.tpl
+++ b/public/templates/bootstrap/dashboard/js/api.tpl
@@ -25,7 +25,8 @@ $(document).ready(function(){
height: '35',
barWidth: 6,
barSpacing: 2,
- chartRangeMin: 0
+ chartRangeMin: 0,
+ barColor: '#41fc41'
};
// Sparkline options applied to line graphs
@@ -35,6 +36,7 @@ $(document).ready(function(){
chartRangeMax: {/literal}{$GLOBAL.price}{literal} + 5,
composite: false,
lineColor: 'black',
+ fillColor: '#41fc41',
chartRangeClip: true
};
diff --git a/public/templates/bootstrap/dashboard/overview/_with_price_graph.tpl b/public/templates/bootstrap/dashboard/overview/_with_price_graph.tpl
index 97dd578a..bb709c46 100644
--- a/public/templates/bootstrap/dashboard/overview/_with_price_graph.tpl
+++ b/public/templates/bootstrap/dashboard/overview/_with_price_graph.tpl
@@ -1,13 +1,14 @@
-
+
- My Hashrate +My Hashrate
- {$GLOBAL.userdata.hashrate|number_format:"2"} {$GLOBAL.hashunits.personal}
+ {$GLOBAL.userdata.hashrate|number_format:"2"}
+ {$GLOBAL.hashunits.personal}
@@ -18,13 +19,14 @@
-
+
- Pool Hashrate +Pool Hashrate
- {$GLOBAL.hashrate|number_format:"2"} {$GLOBAL.hashunits.pool}
+ {$GLOBAL.hashrate|number_format:"2"}
+ {$GLOBAL.hashunits.pool}
@@ -35,13 +37,14 @@
-
+
- My Sharerate +My Sharerate
- S/s
+
+ S/s
@@ -52,11 +55,11 @@
-
+
- Pool Workers +Pool Workers
{$GLOBAL.workers}
@@ -69,13 +72,14 @@
-
+
- Net Hashrate +Net Hashrate
- {$GLOBAL.nethashrate|number_format:"2"} {$GLOBAL.hashunits.network}
+ {$GLOBAL.nethashrate|number_format:"2"}
+ {$GLOBAL.hashunits.network}
@@ -86,13 +90,13 @@
-
+
- {$GLOBAL.config.currency}/{$GLOBAL.config.price.currency} +{$GLOBAL.config.currency}/{$GLOBAL.config.price.currency}
- {$GLOBAL.price|default:"0"|number_format:"8"}
+ {$GLOBAL.price|default:"0"|number_format:"8"}
diff --git a/public/templates/bootstrap/dashboard/overview/_without_price_graph.tpl b/public/templates/bootstrap/dashboard/overview/_without_price_graph.tpl
index a72e481e..3e9edfdd 100644
--- a/public/templates/bootstrap/dashboard/overview/_without_price_graph.tpl
+++ b/public/templates/bootstrap/dashboard/overview/_without_price_graph.tpl
@@ -1,13 +1,14 @@
-
+
- My Hashrate +My Hashrate
- {$GLOBAL.userdata.hashrate|number_format:"2"} {$GLOBAL.hashunits.personal}
+ {$GLOBAL.userdata.hashrate|number_format:"2"}
+ {$GLOBAL.hashunits.personal}
@@ -18,13 +19,14 @@
-
+
- Pool Hashrate +Pool Hashrate
- {$GLOBAL.hashrate|number_format:"2"} {$GLOBAL.hashunits.pool}
+ {$GLOBAL.hashrate|number_format:"2"}
+ {$GLOBAL.hashunits.pool}
@@ -35,13 +37,14 @@
-
+
- My Sharerate +My Sharerate
- S/s
+
+ S/s
@@ -52,11 +55,11 @@
-
+
- Pool Workers +Pool Workers
{$GLOBAL.workers}
@@ -69,13 +72,14 @@
-
+
- Net Hashrate +Net Hashrate
- {$GLOBAL.nethashrate|number_format:"2"} {$GLOBAL.hashunits.network}
+ {$GLOBAL.nethashrate|number_format:"2"}
+ {$GLOBAL.hashunits.network}
diff --git a/public/templates/bootstrap/dashboard/round_statistics/pplns/round.tpl b/public/templates/bootstrap/dashboard/round_statistics/pplns/round.tpl
index 893d8695..5cac279a 100644
--- a/public/templates/bootstrap/dashboard/round_statistics/pplns/round.tpl
+++ b/public/templates/bootstrap/dashboard/round_statistics/pplns/round.tpl
@@ -3,14 +3,14 @@
-
+
-
{$NETWORK.block} +{$NETWORK.block}
-
Current Block +Current Block
-
+
-
{$ESTIMATES.percent|number_format:"2"}% +{$ESTIMATES.percent|number_format:"2"}%
-
Of Expected Shares +Of Expected Shares
-
+
-
{$GLOBAL.userdata.estimates.payout|number_format:"8"} +{$GLOBAL.userdata.estimates.payout|number_format:"8"}
-
{$GLOBAL.config.currency} Estimated Earnings +{$GLOBAL.config.currency} Estimated Earnings
-
+
-
{$NETWORK.difficulty|number_format:"8"} +{$NETWORK.difficulty|number_format:"8"}
-
Difficulty +Difficulty
-
+
-
{$NETWORK.EstNextDifficulty|number_format:"8"} -Change in {$NETWORK.BlocksUntilDiffChange} Blocks +{$NETWORK.EstNextDifficulty|number_format:"8"} +Change in {$NETWORK.BlocksUntilDiffChange} Blocks
-
Est Next Difficulty +Est Next Difficulty
-
+
-
{$NETWORK.EstTimePerBlock|seconds_to_words} +{$NETWORK.EstTimePerBlock|seconds_to_words}
-
Est. Avg. Time per Block +Est. Avg. Time per Block
-
{$GLOBAL.userdata.estimates.hours1|number_format:"12"} +{$GLOBAL.userdata.estimates.hours1|number_format:"12"} {$GLOBAL.config.currency} 1 Hour Estimated Earnings
@@ -12,22 +12,22 @@
-
{$GLOBAL.userdata.estimates.days7|number_format:"12"} +{$GLOBAL.userdata.estimates.days7|number_format:"12"} {$GLOBAL.config.currency} 7 Days Estimated Earnings
-
{$GLOBAL.userdata.estimates.days14|number_format:"12"} +{$GLOBAL.userdata.estimates.days14|number_format:"12"} {$GLOBAL.config.currency} 14 Days Estimated Earnings
-
{$GLOBAL.userdata.estimates.days30|number_format:"12"} +{$GLOBAL.userdata.estimates.days30|number_format:"12"} {$GLOBAL.config.currency} 30 Days Estimated Earnings
-
{$GLOBAL.ppsvalue} +{$GLOBAL.ppsvalue} PPS Value
@@ -37,18 +37,18 @@
-
{$NETWORK.difficulty|number_format:"8"} +{$NETWORK.difficulty|number_format:"8"} Difficulty
-
{$NETWORK.EstNextDifficulty|number_format:"8"} +{$NETWORK.EstNextDifficulty|number_format:"8"} Change in {$NETWORK.BlocksUntilDiffChange} Blocks Est Next Difficulty
-
{$NETWORK.EstTimePerBlock|seconds_to_words} +{$NETWORK.EstTimePerBlock|seconds_to_words} Est. Avg. Time per Block
-
+
-
{$NETWORK.block} +{$NETWORK.block}
-
Current Block +Current Block
-
+
-
{$ESTIMATES.percent|number_format:"2"}% +{$ESTIMATES.percent|number_format:"2"}%
-
Of Expected Shares +Of Expected Shares
-
+
-
{$GLOBAL.userdata.estimates.payout|number_format:"8"} +{$GLOBAL.userdata.estimates.payout|number_format:"8"}
-
{$GLOBAL.config.currency} Estimated Earnings +{$GLOBAL.config.currency} Estimated Earnings
-
+
-
{$NETWORK.difficulty|number_format:"8"} +{$NETWORK.difficulty|number_format:"8"}
-
Difficulty +Difficulty
-
+
-
{$NETWORK.EstNextDifficulty|number_format:"8"} -Change in {$NETWORK.BlocksUntilDiffChange} Blocks +{$NETWORK.EstNextDifficulty|number_format:"8"} +Change in {$NETWORK.BlocksUntilDiffChange} Blocks
-
Est Next Difficulty +Est Next Difficulty
-
+
-
{$NETWORK.EstTimePerBlock|seconds_to_words} +{$NETWORK.EstTimePerBlock|seconds_to_words}
-
Est. Avg. Time per Block +Est. Avg. Time per Block | ||