[UPDATE] fixed missing pages, style changes

This commit is contained in:
iAmShorty 2014-03-01 17:31:40 +01:00
parent cac13f2100
commit 4c2f5ba11c
19 changed files with 167 additions and 155 deletions

View File

@ -2,7 +2,7 @@
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
Register new account
<i class="fa fa-edit fa-fw"></i> Register new account
</div>
<div class="panel-body">
<form action="{$smarty.server.SCRIPT_NAME}" method="post" role="form">

View File

@ -1,7 +1,7 @@
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
Blocks found by own Workers
<i class="fa fa-search fa-fw"></i> Blocks found by own Workers
</div>
<div class="panel-body">
<table class="table table-striped table-bordered table-hover">

View File

@ -1,7 +1,7 @@
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
Top 25 Blockfinder
<i class="fa fa-search fa-fw"></i> Top 25 Blockfinder
</div>
<div class="panel-body">
<table class="table table-striped table-bordered table-hover">

View File

@ -2,7 +2,7 @@
<div class="col-lg-12">
<div class="panel panel-info">
<div class="panel-heading">
Block Overview
<i class="fa fa-clock-o fa-fw"></i> Block Overview
</div>
<div class="panel-body">

View File

@ -38,7 +38,7 @@ $(function () {
<div class="col-lg-12">
<div class="panel panel-info">
<div class="panel-heading">
Block Shares
<i class="fa fa-th fa-fw"></i> Block Shares
</div>
<div class="panel-body">
<div class="panel-group">

View File

@ -2,7 +2,7 @@
<div class="col-lg-12">
<div class="panel panel-info">
<div class="panel-heading">
Last {$BLOCKLIMIT} Blocks Found
<i class="fa fa-tasks fa-fw"></i> Last {$BLOCKLIMIT} Blocks Found
</div>
<div class="panel-body">
<div class="table-responsive">

View File

@ -1,7 +1,7 @@
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
Last Found Blocks
<i class="fa fa-th fa-fw"></i> Last Found Blocks
</div>
<div class="panel-body">
<table class="table table-striped table-bordered table-hover">

View File

@ -92,7 +92,7 @@ $(function () {
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
Stats
<i class="fa fa-signal fa-fw"></i> Stats
</div>
<div class="panel-body">
<ul class="nav nav-pills" id="hashrategraph">

View File

@ -1,7 +1,7 @@
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
Contributor Hashrates
<i class="fa fa-tachometer fa-fw"></i> Contributor Hashrates
</div>
<div class="panel-body">
<table class="table table-striped table-bordered table-hover">

View File

@ -1,7 +1,7 @@
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
Contributor Shares
<i class="fa fa-tachometer fa-fw"></i> Contributor Shares
</div>
<div class="panel-body">
<table class="table table-striped table-bordered table-hover">

View File

@ -1,7 +1,7 @@
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
General Statistics
<i class="fa fa-bar-chart-o fa-fw"></i> General Statistics
</div>
<div class="panel-body">
<table class="table table-striped table-bordered table-hover">

View File

@ -1,54 +1,60 @@
<article class="module width_full">
<header><h3>Block Statistics</h3></header>
<table class="tablesorter">
<tbody>
<tr>
<td>
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page}&action={$smarty.request.action}&height={$BLOCKDETAILS.height}&prev=1"><i class="icon-left-open"></i></a>
</td>
<td colspan="7">
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page}&action={$smarty.request.action}&height={$BLOCKDETAILS.height}&next=1"><i class="icon-right-open"></i></a>
</td>
</tr>
<tr class="odd">
<td>ID</td>
<td>{$BLOCKDETAILS.id|number_format:"0"|default:"0"}</td>
<td>Height</td>
{if ! $GLOBAL.website.blockexplorer.disabled}
<td><a href="{$GLOBAL.website.blockexplorer.url}{$BLOCKDETAILS.blockhash}" target="_new">{$BLOCKDETAILS.height|number_format:"0"|default:"0"}</a></td>
{else}
<td>{$BLOCKDETAILS.height|number_format:"0"|default:"0"}</td>
{/if}
<td>Amount</td>
<td>{$BLOCKDETAILS.amount|number_format|default:"0"}</td>
<td>Confirmations</td>
<td>{if $BLOCKDETAILS.confirmations >= $GLOBAL.confirmations}
<font color="green">Confirmed</font>
{else if $BLOCKDETAILS.confirmations == -1}
<font color="red">Orphan</font>
{else if $BLOCKDETAILS.confirmations == 0}0
{else}{($GLOBAL.confirmations - $BLOCKDETAILS.confirmations)|default:"0"} left{/if}</td>
</tr>
<tr class="even">
<td>Difficulty</td>
<td>{$BLOCKDETAILS.difficulty|default:"0"}</td>
<td>Time</td>
<td>{$BLOCKDETAILS.time|default:"0"}</td>
<td>Shares</td>
<td>{$BLOCKDETAILS.shares|number_format:"0"|default:"0"}</td>
<td>Finder</td>
<td>{$BLOCKDETAILS.finder|default:"unknown"}</td>
</tr>
</tbody>
</table>
<footer>
<div class="submit_link">
<form action="{$smarty.server.SCRIPT_NAME}" method="POST" id='search'>
<input type="hidden" name="page" value="{$smarty.request.page|escape}">
<input type="hidden" name="action" value="{$smarty.request.action|escape}">
<input type="text" class="pin" name="search" value="{$smarty.request.height|default:"%"|escape}">
<input type="submit" value="Search" class="alt_btn">
</form>
<div class="row>
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
<i class="fa fa-bar-chart fa-fw"></i> Block Statistics
</div>
<table class="table table-striped table-bordered table-hover">
<tbody>
<tr>
<td>
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page}&action={$smarty.request.action}&height={$BLOCKDETAILS.height}&prev=1"><i class="icon-left-open"></i></a>
</td>
<td colspan="7">
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page}&action={$smarty.request.action}&height={$BLOCKDETAILS.height}&next=1"><i class="icon-right-open"></i></a>
</td>
</tr>
<tr class="odd">
<td>ID</td>
<td>{$BLOCKDETAILS.id|number_format:"0"|default:"0"}</td>
<td>Height</td>
{if ! $GLOBAL.website.blockexplorer.disabled}
<td><a href="{$GLOBAL.website.blockexplorer.url}{$BLOCKDETAILS.blockhash}" target="_new">{$BLOCKDETAILS.height|number_format:"0"|default:"0"}</a></td>
{else}
<td>{$BLOCKDETAILS.height|number_format:"0"|default:"0"}</td>
{/if}
<td>Amount</td>
<td>{$BLOCKDETAILS.amount|number_format|default:"0"}</td>
<td>Confirmations</td>
<td>{if $BLOCKDETAILS.confirmations >= $GLOBAL.confirmations}
<font color="green">Confirmed</font>
{else if $BLOCKDETAILS.confirmations == -1}
<font color="red">Orphan</font>
{else if $BLOCKDETAILS.confirmations == 0}0
{else}{($GLOBAL.confirmations - $BLOCKDETAILS.confirmations)|default:"0"} left{/if}</td>
</tr>
<tr class="even">
<td>Difficulty</td>
<td>{$BLOCKDETAILS.difficulty|default:"0"}</td>
<td>Time</td>
<td>{$BLOCKDETAILS.time|default:"0"}</td>
<td>Shares</td>
<td>{$BLOCKDETAILS.shares|number_format:"0"|default:"0"}</td>
<td>Finder</td>
<td>{$BLOCKDETAILS.finder|default:"unknown"}</td>
</tr>
</tbody>
</table>
<footer>
<div class="submit_link">
<form action="{$smarty.server.SCRIPT_NAME}" method="POST" id='search'>
<input type="hidden" name="page" value="{$smarty.request.page|escape}">
<input type="hidden" name="action" value="{$smarty.request.action|escape}">
<input type="text" class="pin" name="search" value="{$smarty.request.height|default:"%"|escape}">
<input type="submit" value="Search" class="alt_btn">
</form>
</div>
</footer>
</div>
</footer>
</article>
</div>
</div>

