[UPDATE] style fixes

This commit is contained in:
iAmShorty 2014-03-22 12:31:37 +01:00
parent cddb929e22
commit bd57e048e6
11 changed files with 176 additions and 166 deletions

View File

@ -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 {

View File

@ -9,21 +9,21 @@
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th >Block</th>
<th>Round Shares</th>
<th>Round Valid</th>
<th>Invalid</th>
<th>Invalid %</th>
<th>Round %</th>
<th class="h6">Block</th>
<th class="h6">Round Shares</th>
<th class="h6">Round Valid</th>
<th class="h6">Invalid</th>
<th class="h6">Invalid %</th>
<th class="h6">Round %</th>
{if $GLOBAL.config.payout_system == 'pplns'}
<th>PPLNS Shares</th>
<th>PPLNS Valid</th>
<th>Invalid</th>
<th>Invalid %</th>
<th>PPLNS %</th>
<th>Variance</th>
<th class="h6">PPLNS Shares</th>
<th class="h6">PPLNS Valid</th>
<th class="h6">Invalid</th>
<th class="h6">Invalid %</th>
<th class="h6">PPLNS %</th>
<th class="h6">Variance</th>
{/if}
<th style="padding-right: 25px;">Amount</th>
<th class="h6" style="padding-right: 25px;">Amount</th>
</tr>
</thead>
<tbody>
@ -55,42 +55,42 @@
{assign var="usertotalshares" value=$usertotalshares+$REPORTDATA[txs].shares}
{/if}
<tr>
<td><a href="{$smarty.server.SCRIPT_NAME}?page=statistics&action=round&height={$REPORTDATA[txs].height}">{$REPORTDATA[txs].height|default:"0"}</a></td>
<td>{$REPORTDATA[txs].shares|default:"0"}</td>
<td>{$REPORTDATA[txs]['user'].valid|number_format|default:"0"}</td>
<td>{$REPORTDATA[txs]['user'].invalid|number_format|default:"0"}</td>
<td>{if $REPORTDATA[txs]['user'].invalid > 0 }{($REPORTDATA[txs]['user'].invalid / $REPORTDATA[txs]['user'].valid * 100)|number_format:"2"|default:"0"}{else}0.00{/if}</td>
<td>{if $REPORTDATA[txs]['user'].valid > 0 }{(( 100 / $REPORTDATA[txs].shares) * $REPORTDATA[txs]['user'].valid)|number_format:"2"}{else}0.00{/if}</td>
<td class="h6"><a href="{$smarty.server.SCRIPT_NAME}?page=statistics&action=round&height={$REPORTDATA[txs].height}">{$REPORTDATA[txs].height|default:"0"}</a></td>
<td class="h6">{$REPORTDATA[txs].shares|default:"0"}</td>
<td class="h6">{$REPORTDATA[txs]['user'].valid|number_format|default:"0"}</td>
<td class="h6">{$REPORTDATA[txs]['user'].invalid|number_format|default:"0"}</td>
<td class="h6">{if $REPORTDATA[txs]['user'].invalid > 0 }{($REPORTDATA[txs]['user'].invalid / $REPORTDATA[txs]['user'].valid * 100)|number_format:"2"|default:"0"}{else}0.00{/if}</td>
<td class="h6">{if $REPORTDATA[txs]['user'].valid > 0 }{(( 100 / $REPORTDATA[txs].shares) * $REPORTDATA[txs]['user'].valid)|number_format:"2"}{else}0.00{/if}</td>
{if $GLOBAL.config.payout_system == 'pplns'}
<td>{$REPORTDATA[txs].pplns_shares|number_format|default:"0"}</td>
<td>{$REPORTDATA[txs]['user'].pplns_valid|number_format|default:"0"}</td>
<td>{$REPORTDATA[txs]['user'].pplns_invalid|number_format|default:"0"}</td>
<td>{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}</td>
<td>{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}</td>
<td>{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}
<td class="h6">{$REPORTDATA[txs].pplns_shares|number_format|default:"0"}</td>
<td class="h6">{$REPORTDATA[txs]['user'].pplns_valid|number_format|default:"0"}</td>
<td class="h6">{$REPORTDATA[txs]['user'].pplns_invalid|number_format|default:"0"}</td>
<td class="h6">{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}</td>
<td class="h6">{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}</td>
<td class="h6">{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}
<font color="{if ($percentage1 >= 100)}green{else}red{/if}">{$percentage1|number_format:"2"|default:"0"}</font></b></td>
{/if}
<td style="padding-right: 25px;">{$REPORTDATA[txs].user_credit|default:"0"|number_format:"8"}</td>
<td class="h6" style="padding-right: 25px;">{$REPORTDATA[txs].user_credit|default:"0"|number_format:"8"}</td>
{assign var=percentage1 value=0}
</tr>
{/section}
<tr>
<td><b>Totals</b></td>
<td>{$totalshares|number_format}</td>
<td>{$totalvalid|number_format}</td>
<td>{$totalinvalid|number_format}</td>
<td>{if $totalinvalid > 0 && $totalvalid > 0 }{($totalinvalid / $totalvalid * 100)|number_format:"2"|default:"0"}{else}0.00{/if}</td>
<td>{if $usertotalshares > 0 && $totalvalid > 0}{(( 100 / $usertotalshares) * $totalvalid)|number_format:"2"|default:"0"}{else}0.00{/if}</td>
<td class="h6"><b>Totals</b></td>
<td class="h6">{$totalshares|number_format}</td>
<td class="h6">{$totalvalid|number_format}</td>
<td class="h6">{$totalinvalid|number_format}</td>
<td class="h6">{if $totalinvalid > 0 && $totalvalid > 0 }{($totalinvalid / $totalvalid * 100)|number_format:"2"|default:"0"}{else}0.00{/if}</td>
<td class="h6">{if $usertotalshares > 0 && $totalvalid > 0}{(( 100 / $usertotalshares) * $totalvalid)|number_format:"2"|default:"0"}{else}0.00{/if}</td>
{if $GLOBAL.config.payout_system == 'pplns'}
<td>{$pplnsshares|number_format}</td>
<td>{$pplnsvalid|number_format}</td>
<td>{$pplnsinvalid|number_format}</td>
<td>{if $pplnsinvalid > 0 && $pplnsvalid > 0 }{($pplnsinvalid / $pplnsvalid * 100)|number_format:"2"|default:"0"}{else}0.00{/if}</td>
<td>{if $userpplnsshares > 0 && $pplnsvalid > 0}{(( 100 / $userpplnsshares) * $pplnsvalid)|number_format:"2"|default:"0"}{else}0.00{/if}</td>
<td>{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}
<td class="h6">{$pplnsshares|number_format}</td>
<td class="h6">{$pplnsvalid|number_format}</td>
<td class="h6">{$pplnsinvalid|number_format}</td>
<td class="h6">{if $pplnsinvalid > 0 && $pplnsvalid > 0 }{($pplnsinvalid / $pplnsvalid * 100)|number_format:"2"|default:"0"}{else}0.00{/if}</td>
<td class="h6">{if $userpplnsshares > 0 && $pplnsvalid > 0}{(( 100 / $userpplnsshares) * $pplnsvalid)|number_format:"2"|default:"0"}{else}0.00{/if}</td>
<td class="h6">{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}
<font color="{if ($percentage2 >= 100)}green{else}red{/if}">{$percentage2|number_format:"2"|default:"0"}</font></b></td>
{/if}
<td style="padding-right: 25px;">{$amount|default:"0"|number_format:"8"}</td>
<td class="h6" style="padding-right: 25px;">{$amount|default:"0"|number_format:"8"}</td>
{assign var=percentage2 value=0}
</tr>
</tbody>

View File

@ -83,25 +83,25 @@
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th>ID</th>
<th>Account</th>
<th>Date</th>
<th>TX Type</th>
<th>Status</th>
<th>Payment Address</th>
<th>TX #</th>
<th>Block #</th>
<th>Amount</th>
<th class="h6">ID</th>
<th class="h6">Account</th>
<th class="h6">Date</th>
<th class="h6">TX Type</th>
<th class="h6">Status</th>
<th class="h6">Payment Address</th>
<th class="h6">TX #</th>
<th class="h6">Block #</th>
<th class="h6">Amount</th>
</tr>
</thead>
<tbody>
{section transaction $TRANSACTIONS}
<tr>
<td>{$TRANSACTIONS[transaction].id}</td>
<td>{$TRANSACTIONS[transaction].username}</td>
<td>{$TRANSACTIONS[transaction].timestamp}</td>
<td>{$TRANSACTIONS[transaction].type}</td>
<td>
<td class="h6">{$TRANSACTIONS[transaction].id}</td>
<td class="h6">{$TRANSACTIONS[transaction].username}</td>
<td class="h6">{$TRANSACTIONS[transaction].timestamp}</td>
<td class="h6">{$TRANSACTIONS[transaction].type}</td>
<td class="h6">
{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}<span class="label label-danger">Orphaned</span>
{else}<span class="label label-warning">Unconfirmed</span>{/if}
</td>
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td>
<td class="h6"><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td>
{if ! $GLOBAL.website.transactionexplorer.disabled}
<td><a href="{$GLOBAL.website.transactionexplorer.url}{$TRANSACTIONS[transaction].txid|escape}" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
<td class="h6"><a href="{$GLOBAL.website.transactionexplorer.url}{$TRANSACTIONS[transaction].txid|escape}" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
{else}
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].txid|escape}')" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
<td class="h6"><a href="#" onClick="alert('{$TRANSACTIONS[transaction].txid|escape}')" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
{/if}
<td>{if $TRANSACTIONS[transaction].height == 0}n/a{else}<a href="{$smarty.server.SCRIPT_NAME}?page=statistics&action=round&height={$TRANSACTIONS[transaction].height}">{/if}{$TRANSACTIONS[transaction].height}</a></td>
<td><font color="{if $TRANSACTIONS[transaction].type == 'Credit' or $TRANSACTIONS[transaction].type == 'Credit_PPS' or $TRANSACTIONS[transaction].type == 'Bonus'}green{else}red{/if}">{$TRANSACTIONS[transaction].amount|number_format:"8"}</td>
<td class="h6">{if $TRANSACTIONS[transaction].height == 0}n/a{else}<a href="{$smarty.server.SCRIPT_NAME}?page=statistics&action=round&height={$TRANSACTIONS[transaction].height}">{/if}{$TRANSACTIONS[transaction].height}</a></td>
<td class="h6"><font color="{if $TRANSACTIONS[transaction].type == 'Credit' or $TRANSACTIONS[transaction].type == 'Credit_PPS' or $TRANSACTIONS[transaction].type == 'Bonus'}green{else}red{/if}">{$TRANSACTIONS[transaction].amount|number_format:"8"}</td>
</tr>
{/section}
</tbody>

