[UPDATE] admin center layouts

This commit is contained in:
iAmShorty 2014-02-27 18:57:06 +01:00
parent 549d4dd749
commit f74b63f7de
13 changed files with 498 additions and 412 deletions

View File

@ -1,4 +1,3 @@
<div class="row"> <div class="row">
{include file="account/edit/detail.tpl"} {include file="account/edit/detail.tpl"}
{include file="account/edit/password.tpl"} {include file="account/edit/password.tpl"}

View File

@ -1,26 +1,13 @@
{nocache} {nocache}
<table width="100%">
<tr> {include file="admin/dashboard/mpos.tpl"}
<td>
{include file="admin/dashboard/mpos.tpl"} {include file="admin/dashboard/user.tpl"}
</td>
</tr> <div class="row">
</table> {include file="admin/dashboard/registrations.tpl"}
<table width="100%"> {if $GLOBAL.config.disable_invitations|default:"0" == 0}
<tr> {include file="admin/dashboard/invitation.tpl"}
<td> {/if}
{include file="admin/dashboard/user.tpl"} </div>
</td>
</tr>
</table>
<table width="100%">
<tr>
<td>
{include file="admin/dashboard/registrations.tpl"}
{if $GLOBAL.config.disable_invitations|default:"0" == 0}
{include file="admin/dashboard/invitation.tpl"}
{/if}
</td>
</tr>
</table>
{/nocache} {/nocache}

View File

@ -1,21 +1,25 @@
{nocache} <div class="col-lg-6">
<article class="module width_quarter"> <div class="panel panel-info">
<header><h3><a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=invitations">Invitations</a></h3></header> <div class="panel-heading">
<table class="tablesorter" cellspacing="0"> <a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=invitations">Invitations</a>
<thead> </div>
<tr> <div class="panel-body">
<th align="center">Total</th> <table class="table">
<th align="center">Activated</th> <thead>
<th align="center">Outstanding</th> <tr>
</tr> <th align="center">Total</th>
</thead> <th align="center">Activated</th>
<tbody> <th align="center">Outstanding</th>
<tr> </tr>
<td align="center">{$INVITATION_INFO.total}</td> </thead>
<td align="center">{$INVITATION_INFO.activated}</td> <tbody>
<td align="center">{$INVITATION_INFO.outstanding}</td> <tr>
</tr> <td align="center">{$INVITATION_INFO.total}</td>
</tbody> <td align="center">{$INVITATION_INFO.activated}</td>
</table> <td align="center">{$INVITATION_INFO.outstanding}</td>
</article> </tr>
{/nocache} </tbody>
</table>
</div>
</div>
</div>

View File

