55 lines
2.0 KiB
Smarty
Executable File
55 lines
2.0 KiB
Smarty
Executable File
<div class="col-lg-6">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h4 class="panel-title">Account Information</h4>
|
|
</div>
|
|
<div class="panel-body no-padding">
|
|
<table class="table table-bordered table-hover table-striped">
|
|
<tr>
|
|
<td colspan="2">
|
|
{if $GLOBAL.userdata.no_fees}
|
|
You are mining without any pool fees applied and
|
|
{else if $GLOBAL.fees > 0}
|
|
You are mining at <font color="orange">{if $GLOBAL.fees < 0.0001}{$GLOBAL.fees|escape|number_format:"8"}{else}{$GLOBAL.fees|escape}{/if}%</font> pool fee and
|
|
{else}
|
|
This pool does not apply fees and
|
|
{/if}
|
|
{if $GLOBAL.userdata.donate_percent > 0}
|
|
you donate <font color="green">{$GLOBAL.userdata.donate_percent|escape}%</font>.
|
|
{else}
|
|
you are not <a href="{$smarty.server.SCRIPT_NAME}?page=account&action=edit">donating</a>.
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table class="table table-bordered table-hover table-striped">
|
|
<thead>
|
|
<tr><th colspan="2"><b>{$GLOBAL.config.currency} Account Balance</b></th></tr>
|
|
</thead>
|
|
<tr>
|
|
<td style="font-weight: bold;">Confirmed</td>
|
|
<td><span id="b-confirmed" class="confirmed" style="width: calc(140px); font-size: 12px;">{$GLOBAL.userdata.balance.confirmed|number_format:"6"}</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="font-weight: bold;">Unconfirmed</td>
|
|
<td><span id="b-unconfirmed" class="unconfirmed" style="width: calc(140px); font-size: 12px;">{$GLOBAL.userdata.balance.unconfirmed|number_format:"6"}</span></td>
|
|
</tr>
|
|
</table>
|
|
{if !$DISABLED_DASHBOARD and !$DISABLED_DASHBOARD_API}
|
|
<table class="tablesorter" cellspacing="0">
|
|
<thead>
|
|
<tr>
|
|
<th>Worker</th>
|
|
<th>Hashrate</th>
|
|
<th style="padding-right: 10px;">Difficulty</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="b-workers">
|
|
<td colspan="3">No worker information available</td>
|
|
</tbody>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
</div> |