[UPDATE] wallet layout

This commit is contained in:
iAmShorty 2014-02-27 21:32:22 +01:00
parent 3b84458443
commit f6599f338b

View File

@ -1,10 +1,11 @@
{if $ADDRESSCOUNT > 1} <div class="row">
<article class="module width_full"> <div class="col-lg-4">
<header><h3>Wallet Information</h3></header> <div class="panel panel-info">
{/if} <div class="panel-heading">
<article class="module width_quarter"> Balance Summary
<header><h3>Balance Summary</h3></header> </div>
<table width="25%" class="tablesorter" cellspacing="0"> <div class="panel-body">
<table class="table">
<tr> <tr>
<td align="left">Wallet Balance</td> <td align="left">Wallet Balance</td>
<td align="left">{$BALANCE|number_format:"8"}</td> <td align="left">{$BALANCE|number_format:"8"}</td>
@ -28,11 +29,17 @@
</tr> </tr>
{/if} {/if}
</table> </table>
</article> </div>
</div>
</div>
<article class="module width_3_quarter"> <div class="col-lg-8">
<header><h3>Wallet Status</h3></header> <div class="panel panel-info">
<table class="tablesorter" cellspacing="0"> <div class="panel-heading">
Wallet Status
</div>
<div class="panel-body">
<table class="table">
<thead> <thead>
<th align="center">Version</th> <th align="center">Version</th>
<th align="center">Protocol Version</th> <th align="center">Protocol Version</th>
@ -50,29 +57,59 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</article> </div>
{if $ADDRESSCOUNT > 1} </div>
</article> </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">
<article class="module width_full">
<header><h3>Number of Accounts in Wallet: {$ADDRESSCOUNT|default:"0"}</h3></header>
{foreach key=NAME item=VALUE from=$ACCOUNTS} {foreach key=NAME item=VALUE from=$ACCOUNTS}
<article class="module width_full"> <div class="panel panel-default">
<header><h3>Account: {$NAME|default:"Default"}</h3></header> <div class="panel-heading">
<article class="module width_quarter"> <h4 class="panel-title">
<header><h3>Balance Info</h3></header> Account: {$NAME|default:"Default"}
<table width="40%" class="tablesorter" cellspacing="0"> </h4>
<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">
<tr> <tr>
<td align="left">Balance</td> <td align="left">Balance</td>
<td align="left">{$VALUE|number_format:"8"}</td> <td align="left">{$VALUE|number_format:"8"}</td>
</tr> </tr>
</table> </table>
</article> </div>
</div>
</div>
{foreach key=ACCOUNT item=ADDRESS from=$ACCOUNTADDRESSES} {foreach key=ACCOUNT item=ADDRESS from=$ACCOUNTADDRESSES}
{if $ACCOUNT == $NAME} {if $ACCOUNT == $NAME}
<article class="module width_3_quarter">
<header><h3>Addresses assigned to Account {$ACCOUNT|default:"Default"}</h3></header> <div class="col-lg-8">
<table class="tablesorter" cellspacing="0"> <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">
<tbody> <tbody>
{foreach from=$ACCOUNTADDRESSES[$ACCOUNT] key=ACCOUNT1 item=ADDRESS1} {foreach from=$ACCOUNTADDRESSES[$ACCOUNT] key=ACCOUNT1 item=ADDRESS1}
{if $ADDRESS1@iteration is even by 1} {if $ADDRESS1@iteration is even by 1}
@ -83,12 +120,20 @@
<td align="left" style="padding-right: 25px;">{$ADDRESS1}</td> <td align="left" style="padding-right: 25px;">{$ADDRESS1}</td>
{/if} {/if}
{/foreach} {/foreach}
</tbody> <tbody>
</table> </table>
</article>
{/if} {/if}
{/foreach} {/foreach}
</article> </div>
</div>
</div>
</div>
</div>
{/foreach} {/foreach}
</article> </div>
</div>
</div>
</div>
</div>
</div>
{/if} {/if}