@ -1,70 +1,82 @@
{nocache} <div class="row">
<article class="module width_quarter"> <div class="col-lg-6">
<header><h3>MPOS Version Information</h3></header> <div class="panel panel-info">
<table width="25%" class="tablesorter" cellspacing="0"> <div class="panel-heading">
<thead> MPOS Version Information
<tr> </div>
<th>Component</th> <div class="panel-body">
<th align="center">Current</th> <table class="table">
<th align="center">Installed</th> <thead>
</tr> <tr>
</thead> <th>Component</th>
<tbody> <th align="center">Current</th>
<tr> <th align="center">Installed</th>
<td><strong>MPOS</strong></td> </tr>
<td align="center"><font color="green">{$VERSION['CURRENT']['CORE']}</font></td> </thead>
<td align="center"> <tbody>
<font color="{if $VERSION['INSTALLED']['CORE'] == $VERSION['CURRENT']['CORE']}green{else}red{/if}">{$VERSION['INSTALLED']['CORE']}</font> <tr>
</td> <td><strong>MPOS</strong></td>
</tr> <td align="center"><font color="green">{$VERSION['CURRENT']['CORE']}</font></td>
<tr> <td align="center">
<td><strong>Config</strong></td> <font color="{if $VERSION['INSTALLED']['CORE'] == $VERSION['CURRENT']['CORE']}green{else}red{/if}">{$VERSION['INSTALLED']['CORE']}</font>
<td align="center"><font color="green">{$VERSION['CURRENT']['CONFIG']}</font></td> </td>
<td align="center"> </tr>
<font color="{if $VERSION['INSTALLED']['CONFIG'] == $VERSION['CURRENT']['CONFIG']}green{else}red{/if}">{$VERSION['INSTALLED']['CONFIG']}</font> <tr>
</td> <td><strong>Config</strong></td>
</tr> <td align="center"><font color="green">{$VERSION['CURRENT']['CONFIG']}</font></td>
<tr> <td align="center">
<td><strong>Database</strong></td> <font color="{if $VERSION['INSTALLED']['CONFIG'] == $VERSION['CURRENT']['CONFIG']}green{else}red{/if}">{$VERSION['INSTALLED']['CONFIG']}</font>
<td align="center"><font color="green">{$VERSION['CURRENT']['DB']}</font></td> </td>
<td align="center"> </tr>
<font color="{if $VERSION['INSTALLED']['DB'] == $VERSION['CURRENT']['DB']}green{else}red{/if}">{$VERSION['INSTALLED']['DB']}</font> <tr>
</td> <td><strong>Database</strong></td>
</tr> <td align="center"><font color="green">{$VERSION['CURRENT']['DB']}</font></td>
</tbody> <td align="center">
</table> <font color="{if $VERSION['INSTALLED']['DB'] == $VERSION['CURRENT']['DB']}green{else}red{/if}">{$VERSION['INSTALLED']['DB']}</font>
</article> </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<article class="module width_quarter"> <div class="col-lg-6">
<header><h3>MPOS Status</h3></header> <div class="panel panel-info">
<table class="tablesorter" cellspacing="0"> <div class="panel-heading">
<thead> MPOS Status
<tr> </div>
<th colspan="2" align="center">Cronjobs</th> <div class="panel-body">
<th align="center">Wallet</th> <table class="table">
</tr> <thead>
<tr> <tr>
<th align="center"><strong>Errors</strong></th> <th colspan="2" align="center">Cronjobs</th>
<th align="center"><strong>Disabled</strong></th> <th align="center">Wallet</th>
<th align="center"><strong>Errors</strong></th> </tr>
</tr> <tr>
</thead> <th><strong>Errors</strong></th>
<tbody> <th><strong>Disabled</strong></th>
<tr> <th><strong>Errors</strong></th>
<td align="center"> </tr>
<a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=monitoring">{if $CRON_ERROR == 0}None - OK{else}{$CRON_ERROR}{/if}</a> </thead>
</td> <tbody>
<td align="center"> <tr>
<a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=monitoring">{if $CRON_DISABLED == 0}None - OK{else}{$CRON_DISABLED}{/if}</a> <td align="center">
</td> <a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=monitoring">{if $CRON_ERROR == 0}None - OK{else}{$CRON_ERROR}{/if}</a>
<td align="center"> </td>
<a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=wallet">{$WALLET_ERROR|default:"None - OK"}</a> <td align="center">
</td> <a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=monitoring">{if $CRON_DISABLED == 0}None - OK{else}{$CRON_DISABLED}{/if}</a>
</tr> </td>
</tbody> <td align="center">
</table> <a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=wallet">{$WALLET_ERROR|default:"None - OK"}</a>
</article> </td>
{/nocache} </tr>
</tbody>
</table>
</div>
</div>
</div>
</div>

View File

@ -1,25 +1,30 @@
{nocache} <div class="col-lg-6">
<article class="module width_quarter"> <div class="panel panel-info">
<header><h3><a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=registrations">Registrations</a></h3></header> <div class="panel-heading">
<table class="tablesorter" cellspacing="0"> <a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=registrations">Registrations</a>
<thead> </div>
<tr> <div class="panel-body">
<th align="center">24 hours</th> <table class="table">
<th align="center">7 days</th>
<th align="center">1 month</th> <thead>
<th align="center">6 months</th> <tr>
<th align="center">1 year</th> <th align="center">24 hours</th>
</tr> <th align="center">7 days</th>
</thead> <th align="center">1 month</th>
<tbody> <th align="center">6 months</th>
<tr> <th align="center">1 year</th>
<td align="center">{$USER_REGISTRATIONS.24hours}</td> </tr>
<td align="center">{$USER_REGISTRATIONS.7days}</td> </thead>
<td align="center">{$USER_REGISTRATIONS.1month}</td> <tbody>
<td align="center">{$USER_REGISTRATIONS.6month}</td> <tr>
<td align="center">{$USER_REGISTRATIONS.1year}</td> <td align="center">{$USER_REGISTRATIONS.24hours}</td>
</tr> <td align="center">{$USER_REGISTRATIONS.7days}</td>
</tbody> <td align="center">{$USER_REGISTRATIONS.1month}</td>
</table> <td align="center">{$USER_REGISTRATIONS.6month}</td>
</article> <td align="center">{$USER_REGISTRATIONS.1year}</td>
{/nocache} </tr>
</tbody>
</table>
</div>
</div>
</div>