View File

@ -86,54 +86,54 @@
<table class="table table-striped table-bordered table-hover {if $USERS}datatable{/if}">
<thead>
<tr>
<th>ID</th>
<th>Username</th>
<th>E-Mail</th>
<th style="padding-right:10px">Shares</th>
<th style="padding-right:10px">Hashrate</th>
<th class="h6">ID</th>
<th class="h6">Username</th>
<th class="h6">E-Mail</th>
<th class="h6" style="padding-right:10px">Shares</th>
<th class="h6" style="padding-right:10px">Hashrate</th>
{if $GLOBAL.config.payout_system != 'pps'}
<th style="padding-right:10px">Est. Donation</th>
<th style="padding-right:10px">Est. Payout</th>
<th class="h6" style="padding-right:10px">Est. Donation</th>
<th class="h6" style="padding-right:10px">Est. Payout</th>
{else}
<th colspan="2" style="padding-right:10px">Est. 24 Hours</th>
<th class="h6" colspan="2" style="padding-right:10px">Est. 24 Hours</th>
{/if}
<th style="padding-right:10px">Balance</th>
<th style="padding-right:10px">Reg. Date</th>
<th style="padding-right:10px">Last Login</th>
<th>Admin</th>
<th>Locked</th>
<th>No Fees</th>
<th class="h6" style="padding-right:10px">Balance</th>
<th class="h6" style="padding-right:10px">Reg. Date</th>
<th class="h6" style="padding-right:10px">Last Login</th>
<th class="h6">Admin</th>
<th class="h6">Locked</th>
<th class="h6">No Fees</th>
</tr>
</thead>
<tbody>
{nocache}
{section name=user loop=$USERS|default}
<tr>
<td>{$USERS[user].id}</td>
<td>{$USERS[user].username|escape}</td>
<td>{$USERS[user].email|escape}</td>
<td>{$USERS[user].shares.valid}</td>
<td>{$USERS[user].hashrate}</td>
<td class="h6">{$USERS[user].id}</td>
<td class="h6">{$USERS[user].username|escape}</td>
<td class="h6">{$USERS[user].email|escape}</td>
<td class="h6">{$USERS[user].shares.valid}</td>
<td class="h6">{$USERS[user].hashrate}</td>
{if $GLOBAL.config.payout_system != 'pps'}
<td>{$USERS[user].estimates.donation|number_format:"8"}</td>
<td>{$USERS[user].estimates.payout|number_format:"8"}</td>
<td class="h6">{$USERS[user].estimates.donation|number_format:"8"}</td>
<td class="h6">{$USERS[user].estimates.payout|number_format:"8"}</td>
{else}
<td colspan="2">{$USERS[user].estimates.hours24|number_format:"8"}</td>
<td class="h6" colspan="2">{$USERS[user].estimates.hours24|number_format:"8"}</td>
{/if}
<td>{$USERS[user].balance|number_format:"8"}</td>
<td>{$USERS[user].signup_timestamp|date_format:"%d/%m %H:%M:%S"}</td>
<td>{$USERS[user].last_login|date_format:"%d/%m %H:%M:%S"}</td>
<td>
<td class="h6">{$USERS[user].balance|number_format:"8"}</td>
<td class="h6">{$USERS[user].signup_timestamp|date_format:"%d/%m %H:%M:%S"}</td>
<td class="h6">{$USERS[user].last_login|date_format:"%d/%m %H:%M:%S"}</td>
<td class="h6">
<input type="hidden" name="admin[{$USERS[user].id}]" value="0"/>
<input type="checkbox" onclick="storeAdmin({$USERS[user].id})" name="admin[{$USERS[user].id}]" value="1" id="admin[{$USERS[user].id}]" {if $USERS[user].is_admin}checked{/if} />
<label for="admin[{$USERS[user].id}]"></label>
</td>
<td>
<td class="h6">
<input type="hidden" name="locked[{$USERS[user].id}]" value="0"/>
<input type="checkbox" onclick="storeLock({$USERS[user].id})" name="locked[{$USERS[user].id}]" value="1" id="locked[{$USERS[user].id}]" {if $USERS[user].is_locked}checked{/if} />
<label for="locked[{$USERS[user].id}]"></label>
</td>
<td>
<td class="h6">
<input type="hidden" name="nofee[{$USERS[user].id}]" value="0"/>
<input type="checkbox" onclick="storeFee({$USERS[user].id})" name="nofee[{$USERS[user].id}]" value="1" id="nofee[{$USERS[user].id}]" {if $USERS[user].no_fees}checked{/if} />
<label for="nofee[{$USERS[user].id}]"></label>