View File

@ -2,7 +2,7 @@
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
Round Statistics
<i class="fa fa-refresh fa-fw"></i> Round Statistics
</div>
<div class="panel-body">
<div class="table-responsive">

View File

@ -1,88 +1,94 @@
<article class="module width_full">
<header><h3>Block Statistics</h3></header>
<table class="tablesorter">
<tbody>
<tr>
<td>
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&height={$BLOCKDETAILS.height}&prev=1"><i class="icon-left-open"></i></a>
</td>
<td colspan="4">
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&height={$BLOCKDETAILS.height}&next=1"><i class="icon-right-open"></i></a>
</td>
</tr>
</tbody>
</table>
<table class="tablesorter">
<tbody>
<thead>
<tr>
<div class="row>
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
<i class="fa fa-bar-chart fa-fw"></i> Block Statistics
</div>
<table class="table table-striped table-bordered table-hover">
<tbody>
<tr>
<td>
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&height={$BLOCKDETAILS.height}&prev=1"><i class="icon-left-open"></i></a>
</td>
<td colspan="4">
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&height={$BLOCKDETAILS.height}&next=1"><i class="icon-right-open"></i></a>
</td>
</tr>
</tbody>
</table>
<table class="tablesorter">
<thead>
<tr>
<th colspan="4">Block Statistics</th>
<th colspan="4">PPLNS Round Statistics</th>
</tr>
</thead>
<tr class="odd">
<td>ID</td>
<td>{$BLOCKDETAILS.id|number_format:"0"|default:"0"}</td>
<td>Height</td>
{if ! $GLOBAL.website.blockexplorer.disabled}
<td><a href="{$GLOBAL.website.blockexplorer.url}{$BLOCKDETAILS.blockhash}" target="_new">{$BLOCKDETAILS.height|number_format:"0"|default:"0"}</a></td>
{else}
<td>{$BLOCKDETAILS.height|number_format:"0"|default:"0"}</td>
{/if}
<td>PPLNS Shares</td>
<td>{$PPLNSSHARES|number_format:"0"|default:"0"}</td>
<td>Estimated Shares</td>
<td>{$BLOCKDETAILS.estshares|number_format|default:"0"}</td>
</tr>
<tr class="odd">
<td>Amount</td>
<td>{$BLOCKDETAILS.amount|default:"0"}</td>
<td>Confirmations</td>
<td>{if $BLOCKDETAILS.confirmations >= $GLOBAL.confirmations}
<font color="green">Confirmed</font>
{else if $BLOCKDETAILS.confirmations == -1}
<font color="red">Orphan</font>
{else if $BLOCKDETAILS.confirmations == 0}0
{else}{($GLOBAL.confirmations - $BLOCKDETAILS.confirmations)|default:"0"} left{/if}</td>
<td>Block Average</td>
<td>{$BLOCKAVERAGE|number_format:"0"|default:"0"}</td>
<td>Average Efficiency</td>
<td>{math assign="percentage2" equation=(($BLOCKDETAILS.estshares / $BLOCKAVERAGE) * 100)}<font color="{if ($percentage2 >= 100)}green{else}red{/if}">{$percentage2|number_format:"2"} %</font></td>
</tr>
<tr class="odd">
<td>Difficulty</td>
<td>{$BLOCKDETAILS.difficulty|default:"0"}</td>
<td>Time</td>
<td>{$BLOCKDETAILS.time|default:"0"}</td>
<td>Target Rounds</td>
<td>{$BLOCKAVGCOUNT|number_format:"0"|default:"0"}</td>
<td>Target Variance</td>
<td>{math assign="percentage" equation=(($BLOCKDETAILS.estshares / $PPLNSSHARES) * 100)}<font color="{if ($percentage >= 100)}green{else}red{/if}">{$percentage|number_format:"2"} %</font></td>
</tr>
<tr class="odd">
<td>Shares</td>
<td>{$BLOCKDETAILS.shares|number_format:"0"|default:"0"}</td>
<td>Finder</td>
<td>{$BLOCKDETAILS.finder|default:"unknown"}</td>
<td>Seconds This Round</td>
<td>{$BLOCKDETAILS.round_time|number_format:"0"|default:"0"}</td>
<td>Round Variance</td>
<td>{math assign="percentage1" equation=(($BLOCKDETAILS.shares / $PPLNSSHARES) * 100)}<font color="{if ($percentage1 >= 100)}green{else}red{/if}">{$percentage1|number_format:"2"} %</font></td>
</tr>
</tbody>
</table>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>ID</td>
<td>{$BLOCKDETAILS.id|number_format:"0"|default:"0"}</td>
<td>Height</td>
{if ! $GLOBAL.website.blockexplorer.disabled}
<td><a href="{$GLOBAL.website.blockexplorer.url}{$BLOCKDETAILS.blockhash}" target="_new">{$BLOCKDETAILS.height|number_format:"0"|default:"0"}</a></td>
{else}
<td>{$BLOCKDETAILS.height|number_format:"0"|default:"0"}</td>
{/if}
<td>PPLNS Shares</td>
<td>{$PPLNSSHARES|number_format:"0"|default:"0"}</td>
<td>Estimated Shares</td>
<td>{$BLOCKDETAILS.estshares|number_format|default:"0"}</td>
</tr>
<tr class="odd">
<td>Amount</td>
<td>{$BLOCKDETAILS.amount|default:"0"}</td>
<td>Confirmations</td>
<td>{if $BLOCKDETAILS.confirmations >= $GLOBAL.confirmations}
<font color="green">Confirmed</font>
{else if $BLOCKDETAILS.confirmations == -1}
<font color="red">Orphan</font>
{else if $BLOCKDETAILS.confirmations == 0}0
{else}{($GLOBAL.confirmations - $BLOCKDETAILS.confirmations)|default:"0"} left{/if}</td>
<td>Block Average</td>
<td>{$BLOCKAVERAGE|number_format:"0"|default:"0"}</td>
<td>Average Efficiency</td>
<td>{math assign="percentage2" equation=(($BLOCKDETAILS.estshares / $BLOCKAVERAGE) * 100)}<font color="{if ($percentage2 >= 100)}green{else}red{/if}">{$percentage2|number_format:"2"} %</font></td>
</tr>
<tr class="odd">
<td>Difficulty</td>
<td>{$BLOCKDETAILS.difficulty|default:"0"}</td>
<td>Time</td>
<td>{$BLOCKDETAILS.time|default:"0"}</td>
<td>Target Rounds</td>
<td>{$BLOCKAVGCOUNT|number_format:"0"|default:"0"}</td>
<td>Target Variance</td>
<td>{math assign="percentage" equation=(($BLOCKDETAILS.estshares / $PPLNSSHARES) * 100)}<font color="{if ($percentage >= 100)}green{else}red{/if}">{$percentage|number_format:"2"} %</font></td>
</tr>
<tr class="odd">
<td>Shares</td>
<td>{$BLOCKDETAILS.shares|number_format:"0"|default:"0"}</td>
<td>Finder</td>
<td>{$BLOCKDETAILS.finder|default:"unknown"}</td>
<td>Seconds This Round</td>
<td>{$BLOCKDETAILS.round_time|number_format:"0"|default:"0"}</td>
<td>Round Variance</td>
<td>{math assign="percentage1" equation=(($BLOCKDETAILS.shares / $PPLNSSHARES) * 100)}<font color="{if ($percentage1 >= 100)}green{else}red{/if}">{$percentage1|number_format:"2"} %</font></td>
</tr>
</tbody>
</table>
<footer>
<form action="{$smarty.server.SCRIPT_NAME}" method="POST" id='search' role="form">
<input type="hidden" name="page" value="{$smarty.request.page|escape}">
<input type="hidden" name="action" value="{$smarty.request.action|escape}">
<div class="form-group input-group">
<input type="text" class="form-control" name="search" value="{$smarty.request.height|default:"%"|escape}">
<span class="input-group-btn">
<button class="btn btn-default" type="submit" value="Search"><i class="fa fa-search"></i>
</button>
</span>
</div>
</form>
</footer>
</article>
<footer>
<form action="{$smarty.server.SCRIPT_NAME}" method="POST" id='search' role="form">
<input type="hidden" name="page" value="{$smarty.request.page|escape}">
<input type="hidden" name="action" value="{$smarty.request.action|escape}">
<div class="form-group input-group">
<input type="text" class="form-control" name="search" value="{$smarty.request.height|default:"%"|escape}">
<span class="input-group-btn">
<button class="btn btn-default" type="submit" value="Search"><i class="fa fa-search"></i>
</button>
</span>
</div>
</form>
</footer>
</div>
</div>
</div>

View File

@ -1,7 +1,7 @@
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
PPLNS Round Shares
<i class="fa fa-refresh fa-fw"></i> PPLNS Round Shares
</div>
<div class="panel-body">
<div class="table-responsive">

View File

@ -2,7 +2,7 @@
<div class="col-lg-12">
<div class="panel panel-info">
<div class="panel-heading">
Round Transactions
<i class="fa fa-credit-card fa-fw"></i> Round Transactions
</div>
<div class="panel-body">
<div class="table-responsive">

View File

@ -2,7 +2,7 @@
<div class="col-lg-12">
<div class="panel panel-info">
<div class="panel-heading">
Round Statistics
<i class="fa fa-refresh fa-fw"></i> Round Statistics
</div>
<div class="panel-body">
<div class="table-responsive">

View File

@ -1,7 +1,7 @@
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
Round Shares
<i class="fa fa-refresh fa-fw"></i> Round Shares
</div>
<div class="panel-body">
<div class="table-responsive">

View File

@ -1,7 +1,7 @@
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">UptimeRobot Status</div>
<div class="panel-heading"><i class="fa fa-clock-o fa-fw"></i> UptimeRobot Status</div>
<div class="panel-body">
<table class="table table-striped table-bordered table-hover">
<thead>