View File

@ -1,49 +1,61 @@
{nocache} <div class="row">
<article class="module width_quarter"> <div class="col-lg-6">
<header><h3>Users</h3></header> <div class="panel panel-info">
<table class="tablesorter" cellspacing="0"> <div class="panel-heading">
<thead> Users
<tr> </div>
<th align="center">Total</th> <div class="panel-body">
<th align="center">Active</th> <table class="table">
<th align="center">Locked</th> <thead>
<th align="center">Admins</th> <tr>
<th align="center">No Fees</th> <th align="center">Total</th>
</tr> <th align="center">Active</th>
</thead> <th align="center">Locked</th>
<tbody> <th align="center">Admins</th>
<tr> <th align="center">No Fees</th>
<td align="center">{$USER_INFO.total}</td> </tr>
<td align="center">{$USER_INFO.active}</td> </thead>
<td align="center">{$USER_INFO.locked}</td> <tbody>
<td align="center">{$USER_INFO.admins}</td> <tr>
<td align="center">{$USER_INFO.nofees}</td> <td align="center">{$USER_INFO.total}</td>
</tr> <td align="center">{$USER_INFO.active}</td>
</tbody> <td align="center">{$USER_INFO.locked}</td>
</table> <td align="center">{$USER_INFO.admins}</td>
</article> <td align="center">{$USER_INFO.nofees}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<article class="module width_quarter"> <div class="col-lg-6">
<header><h3>Logins</h3></header> <div class="panel panel-info">
<table class="tablesorter" cellspacing="0"> <div class="panel-heading">
<thead> Logins
<tr> </div>
<th align="center">24 hours</th> <div class="panel-body">
<th align="center">7 days</th> <table class="table">
<th align="center">1 month</th> <thead>
<th align="center">6 months</th> <tr>
<th align="center">1 year</th> <th align="center">24 hours</th>
</tr> <th align="center">7 days</th>
</thead> <th align="center">1 month</th>
<tbody> <th align="center">6 months</th>
<tr> <th align="center">1 year</th>
<td align="center">{$USER_LOGINS.24hours}</td> </tr>
<td align="center">{$USER_LOGINS.7days}</td> </thead>
<td align="center">{$USER_LOGINS.1month}</td> <tbody>
<td align="center">{$USER_LOGINS.6month}</td> <tr>
<td align="center">{$USER_LOGINS.1year}</td> <td align="center">{$USER_LOGINS.24hours}</td>
</tr> <td align="center">{$USER_LOGINS.7days}</td>
</tbody> <td align="center">{$USER_LOGINS.1month}</td>
</table> <td align="center">{$USER_LOGINS.6month}</td>
</article> <td align="center">{$USER_LOGINS.1year}</td>
{/nocache} </tr>
</tbody>
</table>
</div>
</div>
</div>
</div>

View File

@ -1,8 +1,13 @@
{nocache} {nocache}
<article class="module width_full" style="min-height: 150px" name="invitations" id="invitations"> <div class="row">
<header><h3>Top Inviters</h3></header> <div class="col-lg-12">
<div> <div class="panel panel-info">
<table cellspacing="0" class="tablesorter"> <div class="panel-heading">
Top Inviters
</div>
<div class="panel-body">
<table class="table">
<tbody> <tbody>
<tr> <tr>
<td align="left"> <td align="left">
@ -18,7 +23,7 @@
</tbody> </tbody>
</table> </table>
<table class="tablesorter" cellspacing="0"> <table class="table">
<thead> <thead>
<tr> <tr>
<th>Username</th> <th>Username</th>
@ -38,7 +43,10 @@
<td align="center">{$TOPINVITERS[inviter].activated}</td> <td align="center">{$TOPINVITERS[inviter].activated}</td>
</tr> </tr>
{/section} {/section}
</tbody> </tbody>
</table> </table>
</article> </div>
</div>
</div>
</div>
{/nocache} {/nocache}

View File

