142 lines
4.2 KiB
Smarty
Executable File
142 lines
4.2 KiB
Smarty
Executable File
<div class="row">
|
|
<div class="col-lg-4">
|
|
<div class="panel panel-info">
|
|
<div class="panel-heading">
|
|
Balance Summary
|
|
</div>
|
|
<div class="panel-body">
|
|
<table class="table table-striped table-bordered table-hover">
|
|
<tr>
|
|
<td>Wallet Balance</td>
|
|
<td>{$BALANCE|number_format:"8"}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Locked for users</td>
|
|
<td>{$LOCKED|number_format:"8"}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Unconfirmed</td>
|
|
<td>{$UNCONFIRMED|number_format:"8"}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Liquid Assets</td>
|
|
<td>{($BALANCE - $LOCKED - $UNCONFIRMED + $NEWMINT|default:"0")|number_format:"8"}</td>
|
|
</tr>
|
|
{if $NEWMINT >= 0}
|
|
<tr>
|
|
<td>PoS New Mint</td>
|
|
<td>{$NEWMINT|number_format:"8"}</td>
|
|
</tr>
|
|
{/if}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-8">
|
|
<div class="panel panel-info">
|
|
<div class="panel-heading">
|
|
Wallet Status
|
|
</div>
|
|
<div class="panel-body">
|
|
<table class="table table-striped table-bordered table-hover">
|
|
<thead>
|
|
<th>Version</th>
|
|
<th>Protocol Version</th>
|
|
<th>Wallet Version</th>
|
|
<th>Connections</th>
|
|
<th>Errors</th>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>{$COININFO.version|default:""}</td>
|
|
<td>{$COININFO.protocolversion|default:""}</td>
|
|
<td>{$COININFO.walletversion|default:""}</td>
|
|
<td>{$COININFO.connections|default:""}</td>
|
|
<td><font color="{if $COININFO.errors}red{else}green{/if}">{$COININFO.errors|default:"OK"}</font></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{if $ADDRESSCOUNT > 1}
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="panel panel-info">
|
|
<div class="panel-heading">
|
|
Number of Accounts in Wallet: {$ADDRESSCOUNT|default:"0"}
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
<div class="panel-group">
|
|
|
|
{foreach key=NAME item=VALUE from=$ACCOUNTS}
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h4 class="panel-title">
|
|
Account: {$NAME|default:"Default"}
|
|
</h4>
|
|
</div>
|
|
<div class="panel-body">
|
|
<div class="col-lg-4">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h4 class="panel-title">
|
|
Balance Info
|
|
</h4>
|
|
</div>
|
|
<div class="panel-body">
|
|
<table class="table table-striped table-bordered table-hover">
|
|
<tr>
|
|
<td>Balance</td>
|
|
<td>{$VALUE|number_format:"8"}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{foreach key=ACCOUNT item=ADDRESS from=$ACCOUNTADDRESSES}
|
|
{if $ACCOUNT == $NAME}
|
|
|
|
<div class="col-lg-8">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h4 class="panel-title">
|
|
Addresses assigned to Account {$ACCOUNT|default:"Default"}
|
|
</h4>
|
|
</div>
|
|
<div class="panel-body">
|
|
<table class="table table-striped table-bordered table-hover">
|
|
<tbody>
|
|
{foreach from=$ACCOUNTADDRESSES[$ACCOUNT] key=ACCOUNT1 item=ADDRESS1}
|
|
{if $ADDRESS1@iteration is even by 1}
|
|
<td>{$ADDRESS1}</td>
|
|
</tr>
|
|
{else}
|
|
<tr>
|
|
<td>{$ADDRESS1}</td>
|
|
{/if}
|
|
{/foreach}
|
|
<tbody>
|
|
</table>
|
|
{/if}
|
|
{/foreach}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/foreach}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/if}
|