diff --git a/public/site_assets/bootstrap/css/mpos.css b/public/site_assets/bootstrap/css/mpos.css index 96422900..cc315ec9 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,10 +460,19 @@ span.spark-25 { } p.up { - margin: -14px 0px 0px 0px; + margin: -5px 0px -8px; } div.up { margin: -10px 0px 6px 0px; } + +p.up-more { + margin: -6px 0px 10px; +} + +p.up-more2 { + margin: -6px 0px 0px; +} + /* End Test */ 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 accaceab..e180bf7d 100644
--- a/public/templates/bootstrap/dashboard/overview/_with_price_graph.tpl
+++ b/public/templates/bootstrap/dashboard/overview/_with_price_graph.tpl
@@ -1,103 +1,106 @@
-
-
-
-
-
+
-
- My Hashrate -
- {$GLOBAL.userdata.hashrate|number_format:"2"} {$GLOBAL.hashunits.personal}
-
- - -
+
+
+
+
+
+ My Hashrate +
+ {$GLOBAL.userdata.hashrate|number_format:"2"}
+ {$GLOBAL.hashunits.personal}
+
+ + +
-
-
-
-
-
+
-
- Pool Hashrate -
- {$GLOBAL.hashrate|number_format:"2"} {$GLOBAL.hashunits.pool}
-
- - -
+
+
+
+
+
+ Pool Hashrate +
+ {$GLOBAL.hashrate|number_format:"2"}
+ {$GLOBAL.hashunits.pool}
+
+ + +
-
-
-
-
-
+
-
- My Sharerate -
- S/s
-
- - -
+
+
+
+
+
+ My Sharerate +
+
+ S/s
+
+ + +
-
-
-
-
-
+
-
- Pool Workers -
- {$GLOBAL.workers}
-
- - -
+
+
+
+
+
+ Pool Workers +
+ {$GLOBAL.workers}
+
+ + +
-
-
-
-
-
+
-
- Net Hashrate -
- {$GLOBAL.nethashrate|number_format:"2"} {$GLOBAL.hashunits.network}
-
- - -
+
+
+
+
+
+ Net Hashrate +
+ {$GLOBAL.nethashrate|number_format:"2"}
+ {$GLOBAL.hashunits.network}
+
+ + +
-
-
-
-
-
+
-
- {$GLOBAL.config.currency}/{$GLOBAL.config.price.currency} -
- {$GLOBAL.price|default:"0"|number_format:"8"}
-
- - -
+
+
+
+
+
+ {$GLOBAL.config.currency}/{$GLOBAL.config.price.currency} +
+ {$GLOBAL.price|default:"0"|number_format:"8"}
+
+ + +
- My Hashrate - {$GLOBAL.userdata.hashrate|number_format:"2"} {$GLOBAL.hashunits.personal} -- +
+
-
+
+
+
+
+
+
+
+ My Hashrate +
+ {$GLOBAL.userdata.hashrate|number_format:"2"}
+ {$GLOBAL.hashunits.personal}
+
+ + +
- My Sharerate - S/s -- +
+
-
+
+
+
+
+
+
+
+ Pool Hashrate +
+ {$GLOBAL.hashrate|number_format:"2"}
+ {$GLOBAL.hashunits.pool}
+
+ + +
- Pool Hashrate - {$GLOBAL.hashrate|number_format:"2"} {$GLOBAL.hashunits.pool} -- +
+
-
+
+
+
+
+
+
+
+ My Sharerate +
+
+ S/s
+
+ + +
- Pool Workers - {$GLOBAL.workers} -- +
+
-
+
+
+
+
+
+
+
+ Pool Workers +
+ {$GLOBAL.workers}
+
+ + +
- Net Hashrate - {$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 3c3bb2e2..608fbebe 100644
--- a/public/templates/bootstrap/dashboard/round_statistics/pplns/round.tpl
+++ b/public/templates/bootstrap/dashboard/round_statistics/pplns/round.tpl
@@ -2,93 +2,93 @@
+
+
+
+
+
+
+
+ Net Hashrate +
+ {$GLOBAL.nethashrate|number_format:"2"}
+ {$GLOBAL.hashunits.network}
+
+ + +
-
-
-
-
-
+
-
- {$NETWORK.block} -
-
- Current Block -
+
+
+
+
+
+ {$NETWORK.block} +
+
+ Current Block +
-
-
-
-
-
+
-
- {$ESTIMATES.percent|number_format:"2"}% -
-
- Of Expected Shares -
+
+
+
+
+
+ {$ESTIMATES.percent|number_format:"2"}% +
+
+ Of Expected Shares +
-
-
-
-
-
+
-
- {$GLOBAL.userdata.estimates.payout|number_format:"8"} -
-
- {$GLOBAL.config.currency} Estimated Earnings -
+
+
+
+
+
+ {$GLOBAL.userdata.estimates.payout|number_format:"8"} +
+
+ {$GLOBAL.config.currency} Estimated Earnings +
-
-
-
-
-
+
-
- {$NETWORK.difficulty|number_format:"8"} -
-
- Difficulty -
+
+
+
+
+
+ {$NETWORK.difficulty|number_format:"8"} +
+
+ Difficulty +
-
-
-
-
-
+
-
- {$NETWORK.EstNextDifficulty|number_format:"8"} -Change in {$NETWORK.BlocksUntilDiffChange} Blocks -
-
- Est Next Difficulty -
+
+
+
+
+
+ {$NETWORK.EstNextDifficulty|number_format:"8"} +Change in {$NETWORK.BlocksUntilDiffChange} Blocks +
+
+ Est Next Difficulty +
-
-
-
-
-
+
-
- {$NETWORK.EstTimePerBlock|seconds_to_words} -
-
- Est. Avg. Time per Block -
+
+
+
+
+
+ {$NETWORK.EstTimePerBlock|seconds_to_words} +
+
+ 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 | ||