@ -1,6 +1,12 @@
<article class="module width_full"> <div class="row">
<header><h3>Monitoring</h3></header> <div class="col-lg-12">
<table class="tablesorter" cellspacing="0"> <div class="panel panel-info">
<div class="panel-heading">
Monitoring
</div>
<div class="panel-body">
<table class="table">
<thead> <thead>
<th>Cronjob</th> <th>Cronjob</th>
<th align="center">Disabled</th> <th align="center">Disabled</th>
@ -26,7 +32,7 @@
{else if $event.type == 'message'} {else if $event.type == 'message'}
<i>{$event.value}</i> <i>{$event.value}</i>
{else if $event.type == 'yesno'} {else if $event.type == 'yesno'}
<i class="icon-{if $event.value == 1}ok{else}cancel{/if}"></i> <i class="fa fa-{if $event.value == 1}check{else}times{/if} fa-fw"></i>
{else if $event.type == 'time'} {else if $event.type == 'time'}
{if $event.value > 60} {if $event.value > 60}
<font color="orange"> <font color="orange">
@ -55,5 +61,8 @@
</tr> </tr>
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
</article> </div>
</div>
</div>
</div>

View File

@ -1,52 +1,66 @@
<article class="module width_3_quarter"> <div class="row">
<header><h3>{$GLOBAL.workers} Current Active Pool Workers</h3></header> <div class="col-lg-12">
<form action="{$smarty.server.SCRIPT_NAME}"> <div class="panel panel-info">
<input type="hidden" name="page" value="{$smarty.request.page|escape}" /> <div class="panel-heading">
<input type="hidden" name="action" value="{$smarty.request.action|escape}" /> {$GLOBAL.workers} Current Active Pool Workers
<table cellspacing="0" class="tablesorter"> </div>
<tbody> <div class="panel-body">
<tr> <div class="table-responsive">
<td align="left"> <table class="table">
{if $smarty.request.start|default:"0" > 0} <form action="{$smarty.server.SCRIPT_NAME}">
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&start={$smarty.request.start|escape|default:"0" - $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}"><i class="icon-left-open"></i></a> <input type="hidden" name="page" value="{$smarty.request.page|escape}" />
{else} <input type="hidden" name="action" value="{$smarty.request.action|escape}" />
<i class="icon-left-open"></i> <tbody>
{/if} <tr>
</td> <td align="left">
<td align="right"> {if $smarty.request.start|default:"0" > 0}
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&start={$smarty.request.start|escape|default:"0" + $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}"><i class="icon-right-open"></i></a> <a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&start={$smarty.request.start|escape|default:"0" - $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}"><i class="icon-left-open"></i></a>
</td> {else}
</tbody> <i class="icon-left-open"></i>
</form> {/if}
</table> </td>
<table class="tablesorter" cellspacing="0"> <td align="right">
<thead> <a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&start={$smarty.request.start|escape|default:"0" + $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}"><i class="icon-right-open"></i></a>
<tr> </td>
<th align="left">Worker Name</th> </tr>
<th align="left">Password</th> </tbody>
<th align="center">Active</th> </form>
{if $GLOBAL.config.disable_notifications != 1}<th align="center">Monitor</th>{/if} </table>
<th align="right">Khash/s</th> </div>
<th align="right">Difficulty</th>
<th align="right" style="padding-right: 25px;">Avg Difficulty</th> <div class="table-responsive">
</tr> <table class="table">
</thead> <thead>
{nocache} <tr>
{section worker $WORKERS} <th align="left">Worker Name</th>
<tbody> <th align="left">Password</th>
<tr> <th align="center">Active</th>
<td align="left">{$WORKERS[worker].username|escape}</td> {if $GLOBAL.config.disable_notifications != 1}<th align="center">Monitor</th>{/if}
<td align="left">{$WORKERS[worker].password|escape}</td> <th align="right">Khash/s</th>
<td align="center"><i class="icon-{if $WORKERS[worker].hashrate > 0}ok{else}cancel{/if}"></i></td> <th align="right">Difficulty</th>
{if $GLOBAL.config.disable_notifications != 1} <th align="right" style="padding-right: 25px;">Avg Difficulty</th>
<td align="center"><i class="icon-{if $WORKERS[worker].monitor}ok{else}cancel{/if}"></i></td> </tr>
{/if} </thead>
<td align="right">{$WORKERS[worker].hashrate|number_format|default:"0"}</td> {nocache}
<td align="right">{if $WORKERS[worker].hashrate > 0}{$WORKERS[worker].difficulty|number_format:"2"|default:"0"}{else}0{/if}</td> {section worker $WORKERS}
<td align="right" style="padding-right: 25px;">{if $WORKERS[worker].hashrate > 0}{$WORKERS[worker].avg_difficulty|number_format:"2"|default:"0"}{else}0{/if}</td> <tbody>
</tr> <tr>
{/section} <td align="left">{$WORKERS[worker].username|escape}</td>
{/nocache} <td align="left">{$WORKERS[worker].password|escape}</td>
</tbody> <td align="center"><i class="icon-{if $WORKERS[worker].hashrate > 0}ok{else}cancel{/if}"></i></td>
</table> {if $GLOBAL.config.disable_notifications != 1}
</article> <td align="center"><i class="icon-{if $WORKERS[worker].monitor}ok{else}cancel{/if}"></i></td>
{/if}
<td align="right">{$WORKERS[worker].hashrate|number_format|default:"0"}</td>
<td align="right">{if $WORKERS[worker].hashrate > 0}{$WORKERS[worker].difficulty|number_format:"2"|default:"0"}{else}0{/if}</td>
<td align="right" style="padding-right: 25px;">{if $WORKERS[worker].hashrate > 0}{$WORKERS[worker].avg_difficulty|number_format:"2"|default:"0"}{else}0{/if}</td>
</tr>
{/section}
{/nocache}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>

