[DRAFT] PPS Dashboard
This commit is contained in:
parent
828481b235
commit
a00b84721a
@ -0,0 +1,22 @@
|
||||
<div class="col-lg-12">
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<i class="fa fa-spinner fa-fw"></i> Round Information
|
||||
</h4>
|
||||
</div>
|
||||
{assign var=PAYOUT_SYSTEM value=$GLOBAL.config.payout_system}
|
||||
{include file="dashboard/round_statistics/$PAYOUT_SYSTEM/round.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<i class="fa fa-cloud fa-fw"></i> Share Information
|
||||
</h4>
|
||||
</div>
|
||||
{assign var=PAYOUT_SYSTEM value=$GLOBAL.config.payout_system}
|
||||
{include file="dashboard/round_statistics/$PAYOUT_SYSTEM/shares.tpl"}
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,55 @@
|
||||
<div class="panel-footer">
|
||||
<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 class="h6 text-muted">{$GLOBAL.config.currency} 1 Hour 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.hours1|number_format:"12"}</p>
|
||||
<p class="h6 text-muted">{$GLOBAL.config.currency} 24 Hours 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.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 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 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 class="h6 text-muted">PPS Value</p>
|
||||
</div>
|
||||
<div class="col-md-spark">
|
||||
<i class="fa fa-bar-chart-o fa-flip-horizontal fa-2x"></i>
|
||||
<p id="b-roundprogress" class="h6 font-bold m-t">{$GLOBAL.userdata.pps.unpaidshares}</p>
|
||||
<p class="h6 text-muted">Unpaid Shares</p>
|
||||
</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 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-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 class="h6 text-muted">Est. Avg. Time per Block</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,47 @@
|
||||
<table class="table borderless m-b-none text-small">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th><span><h5><i class="fa fa-user fa-fw"></i> Own<h5></th>
|
||||
<th><span><h5><i class="fa fa-users fa-fw"></i> Pool</h6></span></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><h5><i class="fa fa-smile-o fa-fw"></i> Valid</h6></th>
|
||||
<th>
|
||||
<div class="progress progress-striped progress-fix">
|
||||
<div id="b-yvalid" class="progress-bar progress-bar-success black" style="width: 100%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="{$GLOBAL.userdata.shares.valid|number_format}" role="progressbar">{$GLOBAL.userdata.shares.valid|number_format}</div>
|
||||
</div>
|
||||
</th>
|
||||
<th>
|
||||
<div class="progress progress-striped progress-fix">
|
||||
<div id="b-pvalid" class="progress-bar progress-bar-success black" style="width: 100%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="{$GLOBAL.roundshares.valid|number_format}" role="progressbar">{$GLOBAL.roundshares.valid|number_format}</div>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><h5><i class="fa fa-frown-o fa-fw"></i> Invalid</h6></th>
|
||||
<th>
|
||||
<div class="progress progress-striped progress-fix">
|
||||
<div id="b-yivalid" class="progress-bar progress-bar-danger black" style="width: 100%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="{$GLOBAL.userdata.shares.invalid|number_format}" role="progressbar">{$GLOBAL.userdata.shares.invalid|number_format}</div>
|
||||
</div>
|
||||
</th>
|
||||
<th>
|
||||
<div class="progress progress-striped progress-fix">
|
||||
<div id="b-pivalid" class="progress-bar progress-bar-danger black" style="width: 100%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="{$GLOBAL.roundshares.invalid|number_format}" role="progressbar">{$GLOBAL.roundshares.invalid|number_format}</div>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><h5><i class="fa fa-bolt fa-fw"></i> Efficiency</h5></th>
|
||||
<th>
|
||||
<div class="progress progress-striped active progress-fix">
|
||||
<div id="b-yefficiency" class="progress-bar {if $GLOBAL.userdata.shares.valid > 0}progress-bar-info{else}progress-bar-warning{/if} black" style="width:{if $GLOBAL.userdata.shares.valid > 0}{(100 - ($GLOBAL.userdata.shares.invalid / ($GLOBAL.userdata.shares.valid + $GLOBAL.userdata.shares.invalid) * 100))|number_format:"2"}%{else}100.00%{/if}" aria-valuemax="100" aria-valuemin="0" aria-valuenow="20" role="progressbar">{if $GLOBAL.userdata.shares.valid > 0}{(100 - ($GLOBAL.userdata.shares.invalid / ($GLOBAL.userdata.shares.valid + $GLOBAL.userdata.shares.invalid) * 100))|number_format:"2"}%{else}0.00%{/if}</div>
|
||||
</div>
|
||||
</th>
|
||||
<th>
|
||||
<div class="progress progress-striped active progress-fix">
|
||||
<div id="b-pefficiency" class="progress-bar {if $GLOBAL.roundshares.valid > 0}progress-bar-info{else}progress-bar-warning{/if} black" style="width:{if $GLOBAL.roundshares.valid > 0}{(100 - ($GLOBAL.roundshares.invalid / ($GLOBAL.roundshares.valid + $GLOBAL.roundshares.invalid) * 100))|number_format:"2"}%{else}100.00%{/if}" aria-valuemax="100" aria-valuemin="0" aria-valuenow="20" role="progressbar">{if $GLOBAL.roundshares.valid > 0}{(100 - ($GLOBAL.roundshares.invalid / ($GLOBAL.roundshares.valid + $GLOBAL.roundshares.invalid) * 100))|number_format:"2"}%{else}0.00%{/if}</div>
|
||||
</div>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
Loading…
Reference in New Issue
Block a user