[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>
<td>
{include file="admin/dashboard/mpos.tpl"} {include file="admin/dashboard/mpos.tpl"}
</td>
</tr>
</table>
<table width="100%">
<tr>
<td>
{include file="admin/dashboard/user.tpl"} {include file="admin/dashboard/user.tpl"}
</td>
</tr> <div class="row">
</table>
<table width="100%">
<tr>
<td>
{include file="admin/dashboard/registrations.tpl"} {include file="admin/dashboard/registrations.tpl"}
{if $GLOBAL.config.disable_invitations|default:"0" == 0} {if $GLOBAL.config.disable_invitations|default:"0" == 0}
{include file="admin/dashboard/invitation.tpl"} {include file="admin/dashboard/invitation.tpl"}
{/if} {/if}
</td> </div>
</tr>
</table>
{/nocache} {/nocache}

View File

@ -1,7 +1,10 @@
{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>
</div>
<div class="panel-body">
<table class="table">
<thead> <thead>
<tr> <tr>
<th align="center">Total</th> <th align="center">Total</th>
@ -17,5 +20,6 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</article> </div>
{/nocache} </div>
</div>

View File

@ -1,7 +1,11 @@
{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">
MPOS Version Information
</div>
<div class="panel-body">
<table class="table">
<thead> <thead>
<tr> <tr>
<th>Component</th> <th>Component</th>
@ -33,20 +37,26 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</article> </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">
MPOS Status
</div>
<div class="panel-body">
<table class="table">
<thead> <thead>
<tr> <tr>
<th colspan="2" align="center">Cronjobs</th> <th colspan="2" align="center">Cronjobs</th>
<th align="center">Wallet</th> <th align="center">Wallet</th>
</tr> </tr>
<tr> <tr>
<th align="center"><strong>Errors</strong></th> <th><strong>Errors</strong></th>
<th align="center"><strong>Disabled</strong></th> <th><strong>Disabled</strong></th>
<th align="center"><strong>Errors</strong></th> <th><strong>Errors</strong></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -63,8 +73,10 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</article> </div>
{/nocache} </div>
</div>
</div>

View File

@ -1,7 +1,11 @@
{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>
</div>
<div class="panel-body">
<table class="table">
<thead> <thead>
<tr> <tr>
<th align="center">24 hours</th> <th align="center">24 hours</th>
@ -21,5 +25,6 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</article> </div>
{/nocache} </div>
</div>

View File

@ -1,7 +1,11 @@
{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">
Users
</div>
<div class="panel-body">
<table class="table">
<thead> <thead>
<tr> <tr>
<th align="center">Total</th> <th align="center">Total</th>
@ -21,11 +25,17 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</article> </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">
Logins
</div>
<div class="panel-body">
<table class="table">
<thead> <thead>
<tr> <tr>
<th align="center">24 hours</th> <th align="center">24 hours</th>
@ -45,5 +55,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</article> </div>
{/nocache} </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>
@ -40,5 +45,8 @@
{/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">
@ -56,4 +62,7 @@
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>
</article> </div>
</div>
</div>
</div>

View File

@ -1,9 +1,15 @@
<article class="module width_3_quarter"> <div class="row">
<header><h3>{$GLOBAL.workers} Current Active Pool Workers</h3></header> <div class="col-lg-12">
<div class="panel panel-info">
<div class="panel-heading">
{$GLOBAL.workers} Current Active Pool Workers
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table">
<form action="{$smarty.server.SCRIPT_NAME}"> <form action="{$smarty.server.SCRIPT_NAME}">
<input type="hidden" name="page" value="{$smarty.request.page|escape}" /> <input type="hidden" name="page" value="{$smarty.request.page|escape}" />
<input type="hidden" name="action" value="{$smarty.request.action|escape}" /> <input type="hidden" name="action" value="{$smarty.request.action|escape}" />
<table cellspacing="0" class="tablesorter">
<tbody> <tbody>
<tr> <tr>
<td align="left"> <td align="left">
@ -16,10 +22,14 @@
<td align="right"> <td align="right">
<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-right-open"></i></a>
</td> </td>
</tr>
</tbody> </tbody>
</form> </form>
</table> </table>
<table class="tablesorter" cellspacing="0"> </div>
<div class="table-responsive">
<table class="table">
<thead> <thead>
<tr> <tr>
<th align="left">Worker Name</th> <th align="left">Worker Name</th>
@ -49,4 +59,8 @@
{/nocache} {/nocache}
</tbody> </tbody>
</table> </table>
</article> </div>
</div>
</div>
</div>
</div>

View File

@ -1,24 +1,32 @@
{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">
<table cellspacing="0" class="tablesorter"> <div class="panel-heading">
Last registered Users
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table">
<tbody> <tbody>
<tr> <tr>
<td align="left"> <td align="left">
{if $smarty.request.registeredstart|default:"0" > 0} {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="icon-left-open"></i> Previous 10</a> <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} {else}
<i class="icon-left-open"></i> <i class="fa fa-chevron-left fa-fw"></i>
{/if} {/if}
</td> </td>
<td align="right"> <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="icon-right-open"></i></a> <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> </td>
</tr>
</tbody> </tbody>
</table> </table>
</div>
<table class="tablesorter" cellspacing="0"> <div class="table-responsive">
<table class="table">
<thead> <thead>
<tr> <tr>
<th align="center">ID</th> <th align="center">ID</th>
@ -42,5 +50,9 @@
{/section} {/section}
</tbody> </tbody>
</table> </table>
</article> </div>
</div>
</div>
</div>
</div>
{/nocache} {/nocache}

View File

@ -1,7 +1,13 @@
{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">
<div class="panel-heading">
Transaction Summary
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table">
<thead> <thead>
<tr> <tr>
{foreach $SUMMARY as $type=>$total} {foreach $SUMMARY as $type=>$total}
@ -17,13 +23,21 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</article> </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">
Transaction Filter
</div>
<div class="panel-body">
<form action="{$smarty.server.SCRIPT_NAME}" role="form">
<input type="hidden" name="page" value="{$smarty.request.page|escape}" /> <input type="hidden" name="page" value="{$smarty.request.page|escape}" />
<input type="hidden" name="action" value="{$smarty.request.action|escape}" /> <input type="hidden" name="action" value="{$smarty.request.action|escape}" />
<table cellspacing="0" class="tablesorter"> <table cellspacing="0" class="tablesorter">
@ -39,36 +53,42 @@
<td align="right"> <td align="right">
<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-right-open"></i></a>
</td> </td>
</tr>
</tbody> </tbody>
</table> </table>
<fieldset> <div class="form-group">
<label>Type</label> <label>Type</label>
{html_options name="filter[type]" options=$TRANSACTIONTYPES selected=$smarty.request.filter.type|default:""} {html_options class="form-control" name="filter[type]" options=$TRANSACTIONTYPES selected=$smarty.request.filter.type|default:""}
</fieldset> </div>
<fieldset> <div class="form-group">
<label>Status</label> <label>Status</label>
{html_options name="filter[status]" options=$TXSTATUS selected=$smarty.request.filter.status|default:""} {html_options class="form-control" name="filter[status]" options=$TXSTATUS selected=$smarty.request.filter.status|default:""}
</fieldset> </div>
<fieldset> <div class="form-group">
<label>Account</label> <label>Account</label>
<input size="20" type="text" name="filter[account]" value="{$smarty.request.filter.account|default:""}" /> <input class="form-control" size="20" type="text" name="filter[account]" value="{$smarty.request.filter.account|default:""}" />
</fieldset> </div>
<fieldset> <div class="form-group">
<label>Address</label> <label>Address</label>
<input size="20" type="text" name="filter[address]" value="{$smarty.request.filter.address|default:""}" /> <input class="form-control" size="20" type="text" name="filter[address]" value="{$smarty.request.filter.address|default:""}" />
</fieldset>
</div> </div>
<footer> <input type="submit" value="Filter" class="btn btn-outline btn-success btn-lg btn-block">
<div class="submit_link">
<input type="submit" value="Filter" class="alt_btn">
</div>
</footer>
</form> </form>
</article> </div>
</div>
</div>
<article class="module width_3_quarter">
<header><h3>Transaction History</h3></header>
<table cellspacing="0" class="tablesorter" width="100%"> <div class="col-lg-8">
<div class="panel panel-info">
<div class="panel-heading">
Transaction History
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-hover">
<thead> <thead>
<tr> <tr>
<th align="center">ID</th> <th align="center">ID</th>
@ -114,4 +134,8 @@
</tbody> </tbody>
</table> </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> <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>
</article> </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>