View File

@ -1,46 +1,58 @@
{nocache} {nocache}
<article class="module width_full" style="min-height: 150px" name="registrations" id="registrations"> <div class="row">
<header><h3>Last registered Users</h3></header> <div class="col-lg-12">
<div class="panel panel-info">
<div class="panel-heading">
Last registered Users
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table">
<tbody>
<tr>
<td align="left">
{if $smarty.request.registeredstart|default:"0" > 0}
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&registeredstart={$smarty.request.registeredstart|escape|default:"0" - $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}#registrations"><i class="fa fa-chevron-left fa-fw"></i> Previous 10</a>
{else}
<i class="fa fa-chevron-left fa-fw"></i>
{/if}
</td>
<td align="right">
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&registeredstart={$smarty.request.registeredstart|escape|default:"0" + $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}#registrations">Next 10 <i class="fa fa-chevron-right fa-fw"></i></a>
</td>
</tr>
</tbody>
</table>
</div>
<table cellspacing="0" class="tablesorter"> <div class="table-responsive">
<tbody> <table class="table">
<tr> <thead>
<td align="left"> <tr>
{if $smarty.request.registeredstart|default:"0" > 0} <th align="center">ID</th>
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&registeredstart={$smarty.request.registeredstart|escape|default:"0" - $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}#registrations"><i class="icon-left-open"></i> Previous 10</a> <th>Username</th>
{else} <th align="left">eMail</th>
<i class="icon-left-open"></i> <th align="center">Reg. Date</th>
{/if} <th align="center">Invite</th>
</td> <th align="center">Invited from</th>
<td align="right"> </tr>
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&registeredstart={$smarty.request.registeredstart|escape|default:"0" + $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}#registrations">Next 10 <i class="icon-right-open"></i></a> </thead>
</td> <tbody>
</tbody> {section user $LASTREGISTEREDUSERS}
</table> <tr class="{cycle values="odd,even"}">
<td align="center">{$LASTREGISTEREDUSERS[user].id|escape}</td>
<table class="tablesorter" cellspacing="0"> <td>{$LASTREGISTEREDUSERS[user].mposuser}</td>
<thead> <td align="left">{$LASTREGISTEREDUSERS[user].email}</td>
<tr> <td align="center">{$LASTREGISTEREDUSERS[user].signup_timestamp|date_format:"%d/%m %H:%M:%S"}</td>
<th align="center">ID</th> <td align="center">{if !$LASTREGISTEREDUSERS[user].inviter}<i class="icon-cancel">{else}<i class="icon-ok">{/if}</td>
<th>Username</th> <td align="center"><a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=user&do=query&filter[account]={$LASTREGISTEREDUSERS[user].inviter}">{$LASTREGISTEREDUSERS[user].inviter}</a></td>
<th align="left">eMail</th> </tr>
<th align="center">Reg. Date</th> {/section}
<th align="center">Invite</th> </tbody>
<th align="center">Invited from</th> </table>
</tr> </div>
</thead> </div>
<tbody> </div>
{section user $LASTREGISTEREDUSERS} </div>
<tr class="{cycle values="odd,even"}"> </div>
<td align="center">{$LASTREGISTEREDUSERS[user].id|escape}</td>
<td>{$LASTREGISTEREDUSERS[user].mposuser}</td>
<td align="left">{$LASTREGISTEREDUSERS[user].email}</td>
<td align="center">{$LASTREGISTEREDUSERS[user].signup_timestamp|date_format:"%d/%m %H:%M:%S"}</td>
<td align="center">{if !$LASTREGISTEREDUSERS[user].inviter}<i class="icon-cancel">{else}<i class="icon-ok">{/if}</td>
<td align="center"><a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=user&do=query&filter[account]={$LASTREGISTEREDUSERS[user].inviter}">{$LASTREGISTEREDUSERS[user].inviter}</a></td>
</tr>
{/section}
</tbody>
</table>
</article>
{/nocache} {/nocache}