View File

@ -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
};

View File

@ -1,13 +1,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-male fa-fw fa-3x"></i>
<i class="fa fa-male fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p>My Hashrate</p>
<p class="h5">My Hashrate</p>
<div class="circle-tile-number text-faded up">
<span class="overview" id="b-hashrate">{$GLOBAL.userdata.hashrate|number_format:"2"}</span><span class="overview-mhs"> {$GLOBAL.hashunits.personal}</span>
<span class="overview" id="b-hashrate">{$GLOBAL.userdata.hashrate|number_format:"2"}</span>
<span class="overview-mhs"> {$GLOBAL.hashunits.personal}</span>
<br>
<span class="personal-hashrate-bar spark-18"></span>
</div>
@ -18,13 +19,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-users fa-fw fa-3x"></i>
<i class="fa fa-users fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p>Pool Hashrate</p>
<p class="h5">Pool Hashrate</p>
<div class="circle-tile-number text-faded up">
<span class="overview" id="b-poolhashrate">{$GLOBAL.hashrate|number_format:"2"}</span><span class="overview-mhs"> {$GLOBAL.hashunits.pool}</span>
<span class="overview" id="b-poolhashrate">{$GLOBAL.hashrate|number_format:"2"}</span>
<span class="overview-mhs"> {$GLOBAL.hashunits.pool}</span>
<br>
<span class="pool-hashrate-bar spark-18"></span>
</div>
@ -35,13 +37,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-share-square fa-fw fa-3x"></i>
<i class="fa fa-share-square fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p>My Sharerate</p>
<p class="h5">My Sharerate</p>
<div class="circle-tile-number text-faded up">
<span class="overview" id="b-sharerate">{$GLOBAL.userdata.sharerate|number_format:"2"}</span><span class="overview-mhs"> S/s</span>
<span class="overview" id="b-sharerate">{$GLOBAL.userdata.sharerate|number_format:"2"}</span>
<span class="overview-mhs"> S/s</span>
<br>
<span class="personal-sharerate-bar spark-18"></span>
</div>
@ -52,11 +55,11 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-truck fa-fw fa-3x"></i>
<i class="fa fa-truck fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p>Pool Workers</p>
<p class="h5">Pool Workers</p>
<div class="circle-tile-number text-faded up">
<span class="overview" id="b-poolworkers">{$GLOBAL.workers}</span>
<br>
@ -69,13 +72,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-h-square fa-fw fa-3x"></i>
<i class="fa fa-h-square fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p>Net Hashrate</p>
<p class="h5">Net Hashrate</p>
<div class="circle-tile-number text-faded up">
<span class="overview" id="b-nethashrate">{$GLOBAL.nethashrate|number_format:"2"}</span><span class="overview-mhs"> {$GLOBAL.hashunits.network}</span>
<span class="overview" id="b-nethashrate">{$GLOBAL.nethashrate|number_format:"2"}</span>
<span class="overview-mhs"> {$GLOBAL.hashunits.network}</span>
<br>
<span class="pool-nethashrate-bar spark-18"></span>
</div>
@ -86,13 +90,13 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-usd fa-fw fa-3x"></i>
<i class="fa fa-usd fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p>{$GLOBAL.config.currency}/{$GLOBAL.config.price.currency}</p>
<p class="h5">{$GLOBAL.config.currency}/{$GLOBAL.config.price.currency}</p>
<div class="circle-tile-number text-faded up">
<span class="overview" id="b-price">{$GLOBAL.price|default:"0"|number_format:"8"}</span>
<span class="h6 overview" id="b-price">{$GLOBAL.price|default:"0"|number_format:"8"}</span>
<br>
<span class="coin-price-line spark-25"></span>
</div>

