Fixing minor template issues

* Fixed donation link in userinfo bar
* Fixed sidebar table format with proper width
This commit is contained in:
Sebastian Grewe 2013-06-03 12:30:37 +02:00
parent 3eb652402f
commit 8a50e14f0b
2 changed files with 4 additions and 4 deletions

View File

@ -5,11 +5,11 @@
<h1>Dashboard</h1> <h1>Dashboard</h1>
</div> </div>
<div class="block_content" style="padding-top:10px;"> <div class="block_content" style="padding-top:10px;">
<table class="sidebar"> <table class="sidebar" style="width: 196px">
<tr><td colspan="2"><b>Your Current Hashrate</b></td></tr> <tr><td colspan="2"><b>Your Hashrate</b></td></tr>
<tr><td colspan="2" class="right">{$GLOBAL.userdata.hashrate|number_format} KH/s</td></tr> <tr><td colspan="2" class="right">{$GLOBAL.userdata.hashrate|number_format} KH/s</td></tr>
<tr> <tr>
<td colspan="2"><b><u>Unpaid Shares</u></b> <span id='tt'><img src='{$PATH}/images/questionmark.png' height='15px' width='15px' title='Submitted shares between the last 120 confirms block until now.'></span><td> <td colspan="2"><b><u>Unpaid Shares</u></b> <span id='tt'><img src='{$PATH}/images/questionmark.png' height='15px' width='15px' title='Submitted shares between the last 120 confirms block until now.'></span></td>
</tr> </tr>
<tr> <tr>
<td><b>Your Valid<b></td> <td><b>Your Valid<b></td>

View File

@ -1,5 +1,5 @@
{if $GLOBAL.userdata.username|default} {if $GLOBAL.userdata.username|default}
<h2>Welcome, {$smarty.session.USERDATA.username} <font size='1px'><b>Active Account</b>: <b>{$GLOBAL.fees}%</b> Pool Fee</font> <font size='1px'><i>(You are <a href='/osList'>donating</a> <b></i>{$GLOBAL.userdata.donate_percent}%</b> <i>of your earnings)</i></font></h2> <h2>Welcome, {$smarty.session.USERDATA.username} <font size='1px'><b>Active Account</b>: <b>{$GLOBAL.fees}%</b> Pool Fee</font> <font size='1px'><i>(You are <a href='{$smarty.server.PHP_SELF}?page=account&action=edit'>donating</a> <b></i>{$GLOBAL.userdata.donate_percent}%</b> <i>of your earnings)</i></font></h2>
{else} {else}
<h2>Welcome guest, <font size="1px"> please <a href="{$smarty.server.PHP_SELF}?page=register">register</a> to user this pool.</font></h2> <h2>Welcome guest, <font size="1px"> please <a href="{$smarty.server.PHP_SELF}?page=register">register</a> to user this pool.</font></h2>
{/if} {/if}