View File

@ -1,117 +1,141 @@
{if $DISABLE_TRANSACTIONSUMMARY|default:"0" != 1} {if $DISABLE_TRANSACTIONSUMMARY|default:"0" != 1}
<article class="module width_full"> <div class="row">
<header><h3>Transaction Summary</h3></header> <div class="col-lg-12">
<table class="tablesorter" cellspacing="0"> <div class="panel panel-info">
<thead> <div class="panel-heading">
<tr> Transaction Summary
{foreach $SUMMARY as $type=>$total} </div>
<th>{$type}</th> <div class="panel-body">
{/foreach} <div class="table-responsive">
</tr> <table class="table">
</thead> <thead>
<tbody> <tr>
<tr> {foreach $SUMMARY as $type=>$total}
{foreach $SUMMARY as $type=>$total} <th>{$type}</th>
<td class="right">{$total|number_format:"8"}</td> {/foreach}
{/foreach} </tr>
</tr> </thead>
</tbody> <tbody>
</table> <tr>
</article> {foreach $SUMMARY as $type=>$total}
<td class="right">{$total|number_format:"8"}</td>
{/foreach}
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
{/if} {/if}
<article class="module width_quarter"> <div class="row">
<header><h3>Transaction Filter</h3></header> <div class="col-lg-4">
<div class="module_content"> <div class="panel panel-info">
<form action="{$smarty.server.SCRIPT_NAME}"> <div class="panel-heading">
<input type="hidden" name="page" value="{$smarty.request.page|escape}" /> Transaction Filter
<input type="hidden" name="action" value="{$smarty.request.action|escape}" /> </div>
<table cellspacing="0" class="tablesorter"> <div class="panel-body">
<tbody> <form action="{$smarty.server.SCRIPT_NAME}" role="form">
<tr> <input type="hidden" name="page" value="{$smarty.request.page|escape}" />
<td align="left"> <input type="hidden" name="action" value="{$smarty.request.action|escape}" />
{if $smarty.request.start|default:"0" > 0} <table cellspacing="0" class="tablesorter">
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&start={$smarty.request.start|escape|default:"0" - $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}"><i class="icon-left-open"></i></a> <tbody>
{else} <tr>
<i class="icon-left-open"></i> <td align="left">
{/if} {if $smarty.request.start|default:"0" > 0}
</td> <a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&start={$smarty.request.start|escape|default:"0" - $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}"><i class="icon-left-open"></i></a>
<td align="right"> {else}
<a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&start={$smarty.request.start|escape|default:"0" + $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}"><i class="icon-right-open"></i></a> <i class="icon-left-open"></i>
</td> {/if}
</tbody> </td>
</table> <td align="right">
<fieldset> <a href="{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&start={$smarty.request.start|escape|default:"0" + $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}"><i class="icon-right-open"></i></a>
<label>Type</label> </td>
{html_options name="filter[type]" options=$TRANSACTIONTYPES selected=$smarty.request.filter.type|default:""} </tr>
</fieldset> </tbody>
<fieldset> </table>
<label>Status</label> <div class="form-group">
{html_options name="filter[status]" options=$TXSTATUS selected=$smarty.request.filter.status|default:""} <label>Type</label>
</fieldset> {html_options class="form-control" name="filter[type]" options=$TRANSACTIONTYPES selected=$smarty.request.filter.type|default:""}
<fieldset> </div>
<label>Account</label> <div class="form-group">
<input size="20" type="text" name="filter[account]" value="{$smarty.request.filter.account|default:""}" /> <label>Status</label>
</fieldset> {html_options class="form-control" name="filter[status]" options=$TXSTATUS selected=$smarty.request.filter.status|default:""}
<fieldset> </div>
<label>Address</label> <div class="form-group">
<input size="20" type="text" name="filter[address]" value="{$smarty.request.filter.address|default:""}" /> <label>Account</label>
</fieldset> <input class="form-control" size="20" type="text" name="filter[account]" value="{$smarty.request.filter.account|default:""}" />
</div>
<div class="form-group">
<label>Address</label>
<input class="form-control" size="20" type="text" name="filter[address]" value="{$smarty.request.filter.address|default:""}" />
</div>
<input type="submit" value="Filter" class="btn btn-outline btn-success btn-lg btn-block">
</form>
</div>
</div> </div>
<footer> </div>
<div class="submit_link">
<input type="submit" value="Filter" class="alt_btn">
</div>
</footer>
</form>
</article>
<article class="module width_3_quarter">
<header><h3>Transaction History</h3></header>
<table cellspacing="0" class="tablesorter" width="100%"> <div class="col-lg-8">
<thead> <div class="panel panel-info">
<tr> <div class="panel-heading">
<th align="center">ID</th> Transaction History
<th>Account</th> </div>
<th>Date</th> <div class="panel-body">
<th>TX Type</th>
<th align="center">Status</th> <div class="table-responsive">
<th>Payment Address</th> <table class="table table-hover">
<th>TX #</th> <thead>
<th>Block #</th> <tr>
<th>Amount</th> <th align="center">ID</th>
</tr> <th>Account</th>
</thead> <th>Date</th>
<tbody style="font-size:12px;"> <th>TX Type</th>
{section transaction $TRANSACTIONS} <th align="center">Status</th>
<tr class="{cycle values="odd,even"}"> <th>Payment Address</th>
<td align="center">{$TRANSACTIONS[transaction].id}</td> <th>TX #</th>
<td>{$TRANSACTIONS[transaction].username}</td> <th>Block #</th>
<td>{$TRANSACTIONS[transaction].timestamp}</td> <th>Amount</th>
<td>{$TRANSACTIONS[transaction].type}</td> </tr>
<td align="center"> </thead>
{if $TRANSACTIONS[transaction].type == 'Credit_PPS' OR <tbody style="font-size:12px;">
$TRANSACTIONS[transaction].type == 'Fee_PPS' OR {section transaction $TRANSACTIONS}
$TRANSACTIONS[transaction].type == 'Donation_PPS' OR <tr class="{cycle values="odd,even"}">
$TRANSACTIONS[transaction].type == 'Debit_MP' OR <td align="center">{$TRANSACTIONS[transaction].id}</td>
$TRANSACTIONS[transaction].type == 'Debit_AP' OR <td>{$TRANSACTIONS[transaction].username}</td>
$TRANSACTIONS[transaction].type == 'TXFee' OR <td>{$TRANSACTIONS[transaction].timestamp}</td>
$TRANSACTIONS[transaction].confirmations >= $GLOBAL.confirmations <td>{$TRANSACTIONS[transaction].type}</td>
}<span class="confirmed">Confirmed</span> <td align="center">
{else if $TRANSACTIONS[transaction].confirmations == -1}<span class="orphan">Orphaned</span> {if $TRANSACTIONS[transaction].type == 'Credit_PPS' OR
{else}<span class="unconfirmed">Unconfirmed</span>{/if} $TRANSACTIONS[transaction].type == 'Fee_PPS' OR
</td> $TRANSACTIONS[transaction].type == 'Donation_PPS' OR
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td> $TRANSACTIONS[transaction].type == 'Debit_MP' OR
{if ! $GLOBAL.website.transactionexplorer.disabled} $TRANSACTIONS[transaction].type == 'Debit_AP' OR
<td><a href="{$GLOBAL.website.transactionexplorer.url}{$TRANSACTIONS[transaction].txid|escape}" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td> $TRANSACTIONS[transaction].type == 'TXFee' OR
{else} $TRANSACTIONS[transaction].confirmations >= $GLOBAL.confirmations
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].txid|escape}')" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td> }<span class="confirmed">Confirmed</span>
{/if} {else if $TRANSACTIONS[transaction].confirmations == -1}<span class="orphan">Orphaned</span>
<td>{if $TRANSACTIONS[transaction].height == 0}n/a{else}<a href="{$smarty.server.SCRIPT_NAME}?page=statistics&action=round&height={$TRANSACTIONS[transaction].height}">{/if}{$TRANSACTIONS[transaction].height}</a></td> {else}<span class="unconfirmed">Unconfirmed</span>{/if}
<td><font color="{if $TRANSACTIONS[transaction].type == 'Credit' or $TRANSACTIONS[transaction].type == 'Credit_PPS' or $TRANSACTIONS[transaction].type == 'Bonus'}green{else}red{/if}">{$TRANSACTIONS[transaction].amount|number_format:"8"}</td> </td>
</tr> <td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td>
{/section} {if ! $GLOBAL.website.transactionexplorer.disabled}
</tbody> <td><a href="{$GLOBAL.website.transactionexplorer.url}{$TRANSACTIONS[transaction].txid|escape}" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
</table> {else}
<footer><font size="1"><b>Credit_AP</b> = Auto Threshold Payment, <b>Credit_MP</b> = Manual Payment, <b>Donation</b> = Donation, <b>Fee</b> = Pool Fees (if applicable)</font></footer> <td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].txid|escape}')" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
</article> {/if}
<td>{if $TRANSACTIONS[transaction].height == 0}n/a{else}<a href="{$smarty.server.SCRIPT_NAME}?page=statistics&action=round&height={$TRANSACTIONS[transaction].height}">{/if}{$TRANSACTIONS[transaction].height}</a></td>
<td><font color="{if $TRANSACTIONS[transaction].type == 'Credit' or $TRANSACTIONS[transaction].type == 'Credit_PPS' or $TRANSACTIONS[transaction].type == 'Bonus'}green{else}red{/if}">{$TRANSACTIONS[transaction].amount|number_format:"8"}</td>
</tr>
{/section}
</tbody>
</table>
<footer><font size="1"><b>Credit_AP</b> = Auto Threshold Payment, <b>Credit_MP</b> = Manual Payment, <b>Donation</b> = Donation, <b>Fee</b> = Pool Fees (if applicable)</font></footer>
</div>
</div>
</div>
</div>
<div