View File

@ -1,13 +1,14 @@
<div class="col-md-spark-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-male fa-fw fa-3x"></i>
<i class="fa fa-male fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p>My Hashrate</p>
<p class="h5">My Hashrate</p>
<div class="circle-tile-number text-faded up">
<span class="overview" id="b-hashrate">{$GLOBAL.userdata.hashrate|number_format:"2"}</span><span class="overview-mhs"> {$GLOBAL.hashunits.personal}</span>
<span class="overview" id="b-hashrate">{$GLOBAL.userdata.hashrate|number_format:"2"}</span>
<span class="overview-mhs"> {$GLOBAL.hashunits.personal}</span>
<br>
<span class="personal-hashrate-bar spark-18"></span>
</div>
@ -18,13 +19,14 @@
<div class="col-md-spark-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-users fa-fw fa-3x"></i>
<i class="fa fa-users fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p>Pool Hashrate</p>
<p class="h5">Pool Hashrate</p>
<div class="circle-tile-number text-faded up">
<span class="overview" id="b-poolhashrate">{$GLOBAL.hashrate|number_format:"2"}</span><span class="overview-mhs"> {$GLOBAL.hashunits.pool}</span>
<span class="overview" id="b-poolhashrate">{$GLOBAL.hashrate|number_format:"2"}</span>
<span class="overview-mhs"> {$GLOBAL.hashunits.pool}</span>
<br>
<span class="pool-hashrate-bar spark-18"></span>
</div>
@ -35,13 +37,14 @@
<div class="col-md-spark-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-share-square fa-fw fa-3x"></i>
<i class="fa fa-share-square fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p>My Sharerate</p>
<p class="h5">My Sharerate</p>
<div class="circle-tile-number text-faded up">
<span class="overview" id="b-sharerate">{$GLOBAL.userdata.sharerate|number_format:"2"}</span><span class="overview-mhs"> S/s</span>
<span class="overview" id="b-sharerate">{$GLOBAL.userdata.sharerate|number_format:"2"}</span>
<span class="overview-mhs"> S/s</span>
<br>
<span class="personal-sharerate-bar spark-18"></span>
</div>
@ -52,11 +55,11 @@
<div class="col-md-spark-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-truck fa-fw fa-3x"></i>
<i class="fa fa-truck fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p>Pool Workers</p>
<p class="h5">Pool Workers</p>
<div class="circle-tile-number text-faded up">
<span class="overview" id="b-poolworkers">{$GLOBAL.workers}</span>
<br>
@ -69,13 +72,14 @@
<div class="col-md-spark-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-h-square fa-fw fa-3x"></i>
<i class="fa fa-h-square fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p>Net Hashrate</p>
<p class="h5">Net Hashrate</p>
<div class="circle-tile-number text-faded up">
<span class="overview" id="b-nethashrate">{$GLOBAL.nethashrate|number_format:"2"}</span><span class="overview-mhs"> {$GLOBAL.hashunits.network}</span>
<span class="overview" id="b-nethashrate">{$GLOBAL.nethashrate|number_format:"2"}</span>
<span class="overview-mhs"> {$GLOBAL.hashunits.network}</span>
<br>
<span class="pool-nethashrate-bar spark-18"></span>
</div>

View File

@ -3,14 +3,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-th-large fa-fw fa-3x"></i>
<i class="fa fa-th-large fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p id="b-nblock">{$NETWORK.block}</p>
<p class="h5" id="b-nblock">{$NETWORK.block}</p>
</div>
<div class="circle-tile-number text-faded">
<p class="h5">Current Block</p>
<p class="h6">Current Block</p>
</div>
</div>
</div>
@ -18,14 +18,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-bar-chart-o fa-flip-horizontal fa-fw fa-3x"></i>
<i class="fa fa-bar-chart-o fa-flip-horizontal fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p id="b-roundprogress">{$ESTIMATES.percent|number_format:"2"}%</p>
<p class="h5" id="b-roundprogress">{$ESTIMATES.percent|number_format:"2"}%</p>
</div>
<div class="circle-tile-number text-faded">
<p class="h5">Of Expected Shares</p>
<p class="h6">Of Expected Shares</p>
</div>
</div>
</div>
@ -33,14 +33,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-money fa-fw fa-3x"></i>
<i class="fa fa-money fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p id="b-payout">{$GLOBAL.userdata.estimates.payout|number_format:"8"}</p>
<p class="h5" id="b-payout">{$GLOBAL.userdata.estimates.payout|number_format:"8"}</p>
</div>
<div class="circle-tile-number text-faded">
<p class="h5">{$GLOBAL.config.currency} Estimated Earnings</p>
<p class="h6">{$GLOBAL.config.currency} Estimated Earnings</p>
</div>
</div>
</div>
@ -48,14 +48,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-map-marker fa-fw fa-3x"></i>
<i class="fa fa-map-marker fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p id="b-diff">{$NETWORK.difficulty|number_format:"8"}</p>
<p class="h5" id="b-diff">{$NETWORK.difficulty|number_format:"8"}</p>
</div>
<div class="circle-tile-number text-faded">
<p class="h5">Difficulty</p>
<p class="h6">Difficulty</p>
</div>
</div>
</div>
@ -63,15 +63,15 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-sitemap fa-fw fa-3x"></i>
<i class="fa fa-sitemap fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p id="b-nextdiff">{$NETWORK.EstNextDifficulty|number_format:"8"}</p>
<p class="up" id="b-nextdiffc">Change in {$NETWORK.BlocksUntilDiffChange} Blocks</p>
<p class="h5 up" id="b-nextdiff">{$NETWORK.EstNextDifficulty|number_format:"8"}</p>
<p class="h6" id="b-nextdiffc">Change in {$NETWORK.BlocksUntilDiffChange} Blocks</p>
</div>
<div class="circle-tile-number text-faded">
<p class="h5">Est Next Difficulty</p>
<p class="h6">Est Next Difficulty</p>
</div>
</div>
</div>
@ -79,14 +79,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-clock-o fa-fw fa-3x"></i>
<i class="fa fa-clock-o fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p id="b-esttimeperblock">{$NETWORK.EstTimePerBlock|seconds_to_words}</p>
<p class="h5" id="b-esttimeperblock">{$NETWORK.EstTimePerBlock|seconds_to_words}</p>
</div>
<div class="circle-tile-number text-faded">
<p class="h5">Est. Avg. Time per Block</p>
<p class="h6">Est. Avg. Time per Block</p>
</div>
</div>
</div>