View File

@ -26,7 +26,7 @@
</li> </li>
{else} {else}
<li><a href="{$smarty.server.SCRIPT_NAME}?page=login"><i class="fa fa-sign-in fa-fw"></i> Login</a> <li><a href="{$smarty.server.SCRIPT_NAME}?page=login"><i class="fa fa-sign-in fa-fw"></i> Login</a>
<li><a href="{$smarty.server.SCRIPT_NAME}?page=register"><i class="fa fa-sign-out fa-fw"></i> Sign Up</a> <li><a href="{$smarty.server.SCRIPT_NAME}?page=register"><i class="fa fa-pencil fa-fw"></i> Sign Up</a>
</li> </li>
{/if} {/if}
</ul> </ul>

View File

@ -71,7 +71,7 @@
<li><a href="{$smarty.server.SCRIPT_NAME}?page=logout"><i class="fa fa-sign-out fa-fw"></i> Logout</a></li> <li><a href="{$smarty.server.SCRIPT_NAME}?page=logout"><i class="fa fa-sign-out fa-fw"></i> Logout</a></li>
{else} {else}
<li><a href="{$smarty.server.SCRIPT_NAME}?page=login"><i class="fa fa-sign-in fa-fw"></i> Login</a></li> <li><a href="{$smarty.server.SCRIPT_NAME}?page=login"><i class="fa fa-sign-in fa-fw"></i> Login</a></li>
<li><a href="{$smarty.server.SCRIPT_NAME}?page=register"><i class="fa fa-sign-in fa-fw"></i> Sign Up</a></li> <li><a href="{$smarty.server.SCRIPT_NAME}?page=register"><i class="fa fa-pencil fa-fw"></i> Sign Up</a></li>
{/if} {/if}
{acl_check page='contactform' action='' name='<i class="fa fa-envelope fa-fw"></i> Contact' acl=$GLOBAL.acl.contactform} {acl_check page='contactform' action='' name='<i class="fa fa-envelope fa-fw"></i> Contact' acl=$GLOBAL.acl.contactform}
<li><a href="{$smarty.server.SCRIPT_NAME}?page=tac"><i class="fa fa-book fa-fw"></i> Terms and Conditions</a></li> <li><a href="{$smarty.server.SCRIPT_NAME}?page=tac"><i class="fa fa-book fa-fw"></i> Terms and Conditions</a></li>