View File

@ -2,7 +2,7 @@
<div class="row text-center">
<div class="col-md-spark">
<i class="fa fa-money fa-2x"></i>
<p id="b-payout" class="h6 font-bold m-t">{$GLOBAL.userdata.estimates.hours1|number_format:"12"}</p>
<p id="b-payout" class="h5 font-bold m-t">{$GLOBAL.userdata.estimates.hours1|number_format:"12"}</p>
<p class="h6 text-muted">{$GLOBAL.config.currency} 1 Hour Estimated Earnings</p>
</div>
<div class="col-md-spark">
@ -12,22 +12,22 @@
</div>
<div class="col-md-spark">
<i class="fa fa-money fa-2x"></i>
<p id="b-payout" class="h6 font-bold m-t">{$GLOBAL.userdata.estimates.days7|number_format:"12"}</p>
<p id="b-payout" class="h5 font-bold m-t">{$GLOBAL.userdata.estimates.days7|number_format:"12"}</p>
<p class="h6 text-muted">{$GLOBAL.config.currency} 7 Days Estimated Earnings</p>
</div>
<div class="col-md-spark">
<i class="fa fa-money fa-2x"></i>
<p id="b-payout" class="h6 font-bold m-t">{$GLOBAL.userdata.estimates.days14|number_format:"12"}</p>
<p id="b-payout" class="h5 font-bold m-t">{$GLOBAL.userdata.estimates.days14|number_format:"12"}</p>
<p class="h6 text-muted">{$GLOBAL.config.currency} 14 Days Estimated Earnings</p>
</div>
<div class="col-md-spark">
<i class="fa fa-money fa-2x"></i>
<p id="b-payout" class="h6 font-bold m-t">{$GLOBAL.userdata.estimates.days30|number_format:"12"}</p>
<p id="b-payout" class="h5 font-bold m-t">{$GLOBAL.userdata.estimates.days30|number_format:"12"}</p>
<p class="h6 text-muted">{$GLOBAL.config.currency} 30 Days Estimated Earnings</p>
</div>
<div class="col-md-spark">
<i class="fa fa-th-large fa-2x"></i>
<p id="b-nblock" class="h6 font-bold m-t">{$GLOBAL.ppsvalue}</p>
<p id="b-nblock" class="h5 font-bold m-t">{$GLOBAL.ppsvalue}</p>
<p class="h6 text-muted">PPS Value</p>
</div>
<div class="col-md-spark">
@ -37,18 +37,18 @@
</div>
<div class="col-md-spark">
<i class="fa fa-map-marker fa-2x"></i>
<p id="b-diff" class="h6 font-bold m-t">{$NETWORK.difficulty|number_format:"8"}</p>
<p id="b-diff" class="h5 font-bold m-t">{$NETWORK.difficulty|number_format:"8"}</p>
<p class="h6 text-muted">Difficulty</p>
</div>
<div class="col-md-spark">
<i class="fa fa-sitemap fa-2x"></i>
<p id="b-nextdiff" class="h6 font-bold m-t">{$NETWORK.EstNextDifficulty|number_format:"8"}</p>
<p id="b-nextdiff" class="h5 font-bold m-t">{$NETWORK.EstNextDifficulty|number_format:"8"}</p>
<p id="b-nextdiffc" class="h6 font-bold m-t">Change in {$NETWORK.BlocksUntilDiffChange} Blocks</p>
<p class="h6 text-muted">Est Next Difficulty</p>
</div>
<div class="col-md-spark">
<i class="fa fa-clock-o fa-2x"></i>
<p id="b-esttimeperblock" class="h6 font-bold m-t">{$NETWORK.EstTimePerBlock|seconds_to_words}</p>
<p id="b-esttimeperblock" class="h5 font-bold m-t">{$NETWORK.EstTimePerBlock|seconds_to_words}</p>
<p class="h6 text-muted">Est. Avg. Time per Block</p>
</div>
</div>

View File

@ -3,14 +3,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-th-large fa-fw fa-3x"></i>
<i class="fa fa-th-large fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p id="b-nblock">{$NETWORK.block}</p>
<p class="h5" id="b-nblock">{$NETWORK.block}</p>
</div>
<div class="circle-tile-number text-faded">
<p class="h5">Current Block</p>
<p class="h6">Current Block</p>
</div>
</div>
</div>
@ -18,14 +18,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-bar-chart-o fa-flip-horizontal fa-fw fa-3x"></i>
<i class="fa fa-bar-chart-o fa-flip-horizontal fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p id="b-roundprogress">{$ESTIMATES.percent|number_format:"2"}%</p>
<p class="h5" id="b-roundprogress">{$ESTIMATES.percent|number_format:"2"}%</p>
</div>
<div class="circle-tile-number text-faded">
<p class="h5">Of Expected Shares</p>
<p class="h6">Of Expected Shares</p>
</div>
</div>
</div>
@ -33,14 +33,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-money fa-fw fa-3x"></i>
<i class="fa fa-money fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p id="b-payout">{$GLOBAL.userdata.estimates.payout|number_format:"8"}</p>
<p class="h5" id="b-payout">{$GLOBAL.userdata.estimates.payout|number_format:"8"}</p>
</div>
<div class="circle-tile-number text-faded">
<p class="h5">{$GLOBAL.config.currency} Estimated Earnings</p>
<p class="h6">{$GLOBAL.config.currency} Estimated Earnings</p>
</div>
</div>
</div>
@ -48,14 +48,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-map-marker fa-fw fa-3x"></i>
<i class="fa fa-map-marker fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p id="b-diff">{$NETWORK.difficulty|number_format:"8"}</p>
<p class="h5" id="b-diff">{$NETWORK.difficulty|number_format:"8"}</p>
</div>
<div class="circle-tile-number text-faded">
<p class="h5">Difficulty</p>
<p class="h6">Difficulty</p>
</div>
</div>
</div>
@ -63,15 +63,15 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-sitemap fa-fw fa-3x"></i>
<i class="fa fa-sitemap fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p id="b-nextdiff">{$NETWORK.EstNextDifficulty|number_format:"8"}</p>
<p class="up" id="b-nextdiffc">Change in {$NETWORK.BlocksUntilDiffChange} Blocks</p>
<p class="h5 up" id="b-nextdiff">{$NETWORK.EstNextDifficulty|number_format:"8"}</p>
<p class="h6" id="b-nextdiffc">Change in {$NETWORK.BlocksUntilDiffChange} Blocks</p>
</div>
<div class="circle-tile-number text-faded">
<p class="h5">Est Next Difficulty</p>
<p class="h6">Est Next Difficulty</p>
</div>
</div>
</div>
@ -79,14 +79,14 @@
<div class="col-lg-2 col-sm-6">
<div class="circle-tile">
<div class="circle-tile-heading blue">
<i class="fa fa-clock-o fa-fw fa-3x"></i>
<i class="fa fa-clock-o fa-fw fa-2x"></i>
</div>
<div class="circle-tile-content blue">
<div class="circle-tile-description text-faded">
<p id="b-esttimeperblock">{$NETWORK.EstTimePerBlock|seconds_to_words}</p>
<p class="h5" id="b-esttimeperblock">{$NETWORK.EstTimePerBlock|seconds_to_words}</p>
</div>
<div class="circle-tile-number text-faded">
<p class="h5">Est. Avg. Time per Block</p>
<p class="h6">Est. Avg. Time per Block</p>
</div>
</div>
</div>

0
scripts/51_percent_check.php Executable file → Normal file
View File