Updated testing template
* Removed unneeded template icons * Added new icon font * Added icons to navbard * Added full admin features Updates #444
@ -5,7 +5,7 @@ if (!defined('SECURITY')) die('Hacking attempt');
|
||||
|
||||
if ($setting->getValue('maintenance') && !$user->isAdmin($user->getUserId($_POST['username']))) {
|
||||
$_SESSION['POPUP'][] = array('CONTENT' => 'You are not allowed to login during maintenace.', 'TYPE' => 'info');
|
||||
} else if ($user->checkLogin($_POST['username'],$_POST['password']) ) {
|
||||
} else if ($user->checkLogin(@$_POST['username'], @$_POST['password']) ) {
|
||||
header('Location: index.php?page=home');
|
||||
} else if (@$_POST['username'] && @$_POST['password']) {
|
||||
$_SESSION['POPUP'][] = array('CONTENT' => 'Unable to login: '. $user->getError(), 'TYPE' => 'errormsg');
|
||||
|
||||
53
public/site_assets/test/css/fontello-codes.css
vendored
@ -1,26 +1,29 @@
|
||||
|
||||
.icon-wrench:before { content: '\e80c'; } /* '' */
|
||||
.icon-user:before { content: '\e801'; } /* '' */
|
||||
.icon-trash:before { content: '\e813'; } /* '' */
|
||||
.icon-th-large:before { content: '\e817'; } /* '' */
|
||||
.icon-desktop:before { content: '\e802'; } /* '' */
|
||||
.icon-cancel-circled:before { content: '\e811'; } /* '' */
|
||||
.icon-cancel:before { content: '\e808'; } /* '' */
|
||||
.icon-plus-circled:before { content: '\e80e'; } /* '' */
|
||||
.icon-plus:before { content: '\e80d'; } /* '' */
|
||||
.icon-photo:before { content: '\e816'; } /* '' */
|
||||
.icon-ok:before { content: '\e807'; } /* '' */
|
||||
.icon-minus-circled:before { content: '\e810'; } /* '' */
|
||||
.icon-minus:before { content: '\e80f'; } /* '' */
|
||||
.icon-indent-left:before { content: '\e804'; } /* '' */
|
||||
.icon-gauge:before { content: '\e800'; } /* '' */
|
||||
.icon-block:before { content: '\e809'; } /* '' */
|
||||
.icon-heart:before { content: '\e814'; } /* '' */
|
||||
.icon-right-open:before { content: '\e80a'; } /* '' */
|
||||
.icon-left-open:before { content: '\e80b'; } /* '' */
|
||||
.icon-barcode:before { content: '\e805'; } /* '' */
|
||||
.icon-align-left:before { content: '\e806'; } /* '' */
|
||||
.icon-home:before { content: '\e818'; } /* '' */
|
||||
.icon-mail:before { content: '\e803'; } /* '' */
|
||||
.icon-chart:before { content: '\e812'; } /* '' */
|
||||
.icon-comment:before { content: '\e815'; } /* '' */
|
||||
.icon-money:before { content: '\e819'; } /* '' */
|
||||
.icon-exchange:before { content: '\e81a'; } /* '' */
|
||||
.icon-wrench:before { content: '\e80f'; } /* '' */
|
||||
.icon-user:before { content: '\e804'; } /* '' */
|
||||
.icon-doc:before { content: '\e81b'; } /* '' */
|
||||
.icon-trash:before { content: '\e812'; } /* '' */
|
||||
.icon-torso:before { content: '\e805'; } /* '' */
|
||||
.icon-th-large:before { content: '\e808'; } /* '' */
|
||||
.icon-desktop:before { content: '\e806'; } /* '' */
|
||||
.icon-cancel:before { content: '\e80a'; } /* '' */
|
||||
.icon-plus:before { content: '\e80c'; } /* '' */
|
||||
.icon-photo:before { content: '\e815'; } /* '' */
|
||||
.icon-pencil:before { content: '\e802'; } /* '' */
|
||||
.icon-ok:before { content: '\e80b'; } /* '' */
|
||||
.icon-off:before { content: '\e811'; } /* '' */
|
||||
.icon-indent-left:before { content: '\e80d'; } /* '' */
|
||||
.icon-gauge:before { content: '\e803'; } /* '' */
|
||||
.icon-right-open:before { content: '\e800'; } /* '' */
|
||||
.icon-left-open:before { content: '\e801'; } /* '' */
|
||||
.icon-bell:before { content: '\e817'; } /* '' */
|
||||
.icon-barcode:before { content: '\e80e'; } /* '' */
|
||||
.icon-align-left:before { content: '\e807'; } /* '' */
|
||||
.icon-home:before { content: '\e813'; } /* '' */
|
||||
.icon-mail:before { content: '\e814'; } /* '' */
|
||||
.icon-chart:before { content: '\e809'; } /* '' */
|
||||
.icon-cog:before { content: '\e810'; } /* '' */
|
||||
.icon-megaphone:before { content: '\e816'; } /* '' */
|
||||
.icon-dollar:before { content: '\e818'; } /* '' */
|
||||
@ -1,26 +1,29 @@
|
||||
|
||||
.icon-wrench { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-user { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-trash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-th-large { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-desktop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cancel-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cancel { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-plus-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-plus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-photo { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-ok { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-minus-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-minus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-indent-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-gauge { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-block { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-heart { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-right-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-left-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-barcode { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-align-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-mail { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-chart { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-comment { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-money { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-exchange { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-wrench { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-user { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-doc { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-trash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-torso { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-th-large { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-desktop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cancel { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-plus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-photo { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-pencil { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-ok { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-off { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-indent-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-gauge { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-right-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-left-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-bell { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-barcode { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-align-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-mail { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-chart { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cog { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-megaphone { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-dollar { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
53
public/site_assets/test/css/fontello-ie7.css
vendored
@ -10,28 +10,31 @@
|
||||
/* font-size: 120%; */
|
||||
}
|
||||
|
||||
.icon-wrench { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-user { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-trash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-th-large { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-desktop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cancel-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cancel { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-plus-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-plus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-photo { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-ok { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-minus-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-minus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-indent-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-gauge { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-block { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-heart { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-right-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-left-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-barcode { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-align-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-mail { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-chart { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-comment { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-money { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-exchange { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-wrench { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-user { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-doc { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-trash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-torso { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-th-large { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-desktop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cancel { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-plus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-photo { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-pencil { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-ok { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-off { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-indent-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-gauge { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-right-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-left-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-bell { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-barcode { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-align-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-mail { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-chart { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cog { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-megaphone { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-dollar { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
65
public/site_assets/test/css/fontello.css
vendored
@ -1,10 +1,10 @@
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.eot?83289534');
|
||||
src: url('../font/fontello.eot?83289534#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff?83289534') format('woff'),
|
||||
url('../font/fontello.ttf?83289534') format('truetype'),
|
||||
url('../font/fontello.svg?83289534#fontello') format('svg');
|
||||
src: url('../font/fontello.eot?45244021');
|
||||
src: url('../font/fontello.eot?45244021#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff?45244021') format('woff'),
|
||||
url('../font/fontello.ttf?45244021') format('truetype'),
|
||||
url('../font/fontello.svg?45244021#fontello') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@ -14,7 +14,7 @@
|
||||
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.svg?83289534#fontello') format('svg');
|
||||
src: url('../font/fontello.svg?45244021#fontello') format('svg');
|
||||
}
|
||||
}
|
||||
*/
|
||||
@ -50,28 +50,31 @@
|
||||
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
||||
}
|
||||
|
||||
.icon-wrench:before { content: '\e80c'; } /* '' */
|
||||
.icon-user:before { content: '\e801'; } /* '' */
|
||||
.icon-trash:before { content: '\e813'; } /* '' */
|
||||
.icon-th-large:before { content: '\e817'; } /* '' */
|
||||
.icon-desktop:before { content: '\e802'; } /* '' */
|
||||
.icon-cancel-circled:before { content: '\e811'; } /* '' */
|
||||
.icon-cancel:before { content: '\e808'; } /* '' */
|
||||
.icon-plus-circled:before { content: '\e80e'; } /* '' */
|
||||
.icon-plus:before { content: '\e80d'; } /* '' */
|
||||
.icon-photo:before { content: '\e816'; } /* '' */
|
||||
.icon-ok:before { content: '\e807'; } /* '' */
|
||||
.icon-minus-circled:before { content: '\e810'; } /* '' */
|
||||
.icon-minus:before { content: '\e80f'; } /* '' */
|
||||
.icon-indent-left:before { content: '\e804'; } /* '' */
|
||||
.icon-gauge:before { content: '\e800'; } /* '' */
|
||||
.icon-block:before { content: '\e809'; } /* '' */
|
||||
.icon-heart:before { content: '\e814'; } /* '' */
|
||||
.icon-right-open:before { content: '\e80a'; } /* '' */
|
||||
.icon-left-open:before { content: '\e80b'; } /* '' */
|
||||
.icon-barcode:before { content: '\e805'; } /* '' */
|
||||
.icon-align-left:before { content: '\e806'; } /* '' */
|
||||
.icon-home:before { content: '\e818'; } /* '' */
|
||||
.icon-mail:before { content: '\e803'; } /* '' */
|
||||
.icon-chart:before { content: '\e812'; } /* '' */
|
||||
.icon-comment:before { content: '\e815'; } /* '' */
|
||||
.icon-money:before { content: '\e819'; } /* '' */
|
||||
.icon-exchange:before { content: '\e81a'; } /* '' */
|
||||
.icon-wrench:before { content: '\e80f'; } /* '' */
|
||||
.icon-user:before { content: '\e804'; } /* '' */
|
||||
.icon-doc:before { content: '\e81b'; } /* '' */
|
||||
.icon-trash:before { content: '\e812'; } /* '' */
|
||||
.icon-torso:before { content: '\e805'; } /* '' */
|
||||
.icon-th-large:before { content: '\e808'; } /* '' */
|
||||
.icon-desktop:before { content: '\e806'; } /* '' */
|
||||
.icon-cancel:before { content: '\e80a'; } /* '' */
|
||||
.icon-plus:before { content: '\e80c'; } /* '' */
|
||||
.icon-photo:before { content: '\e815'; } /* '' */
|
||||
.icon-pencil:before { content: '\e802'; } /* '' */
|
||||
.icon-ok:before { content: '\e80b'; } /* '' */
|
||||
.icon-off:before { content: '\e811'; } /* '' */
|
||||
.icon-indent-left:before { content: '\e80d'; } /* '' */
|
||||
.icon-gauge:before { content: '\e803'; } /* '' */
|
||||
.icon-right-open:before { content: '\e800'; } /* '' */
|
||||
.icon-left-open:before { content: '\e801'; } /* '' */
|
||||
.icon-bell:before { content: '\e817'; } /* '' */
|
||||
.icon-barcode:before { content: '\e80e'; } /* '' */
|
||||
.icon-align-left:before { content: '\e807'; } /* '' */
|
||||
.icon-home:before { content: '\e813'; } /* '' */
|
||||
.icon-mail:before { content: '\e814'; } /* '' */
|
||||
.icon-chart:before { content: '\e809'; } /* '' */
|
||||
.icon-cog:before { content: '\e810'; } /* '' */
|
||||
.icon-megaphone:before { content: '\e816'; } /* '' */
|
||||
.icon-dollar:before { content: '\e818'; } /* '' */
|
||||
@ -6,31 +6,34 @@
|
||||
<font id="fontello" horiz-adv-x="1000" >
|
||||
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
||||
<missing-glyph horiz-adv-x="1000" />
|
||||
<glyph glyph-name="wrench" unicode="" d="M0 21l463 463q-25 68-10 145t72 134 133 72 146-10l-162-162 45-117 115-45 164 164q25-70 9-147t-72-133-133-72-147 9l-463-463z m113-2q0-20 14-33t33-14 33 14 14 33-14 33-33 14-33-14-14-33z" horiz-adv-x="982" />
|
||||
<glyph glyph-name="user" unicode="" d="M0-150l0 156q0 23 58 58t159 71q100 35 137 72t37 102q0 29-26 72t-32 59q-12 35-29 135-10 53-14 94-2 21 6 50t28 60 66 52 110 21 110-21 66-52 28-60 6-50q-4-41-14-94-18-100-29-135-6-16-32-59t-26-72q0-64 37-102t137-72q217-80 217-129l0-156-1000 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="trash" unicode="" d="M0 633l0 141 289 0 0 76 246 0 0-76 289 0 0-141-824 0z m43-783l0 676 738 0 0-676-738 0z" horiz-adv-x="824" />
|
||||
<glyph glyph-name="th-large" unicode="" d="M0-150l0 437 437 0 0-437-437 0z m0 562l0 437 437 0 0-437-437 0z m562-562l0 437 437 0 0-437-437 0z m0 562l0 437 437 0 0-437-437 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="desktop" unicode="" d="M0 104l0 660 1000 0 0-660-363 0 0-96 88 0 0-72-449 0 0 72 88 0 0 96-363 0z m123 125l754 0 0 410-754 0 0-410z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="cancel-circled" unicode="" d="M0 350q0 207 146 353t353 146 353-146 146-353-146-353-353-146-353 146-146 353z m219-156l125-125 156 156 156-156 125 125-156 156 156 156-125 125-156-156-156 156-125-125 156-156z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="cancel" unicode="" d="M0 71l279 279-279 279 221 221 279-279 279 279 221-221-279-279 279-279-221-221-279 279-279-279z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="plus-circled" unicode="" d="M0 350q0 207 146 353t353 146 353-146 146-353-146-353-353-146-353 146-146 353z m219-80l201 0 0-201 160 0 0 201 201 0 0 160-201 0 0 201-160 0 0-201-201 0 0-160z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="plus" unicode="" d="M0 209l0 281 359 0 0 359 281 0 0-359 359 0 0-281-359 0 0-359-281 0 0 359-359 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="photo" unicode="" d="M0-125l0 949 1000 0 0-949-1000 0z m123 309l754 0 0 521-754 0 0-521z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="ok" unicode="" d="M0 260l162 162 166-164 508 510 164-164-510-510-162-162-162 164z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="minus-circled" unicode="" d="M0 350q0 207 146 353t353 146 353-146 146-353-146-353-353-146-353 146-146 353z m213-82l574 0 0 164-574 0 0-164z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="minus" unicode="" d="M0 209l0 281 1000 0 0-281-1000 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="indent-left" unicode="" d="M0-66l0 146 1000 0 0-146-1000 0z m0 229l0 375 281-187z m0 457l0 146 1000 0 0-146-1000 0z m422-457l0 146 578 0 0-146-578 0z m0 229l0 146 578 0 0-146-578 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="gauge" unicode="" d="M0 188q0 207 146 353t353 146 353-146 146-353q0-92-31-176l-137 0q43 82 43 176 0 154-109 265t-266 110-266-110-109-265q0-94 43-176l-137 0q-31 84-31 176z m250 180q0 25 19 44t44 19 44-19 19-44-19-44-44-19-44 19-19 44z m187 61q0 25 19 44t44 19 44-19 19-44-19-44-44-19-44 19-19 44z m14-416l0 49 49 246 49-246 0-49-98 0z m174 355q0 25 19 44t44 19 44-19 19-44-19-44-44-19-44 19-19 44z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="block" unicode="" d="M0 349q0 188 134 322t322 134 321-134 133-322-133-321-321-133-322 133-134 321z m115 27q-10-126 62-226l477 477q-100 72-226 62t-215-99-99-215z m143-306q100-72 225-62t215 100 100 215-62 225z" horiz-adv-x="910" />
|
||||
<glyph glyph-name="heart" unicode="" d="M1 532q7 110 75 183 94 80 212 70t190-98q37 49 92 78 113 43 217 4t150-141q29-105 10-199t-78-174q-68-94-174-184-53-49-124-104t-93-57q-14 2-28 12t-35 25-24 20q-264 199-348 357-49 96-42 206z" horiz-adv-x="955" />
|
||||
<glyph glyph-name="right-open" unicode="" d="M0-2l352 352-352 352 148 148 352-352 148-148-148-148-352-352z" horiz-adv-x="648" />
|
||||
<glyph glyph-name="left-open" unicode="" d="M0 350l148 148 352 352 148-148-352-352 352-352-148-148-352 352z" horiz-adv-x="648" />
|
||||
<glyph glyph-name="barcode" unicode="" d="M0-82l0 863 84 0 0-863-84 0z m123 0l0 863 20 0 0-863-20 0z m70 0l0 863 62 0 0-863-62 0z m92 0l0 863 27 0 0-863-27 0z m104 0l0 863 41 0 0-863-41 0z m57 0l0 863 18 0 0-863-18 0z m61 0l0 863 20 0 0-863-20 0z m45 0l0 863 82 0 0-863-82 0z m111 0l0 863 43 0 0-863-43 0z m102 0l0 863 10 0 0-863-10 0z m25 0l0 863 27 0 0-863-27 0z m68 0l0 863 20 0 0-863-20 0z m61 0l0 863 82 0 0-863-82 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="align-left" unicode="" d="M0-89l0 156 1000 0 0-156-1000 0z m0 240l0 156 609 0 0-156-609 0z m0 242l0 156 789 0 0-156-789 0z m0 240l0 156 516 0 0-156-516 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="home" unicode="" d="M0-150l0 648 453 352 453-352 0-648-312 0 0 391-281 0 0-391-312 0z" horiz-adv-x="906" />
|
||||
<glyph glyph-name="mail" unicode="" d="M0-29l324 342 176-100 176 100 324-342-1000 0z m0 113l0 414 254-146z m0 504l0 141 1000 0 0-141-500-285z m746-236l254 146 0-414z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="chart" unicode="" d="M0-29l0 758 1000 0 0-758-1000 0z m123 123l754 0 0 512-754 0 0-512z m27 162l125 104 35 29 31-33 43-47 105 166 47 72 39-78 61-125 127 223 86-49-176-305-45-80-41 84-62 131-92-143-33-53-43 45-55 57-90-74z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="comment" unicode="" d="M0 96l0 713 1000 0 0-713-473 0-320-205 0 205-207 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="money" unicode="" d="M238 378c14 16 35 21 65 24l0-85c-50 5-75 9-75 39 0 8 3 15 10 23z m108-241l0 91c59-5 78-9 78-35 0-30-24-49-78-56z m70 244c30-16 36-24 36-38l8-4 45 90-6 5c-6-5-10-8-14-8s-8 0-13 4c-61 24-90 35-126 35l0 18c0 9 5 15 20 19l0 9-79 0 0-9c14-4 16-11 16-19l0-15c-96-4-153-50-153-123 0-74 40-100 153-110l0-96c-78 8-116 38-116 64l-8 4-41-94 6-4c6 4 9 5 13 5 1 0 6 0 9-3 48-24 94-38 138-40l0-19c0-10-3-16-16-20l0-9 79 0 0 9c-15 4-20 9-20 20l0 19c96 5 159 54 159 126 0 70-53 106-149 115l-10 0 0 88c23-1 46-8 70-20z m41 181c116-50 198-165 198-300 0-181-146-328-326-328-181 0-328 146-328 328 0 135 81 250 198 300l-81 179c0 18 11 25 28 25l366 0c16 0 28-6 28-25z" horiz-adv-x="654" />
|
||||
<glyph glyph-name="exchange" unicode="" d="M911 127l-670 0 0-111-223 168 223 167 0-112 670 0 0-112z m-893 335l0 112 670 0 0 111 223-166-223-168 0 111-670 0z" horiz-adv-x="928" />
|
||||
<glyph glyph-name="wrench" unicode="" d="M0 21l463 463q-25 68-10 145t72 134 133 72 146-10l-162-162 45-117 115-45 164 164q25-70 9-147t-72-133-133-72-147 9l-463-463z m113-2q0-20 14-33t33-14 33 14 14 33-14 33-33 14-33-14-14-33z" horiz-adv-x="982" />
|
||||
<glyph glyph-name="user" unicode="" d="M0-150l0 156q0 23 58 58t159 71q100 35 137 72t37 102q0 29-26 72t-32 59q-12 35-29 135-10 53-14 94-2 21 6 50t28 60 66 52 110 21 110-21 66-52 28-60 6-50q-4-41-14-94-18-100-29-135-6-16-32-59t-26-72q0-64 37-102t137-72q217-80 217-129l0-156-1000 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="doc" unicode="" d="M0-25l0 625q0 39 27 66t66 27l31 0 0 62q0 39 27 66t66 27l687 0q39 0 66-27t27-66l0-781q0-53-36-89t-89-36l-750 0q-53 0-89 36t-36 89z m62 0q0-25 19-44t44-19l750 0q25 0 44 19t19 44l0 781q0 14-9 22t-22 9l-687 0q-14 0-22-9t-9-22l0-750q0-14-9-22t-22-9-22 9-9 22l0 625-31 0q-14 0-22-9t-9-22l0-625z m187 16q0 16 16 16l250 0q16 0 16-16t-16-16l-250 0q-16 0-16 16z m0 94q0 16 16 16l250 0q16 0 16-16t-16-16l-250 0q-16 0-16 16z m0 94q0 16 16 16l250 0q16 0 16-16 0-6-5-11t-11-5l-250 0q-16 0-16 16z m0 94q0 16 16 16l594 0q16 0 16-16t-16-16l-594 0q-16 0-16 16z m0 94q0 16 16 16l594 0q16 0 16-16t-16-16l-594 0q-16 0-16 16z m0 109l0 219q0 14 9 22t22 9l219 0q14 0 22-9t9-22l0-219q0-14-9-22t-22-9l-219 0q-14 0-22 9t-9 22z m62 31l156 0 0 156-156 0 0-156z m281-516q0 16 16 16l250 0q16 0 16-16t-16-16l-250 0q-16 0-16 16z m0 94q0 16 16 16l250 0q16 0 16-16t-16-16l-250 0q-16 0-16 16z m0 94q0 16 16 16l250 0q16 0 16-16 0-6-5-11t-11-5l-250 0q-16 0-16 16z m0 281q0 16 16 16l250 0q16 0 16-16t-16-16l-250 0q-16 0-16 16z m0 94q0 16 16 16l250 0q16 0 16-16t-16-16l-250 0q-16 0-16 16z m0 94q0 16 16 16l250 0q16 0 16-16t-16-16l-250 0q-16 0-16 16z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="trash" unicode="" d="M0 633l0 141 289 0 0 76 246 0 0-76 289 0 0-141-824 0z m43-783l0 676 738 0 0-676-738 0z" horiz-adv-x="824" />
|
||||
<glyph glyph-name="torso" unicode="" d="M0-150l0 357 338 145q-61 37-92 101t-31 134q0 104 64 184t162 80q102-4 164-83t62-181q-2-74-33-137t-86-98l334-145 0-357-883 0z" horiz-adv-x="883" />
|
||||
<glyph glyph-name="th-large" unicode="" d="M0-150l0 437 437 0 0-437-437 0z m0 562l0 437 437 0 0-437-437 0z m562-562l0 437 437 0 0-437-437 0z m0 562l0 437 437 0 0-437-437 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="desktop" unicode="" d="M0 104l0 660 1000 0 0-660-363 0 0-96 88 0 0-72-449 0 0 72 88 0 0 96-363 0z m123 125l754 0 0 410-754 0 0-410z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="cancel" unicode="" d="M0 71l279 279-279 279 221 221 279-279 279 279 221-221-279-279 279-279-221-221-279 279-279-279z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="plus" unicode="" d="M0 209l0 281 359 0 0 359 281 0 0-359 359 0 0-281-359 0 0-359-281 0 0 359-359 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="photo" unicode="" d="M0-125l0 949 1000 0 0-949-1000 0z m123 309l754 0 0 521-754 0 0-521z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="pencil" unicode="" d="M0-143l68 344 273-273z m137 393l422 422 260-260-422-422z m531 494q2 39 31 68t68 31 66-25l131-131q25-25 24-65t-30-69-69-30-65 24l-131 131q-27 27-25 66z" horiz-adv-x="989" />
|
||||
<glyph glyph-name="ok" unicode="" d="M0 260l162 162 166-164 508 510 164-164-510-510-162-162-162 164z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="off" unicode="" d="M0 350q0 207 146 353l102-102q-105-104-105-252t104-253 253-104 253 104 104 253-105 252l102 102q146-146 146-353t-146-353-353-146-353 146-146 353z m428-78l0 578 145 0 0-578-145 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="indent-left" unicode="" d="M0-66l0 146 1000 0 0-146-1000 0z m0 229l0 375 281-187z m0 457l0 146 1000 0 0-146-1000 0z m422-457l0 146 578 0 0-146-578 0z m0 229l0 146 578 0 0-146-578 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="gauge" unicode="" d="M0 188q0 207 146 353t353 146 353-146 146-353q0-92-31-176l-137 0q43 82 43 176 0 154-109 265t-266 110-266-110-109-265q0-94 43-176l-137 0q-31 84-31 176z m250 180q0 25 19 44t44 19 44-19 19-44-19-44-44-19-44 19-19 44z m187 61q0 25 19 44t44 19 44-19 19-44-19-44-44-19-44 19-19 44z m14-416l0 49 49 246 49-246 0-49-98 0z m174 355q0 25 19 44t44 19 44-19 19-44-19-44-44-19-44 19-19 44z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="right-open" unicode="" d="M0-2l352 352-352 352 148 148 352-352 148-148-148-148-352-352z" horiz-adv-x="648" />
|
||||
<glyph glyph-name="left-open" unicode="" d="M0 350l148 148 352 352 148-148-352-352 352-352-148-148-352 352z" horiz-adv-x="648" />
|
||||
<glyph glyph-name="bell" unicode="" d="M0 10l0 45 197 170 0 266q0 107 67 190t171 104l0 62 131 0 0-62q102-21 170-104t68-190l0-266 195-170 0-45-1000 0z m428-87q0 30 21 52t52 21 52-21 21-52-21-51-52-21-52 21-21 51z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="barcode" unicode="" d="M0-82l0 863 84 0 0-863-84 0z m123 0l0 863 20 0 0-863-20 0z m70 0l0 863 62 0 0-863-62 0z m92 0l0 863 27 0 0-863-27 0z m104 0l0 863 41 0 0-863-41 0z m57 0l0 863 18 0 0-863-18 0z m61 0l0 863 20 0 0-863-20 0z m45 0l0 863 82 0 0-863-82 0z m111 0l0 863 43 0 0-863-43 0z m102 0l0 863 10 0 0-863-10 0z m25 0l0 863 27 0 0-863-27 0z m68 0l0 863 20 0 0-863-20 0z m61 0l0 863 82 0 0-863-82 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="align-left" unicode="" d="M0-89l0 156 1000 0 0-156-1000 0z m0 240l0 156 609 0 0-156-609 0z m0 242l0 156 789 0 0-156-789 0z m0 240l0 156 516 0 0-156-516 0z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="home" unicode="" d="M0-150l0 648 453 352 453-352 0-648-312 0 0 391-281 0 0-391-312 0z" horiz-adv-x="906" />
|
||||
<glyph glyph-name="mail" unicode="" d="M0-29l324 342 176-100 176 100 324-342-1000 0z m0 113l0 414 254-146z m0 504l0 141 1000 0 0-141-500-285z m746-236l254 146 0-414z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="chart" unicode="" d="M0-29l0 758 1000 0 0-758-1000 0z m123 123l754 0 0 512-754 0 0-512z m27 162l125 104 35 29 31-33 43-47 105 166 47 72 39-78 61-125 127 223 86-49-176-305-45-80-41 84-62 131-92-143-33-53-43 45-55 57-90-74z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="cog" unicode="" d="M0 272l0 156 150 16q14 45 37 88l-96 117 109 109 117-96q41 23 88 37l16 150 156 0 16-150q45-14 88-37l117 96 109-109-96-117q23-43 37-88l150-16 0-156-150-16q-14-47-37-88l96-117-109-109-117 96q-43-23-88-37l-16-150-156 0-16 150q-47 14-88 37l-117-96-109 109 96 117q-23 41-37 88z m355 78q0-61 42-103t103-42 103 42 42 103-42 103-103 42-103-42-42-103z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="megaphone" unicode="" d="M0 344l0 123q2 35 26 60t58 24l270 0q139 8 272 64t229 152q35-2 59-26t23-58l0-199q27-8 45-30t18-50q-2-29-19-51t-44-27l0-201q-2-35-26-59t-56-23q-207 184-449 211-66-33-54-127t77-143q-27-47-96-52t-105 30q-16 45-24 75t-17 71-7 78 11 72l-107 0q-35 2-60 26t-24 58z m437-10q240-45 420-184l0 508q-203-150-420-182l0-143z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="dollar" unicode="" d="M546 189q0-85-56-147t-144-76l0-98q0-8-5-13t-13-5l-75 0q-7 0-13 5t-5 13l0 98q-37 5-71 17t-57 25-41 27-26 21-10 10q-9 12-1 23l57 75q4 6 13 7 8 1 13-5l1-1q63-55 136-70 21-4 41-4 45 0 80 24t34 68q0 16-8 30t-19 23-33 21-37 18-45 18q-22 9-34 14t-34 15-35 17-32 20-30 24-24 27-20 32-12 37-5 44q0 77 55 135t142 75l0 100q0 7 5 13t13 5l75 0q8 0 13-5t5-13l0-98q32-3 62-13t49-19 35-21 22-16 8-8q9-10 3-21l-45-81q-4-8-13-9-8-2-15 4-2 2-8 7t-22 15-33 18-42 15-48 6q-53 0-86-24t-33-62q0-15 5-27t16-23 22-18 31-17 34-15 39-15q30-11 45-18t42-20 42-24 35-28 30-35 18-43 7-52z" horiz-adv-x="571.429" />
|
||||
</font>
|
||||
</defs>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 462 B |
|
Before Width: | Height: | Size: 643 B |
|
Before Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 357 B |
|
Before Width: | Height: | Size: 467 B |
|
Before Width: | Height: | Size: 309 B |
|
Before Width: | Height: | Size: 489 B |
|
Before Width: | Height: | Size: 443 B |
|
Before Width: | Height: | Size: 290 B |
|
Before Width: | Height: | Size: 336 B |
|
Before Width: | Height: | Size: 485 B |
|
Before Width: | Height: | Size: 429 B |
|
Before Width: | Height: | Size: 465 B |
|
Before Width: | Height: | Size: 272 B |
|
Before Width: | Height: | Size: 292 B |
|
Before Width: | Height: | Size: 284 B |
|
Before Width: | Height: | Size: 489 B |
|
Before Width: | Height: | Size: 311 B |
|
Before Width: | Height: | Size: 528 B |
3
public/templates/test/admin/default.tpl
Normal file
@ -0,0 +1,3 @@
|
||||
{include file="global/block_header.tpl" BLOCK_HEADER="Admin Panel"}
|
||||
<p>Welcome to the admin panel. Please select an option from the drop-down menu.</p>
|
||||
{include file="global/block_footer.tpl"}
|
||||
58
public/templates/test/admin/monitoring/default.tpl
Normal file
@ -0,0 +1,58 @@
|
||||
<article class="module width_full">
|
||||
<header><h3>Monitoring</h3></header>
|
||||
<table class="tablesorter" cellspacing="0">
|
||||
<thead>
|
||||
<th>Cronjob</th>
|
||||
<th>Exit Code</th>
|
||||
<th>Active</th>
|
||||
<th>Runtime</th>
|
||||
<th>Start Time</th>
|
||||
<th>End Time</th>
|
||||
<th>Message</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach $CRONSTATUS as $cron => $data}
|
||||
<tr>
|
||||
<td>{$cron}</td>
|
||||
{foreach $data as $name => $event}
|
||||
<td>
|
||||
{if $event.type == 'okerror'}
|
||||
{if $event.value == 0}
|
||||
<font color="green">OK</font>
|
||||
{else}
|
||||
<font color="red">ERROR</font>
|
||||
{/if}
|
||||
{else if $event.type == 'message'}
|
||||
<i>{$event.value}</i>
|
||||
{else if $event.type == 'yesno'}
|
||||
<img src="{$PATH}/images/icn_alert_{if $event.value == 1}success{else}error{/if}.png" />
|
||||
{else if $event.type == 'time'}
|
||||
{if $event.value > 60}
|
||||
<font color="orange">
|
||||
{else if $event.value > 120}
|
||||
<font color="red">
|
||||
{else}
|
||||
<font color="green">
|
||||
{/if}
|
||||
{$event.value|default:"0"|number_format:"2"} seconds
|
||||
</font>
|
||||
{else if $event.type == 'date'}
|
||||
{if ($smarty.now - 180) > $event.value}
|
||||
<font color="red">
|
||||
{else if ($smarty.now - 120) > $event.value}
|
||||
<font color="orange">
|
||||
{else}
|
||||
<font color="green">
|
||||
{/if}
|
||||
{$event.value|date_format:"%m/%d %H:%M:%S"}
|
||||
</font>
|
||||
{else}
|
||||
{$event.value|default:""}
|
||||
{/if}
|
||||
</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</article>
|
||||
39
public/templates/test/admin/news/default.tpl
Normal file
@ -0,0 +1,39 @@
|
||||
<article class="module width_full">
|
||||
<header><h3>News Posts</h3></header>
|
||||
<form method="POST" action="{$smarty.server.PHP_SELF}">
|
||||
<input type="hidden" name="page" value="{$smarty.request.page}">
|
||||
<input type="hidden" name="action" value="{$smarty.request.action}">
|
||||
<input type="hidden" name="do" value="add">
|
||||
<div class="module_content">
|
||||
<fieldset>
|
||||
<label>Header</label>
|
||||
<input size="30" type="text" name="data[header]" required />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label>Content</label>
|
||||
<textarea name="data[content]" rows="5" required></textarea>
|
||||
</fieldset>
|
||||
</div>
|
||||
<footer>
|
||||
<div class="submit_link">
|
||||
<input type="submit" value="Add" class="alt_btn">
|
||||
</div>
|
||||
</footer>
|
||||
</form>
|
||||
</article>
|
||||
|
||||
{nocache}
|
||||
{section name=news loop=$NEWS}
|
||||
<article class="module width_full">
|
||||
<header><h3>{$NEWS[news].header} posted {$NEWS[news].time} by {$NEWS[news].author}</h3>
|
||||
{if $NEWS[news].active == 0}<font size="2px"><font color="red"><b>inactive</b></font><br /><br />{/if}</header>
|
||||
<div class="module_content">{$NEWS[news].content}</div>
|
||||
<footer>
|
||||
<div class="submit_link">
|
||||
<i class="icon-edit"><a href='{$smarty.server.PHP_SELF}?page={$smarty.request.page}&action=news_edit&id={$NEWS[news].id}'></a></i>
|
||||
<button><a href='{$smarty.server.PHP_SELF}?page={$smarty.request.page}&action={$smarty.request.action}&do=delete&id={$NEWS[news].id}'>Delete</a></button>
|
||||
</div>
|
||||
</footer>
|
||||
</article>
|
||||
{/section}
|
||||
{/nocache}
|
||||
32
public/templates/test/admin/news_edit/default.tpl
Normal file
@ -0,0 +1,32 @@
|
||||
<article class="module width_full">
|
||||
<header><h3>Edit news entry #{$NEWS.id}</h3></header>
|
||||
<form method="POST" action="{$smarty.server.PHP_SELF}">
|
||||
<input type="hidden" name="page" value="{$smarty.request.page}">
|
||||
<input type="hidden" name="action" value="{$smarty.request.action}">
|
||||
<input type="hidden" name="id" value="{$NEWS.id}">
|
||||
<input type="hidden" name="do" value="save">
|
||||
<table class="tablesorter" cellspacing="0">
|
||||
<tr>
|
||||
<th>Active</th>
|
||||
<td>
|
||||
<input type="hidden" name="active" value="0" />
|
||||
<input type="checkbox" name="active" value="1" id="active" {nocache}{if $NEWS.active}checked{/if}{/nocache} />
|
||||
<label for="active"></label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Header</th>
|
||||
<td><input name="header" type="text" size="30" value="{nocache}{$NEWS.header}{/nocache}" required /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Content</th>
|
||||
<td><textarea name="content" rows="15" cols="150" type="text" required>{nocache}{$NEWS.content}{/nocache}</textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
<footer>
|
||||
<div class="submit_link">
|
||||
<input type="submit" value="Save" class="alt_btn">
|
||||
</div>
|
||||
</footer>
|
||||
</form>
|
||||
</article>
|
||||
50
public/templates/test/admin/settings/default.tpl
Normal file
@ -0,0 +1,50 @@
|
||||
<article class="module width_full">
|
||||
<form method="POST">
|
||||
<input type="hidden" name="page" value="{$smarty.request.page}" />
|
||||
<input type="hidden" name="action" value="{$smarty.request.action}" />
|
||||
<input type="hidden" name="do" value="save" />
|
||||
<header>
|
||||
<h3 class="tabs_involved">Settings</h3>
|
||||
<ul class="tabs">
|
||||
{foreach item=TAB from=array_keys($SETTINGS)}
|
||||
<li><a href="#{$TAB}">{$TAB|capitalize}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</header>
|
||||
<div class="tab_container">
|
||||
{foreach item=TAB from=array_keys($SETTINGS)}
|
||||
<div class="tab_content" id="{$TAB}">
|
||||
<table class="tablesorter" cellspacing="0">
|
||||
<thead>
|
||||
<th align="left" width="15%">Setting</th>
|
||||
<th align="center" width="50px">Help</th>
|
||||
<th>Value</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{section name=setting loop=$SETTINGS.$TAB}
|
||||
<tr>
|
||||
<td align="left">{$SETTINGS.$TAB[setting].display}</td>
|
||||
<td align="center">{if $SETTINGS.$TAB[setting].tooltip|default}<span id='tt'><img src='{$PATH}/images/questionmark.png' height='15px' width='15px' title='{$SETTINGS.$TAB[setting].tooltip}.'></span>{/if}</td>
|
||||
<td>
|
||||
{if $SETTINGS.$TAB[setting].type == 'select'}
|
||||
{html_options name="data[{$SETTINGS.$TAB[setting].name}]" options=$SETTINGS.$TAB[setting].options selected=$SETTINGS.$TAB[setting].value|default:$SETTINGS.$TAB[setting].default}
|
||||
{else if $SETTINGS.$TAB[setting].type == 'text'}
|
||||
<input type="text" size="{$SETTINGS.$TAB[setting].size}" name="data[{$SETTINGS.$TAB[setting].name}]" value="{$SETTINGS.$TAB[setting].value|default:$SETTINGS.$TAB[setting].default}" />
|
||||
{else}
|
||||
Unknown option type: {$SETTINGS.$TAB[setting].type}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/section}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<footer>
|
||||
<div class="submit_link">
|
||||
<input type="submit" value="Save" class="alt_btn">
|
||||
</div>
|
||||
</footer>
|
||||
</form>
|
||||
</article>
|
||||
115
public/templates/test/admin/transactions/default.tpl
Normal file
@ -0,0 +1,115 @@
|
||||
<article class="module width_full">
|
||||
<header><h3>Transaction Summary</h3></header>
|
||||
<table class="tablesorter" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
{foreach $SUMMARY as $type=>$total}
|
||||
<th>{$type}</th>
|
||||
{/foreach}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
{foreach $SUMMARY as $type=>$total}
|
||||
<td class="right">{$total}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</article>
|
||||
|
||||
<article class="module width_quarter">
|
||||
<header><h3>Transaction Filter</h3></header>
|
||||
<form action="{$smarty.server.PHP_SELF}">
|
||||
<input type="hidden" name="page" value="{$smarty.request.page}" />
|
||||
<input type="hidden" name="action" value="{$smarty.request.action}" />
|
||||
<table cellspacing="0" class="tablesorter">
|
||||
<tbody>
|
||||
<tr>
|
||||
{if $COUNTTRANSACTIONS / $LIMIT > 1}
|
||||
<td align="left">
|
||||
{if $smarty.request.start|default:"0" > 0}
|
||||
<a href="{$smarty.server.PHP_SELF}?page={$smarty.request.page}&action={$smarty.request.action}&start={$smarty.request.start|default:"0" - $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}"><i class="icon-left-open"></i></a>
|
||||
{else}
|
||||
<i class="icon-left-open"></i>
|
||||
{/if}
|
||||
</td>
|
||||
<td align="right">
|
||||
{if $COUNTTRANSACTIONS - $smarty.request.start|default:"0" - $LIMIT > 0}
|
||||
<a href="{$smarty.server.PHP_SELF}?page={$smarty.request.page}&action={$smarty.request.action}&start={$smarty.request.start|default:"0" + $LIMIT}{if $FILTERS|default:""}{$FILTERS}{/if}"><i class="icon-right-open"></i></a>
|
||||
{else}
|
||||
<i class="icon-right-open"></i>
|
||||
{/if}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Type</td>
|
||||
<td align="left">{html_options name="filter[type]" options=$TRANSACTIONTYPES selected=$smarty.request.filter.type|default:""}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Status</td>
|
||||
<td align="left">{html_options name="filter[status]" options=$TXSTATUS selected=$smarty.request.filter.status|default:""}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Account</td>
|
||||
<td align="left"><input size="20" type="text" name="filter[account]" value="{$smarty.request.filter.account|default:""}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Address</td>
|
||||
<td align="left"><input size="20" type="text" name="filter[address]" value="{$smarty.request.filter.address|default:""}" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<footer>
|
||||
<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%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center">TX #</th>
|
||||
<th >Account</th>
|
||||
<th >Date</th>
|
||||
<th >TX Type</th>
|
||||
<th >Status</th>
|
||||
<th >Payment Address</th>
|
||||
<th >Block #</th>
|
||||
<th >Amount</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody style="font-size:12px;">
|
||||
{section transaction $TRANSACTIONS}
|
||||
<tr class="{cycle values="odd,even"}">
|
||||
<td align="center">{$TRANSACTIONS[transaction].id}</td>
|
||||
<td>{$TRANSACTIONS[transaction].username}</td>
|
||||
<td>{$TRANSACTIONS[transaction].timestamp}</td>
|
||||
<td>{$TRANSACTIONS[transaction].type}</td>
|
||||
<td>
|
||||
{if $TRANSACTIONS[transaction].type == 'Credit_PPS' OR
|
||||
$TRANSACTIONS[transaction].type == 'Fee_PPS' OR
|
||||
$TRANSACTIONS[transaction].type == 'Donation_PPS' OR
|
||||
$TRANSACTIONS[transaction].type == 'Debit_MP' OR
|
||||
$TRANSACTIONS[transaction].type == 'Debit_AP' OR
|
||||
$TRANSACTIONS[transaction].type == 'TXFee' OR
|
||||
$TRANSACTIONS[transaction].confirmations >= $GLOBAL.confirmations
|
||||
}<font color="green">Confirmed</font>
|
||||
{else if $TRANSACTIONS[transaction].confirmations == -1}<font color="red">Orphaned</font>
|
||||
{else}<font color="orange">Unconfirmed</font>{/if}
|
||||
<font size="1px">({$TRANSACTIONS[transaction].confirmations|default:"n/a"})</font>
|
||||
</td>
|
||||
<td>{$TRANSACTIONS[transaction].coin_address}</td>
|
||||
<td>{if $TRANSACTIONS[transaction].height == 0}n/a{else}{if $GLOBAL.website.blockexplorer.url}<a href="{$GLOBAL.website.blockexplorer.url}{$TRANSACTIONS[transaction].blockhash}">{$TRANSACTIONS[transaction].height}</a>{else}{$TRANSACTIONS[transaction].height}{/if}{/if}</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>
|
||||
</article>
|
||||
105
public/templates/test/admin/user/default.tpl
Normal file
@ -0,0 +1,105 @@
|
||||
<script language="javascript">
|
||||
function storeFee(id) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "{$smarty.server.PHP_SELF}",
|
||||
data: "page={$smarty.request.page}&action={$smarty.request.action}&do=fee&account_id=" + id,
|
||||
});
|
||||
}
|
||||
function storeLock(id) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "{$smarty.server.PHP_SELF}",
|
||||
data: "page={$smarty.request.page}&action={$smarty.request.action}&do=lock&account_id=" + id,
|
||||
});
|
||||
}
|
||||
function storeAdmin(id) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "{$smarty.server.PHP_SELF}",
|
||||
data: "page={$smarty.request.page}&action={$smarty.request.action}&do=admin&account_id=" + id,
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<article class="module width_full">
|
||||
<header><h3>User Information</h3></header>
|
||||
<table width="100%" class="tablesort">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center">ID</th>
|
||||
<th align="left">Username</th>
|
||||
<th align="left">E-Mail</th>
|
||||
<th align="right">Shares </th>
|
||||
<th align="right">Hashrate </th>
|
||||
<th align="right">Est. Donation </th>
|
||||
<th align="right">Est. Payout </th>
|
||||
<th align="right">Balance </th>
|
||||
<th align="center">Admin</th>
|
||||
<th align="center">Locked</th>
|
||||
<th align="center">No Fees</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{nocache}
|
||||
{section name=user loop=$USERS|default}
|
||||
<tr>
|
||||
<td align="center">{$USERS[user].id}</td>
|
||||
<td align="left">{$USERS[user].username|escape}</td>
|
||||
<td align="left">{$USERS[user].email|escape}</td>
|
||||
<td align="right">{$USERS[user].shares}</td>
|
||||
<td align="right">{$USERS[user].hashrate}</td>
|
||||
<td align="right">{$USERS[user].payout.est_donation|number_format:"8"}</td>
|
||||
<td align="right">{$USERS[user].payout.est_payout|number_format:"8"}</td>
|
||||
<td align="right">{$USERS[user].balance|number_format:"8"}</td>
|
||||
<td align="center">
|
||||
<input type="hidden" name="admin[{$USERS[user].id}]" value="0"/>
|
||||
<input type="checkbox" onclick="storeAdmin({$USERS[user].id})" name="admin[{$USERS[user].id}]" value="1" id="admin[{$USERS[user].id}]" {if $USERS[user].is_admin}checked{/if} />
|
||||
<label for="admin[{$USERS[user].id}]"></label>
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="hidden" name="locked[{$USERS[user].id}]" value="0"/>
|
||||
<input type="checkbox" onclick="storeLock({$USERS[user].id})" name="locked[{$USERS[user].id}]" value="1" id="locked[{$USERS[user].id}]" {if $USERS[user].is_locked}checked{/if} />
|
||||
<label for="locked[{$USERS[user].id}]"></label>
|
||||
</td>
|
||||
<td align="center">
|
||||
<input type="hidden" name="nofee[{$USERS[user].id}]" value="0"/>
|
||||
<input type="checkbox" onclick="storeFee({$USERS[user].id})" name="nofee[{$USERS[user].id}]" value="1" id="nofee[{$USERS[user].id}]" {if $USERS[user].no_fees}checked{/if} />
|
||||
<label for="nofee[{$USERS[user].id}]"></label>
|
||||
</td>
|
||||
</tr>
|
||||
{sectionelse}
|
||||
<tr>
|
||||
<td colspan="10"></td>
|
||||
</tr>
|
||||
{/section}
|
||||
{/nocache}
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th align="center">ID</th>
|
||||
<th align="left">Username</th>
|
||||
<th align="left">E-Mail</th>
|
||||
<th align="right">Shares </th>
|
||||
<th align="right">Hashrate </th>
|
||||
<th align="right">Est. Donation </th>
|
||||
<th align="right">Est. Payout </th>
|
||||
<th align="right">Balance </th>
|
||||
<th align="center">Admin</th>
|
||||
<th align="center">Locked</th>
|
||||
<th align="center">No Fees</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<footer>
|
||||
<div class="submit_link">
|
||||
<form action="{$smarty.server.PHP_SELF}" method="POST" id='query'>
|
||||
<input type="hidden" name="page" value="{$smarty.request.page}">
|
||||
<input type="hidden" name="action" value="{$smarty.request.action}">
|
||||
<input type="text" class="pin" name="query" value="{$smarty.request.query|default:"%"}">
|
||||
<input type="submit" value="Query" class="alt_btn">
|
||||
</form>
|
||||
</div>
|
||||
</footer>
|
||||
</article>
|
||||
27
public/templates/test/admin/wallet/default.tpl
Normal file
@ -0,0 +1,27 @@
|
||||
<article class="module width_quarter">
|
||||
<header><h3>Wallet Information</h3></header>
|
||||
<table width="25%" class="tablesorter">
|
||||
<tr>
|
||||
<td align="left">Wallet Balance</td>
|
||||
<td align="left">{$BALANCE|number_format:"8"}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Locked for users</td>
|
||||
<td align="left">{$LOCKED|number_format:"8"}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Unconfirmed</td>
|
||||
<td align="left">{$UNCONFIRMED|number_format:"8"}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Liquid Assets</td>
|
||||
<td align="left">{($BALANCE - $LOCKED)|number_format:"8"}</td>
|
||||
</tr>
|
||||
{if $NEWMINT >= 0}
|
||||
<tr>
|
||||
<td align="left">PoS New Mint</td>
|
||||
<td align="left">{$NEWMINT|number_format:"8"}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
</article>
|
||||
@ -1,3 +1,3 @@
|
||||
<div class="breadcrumbs_container">
|
||||
<article class="breadcrumbs"><a href="{$smarty.server.PHP_SELF}">The Pool</a> <div class="breadcrumb_divider"></div> <a class="{if ! $smarty.request.action}current{/if}" {if $smarty.request.action}href="{$smarty.server.PHP_SELF}?page={$smarty.request.page|default:"home"}"{/if}>{$smarty.request.page|default:"Home"|capitalize}</a>{if $smarty.request.action} <div class="breadcrumb_divider"></div> <a class="current">{$smarty.request.action|capitalize}</a>{/if}</article>
|
||||
<article class="breadcrumbs"><a href="{$smarty.server.PHP_SELF}">The Pool</a> <div class="breadcrumb_divider"></div> <a class="{if ! $smarty.request.action|default:""}current{/if}" {if $smarty.request.action|default:""}href="{$smarty.server.PHP_SELF}?page={$smarty.request.page|default:"home"}"{/if}>{$smarty.request.page|default:"Home"|capitalize}</a>{if $smarty.request.action|default:""} <div class="breadcrumb_divider"></div> <a class="current">{$smarty.request.action|capitalize}</a>{/if}</article>
|
||||
</div>
|
||||
|
||||
@ -3,16 +3,27 @@
|
||||
{if $smarty.session.AUTHENTICATED|default:"0" == 1}
|
||||
<h3>My Account</h3>
|
||||
<ul class="toggle">
|
||||
<li class="icon-gauge"><a href="{$smarty.server.PHP_SELF}?page=dashboard">Dashboard</a></li>
|
||||
<li class="icon-user"><a href="{$smarty.server.PHP_SELF}?page=account&action=edit">Edit Account</a></li>
|
||||
<li class="icon-photo"><a href="{$smarty.server.PHP_SELF}?page=account&action=workers">My Workers</a></li>
|
||||
<li class="icon-indent-left"><a href="{$smarty.server.PHP_SELF}?page=account&action=transactions">Transactions</a></li>
|
||||
{if !$GLOBAL.config.disable_notifications}<li class="icon-mail"><a href="{$smarty.server.PHP_SELF}?page=account&action=notifications">Notifications</a></li>{/if}
|
||||
<li class="icon-gauge"><a href="{$smarty.server.PHP_SELF}?page=dashboard">Dashboard</a></li>
|
||||
<li class="icon-user"><a href="{$smarty.server.PHP_SELF}?page=account&action=edit">Edit Account</a></li>
|
||||
<li class="icon-photo"><a href="{$smarty.server.PHP_SELF}?page=account&action=workers">My Workers</a></li>
|
||||
<li class="icon-indent-left"><a href="{$smarty.server.PHP_SELF}?page=account&action=transactions">Transactions</a></li>
|
||||
{if !$GLOBAL.config.disable_notifications}<li class="icon-megaphone"><a href="{$smarty.server.PHP_SELF}?page=account&action=notifications">Notifications</a></li>{/if}
|
||||
{if !$GLOBAL.config.disable_invitations}<li class="icon-plus"><a href="{$smarty.server.PHP_SELF}?page=account&action=invitations">Invitations</a></li>{/if}
|
||||
<li class="icon-barcode"><a href="{$smarty.server.PHP_SELF}?page=account&action=qrcode">QR Codes</a></li>
|
||||
<li class="icon-barcode"><a href="{$smarty.server.PHP_SELF}?page=account&action=qrcode">QR Codes</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{/if}
|
||||
{if $smarty.session.AUTHENTICATED|default:"0" == 1 && $GLOBAL.userdata.is_admin == 1}
|
||||
<h3>Admin Panel</h3>
|
||||
<ul>
|
||||
<li class="icon-bell"><a href="{$smarty.server.PHP_SELF}?page=admin&action=monitoring">Monitoring</a></li>
|
||||
<li class="icon-torso"><a href="{$smarty.server.PHP_SELF}?page=admin&action=user">User Info</a></li>
|
||||
<li class="icon-money"><a href="{$smarty.server.PHP_SELF}?page=admin&action=wallet">Wallet Info</a></li>
|
||||
<li class="icon-exchange"><a href="{$smarty.server.PHP_SELF}?page=admin&action=transactions">Transactions</a></li>
|
||||
<li class="icon-cog"><a href="{$smarty.server.PHP_SELF}?page=admin&action=settings">Settings</a></li>
|
||||
<li class="icon-doc"><a href="{$smarty.server.PHP_SELF}?page=admin&action=news">News</a></li>
|
||||
</ul>
|
||||
{/if}
|
||||
<h3>Statistics</h3>
|
||||
<ul class="toggle">
|
||||
<li class="icon-align-left"><a href="{$smarty.server.PHP_SELF}?page=statistics&action=pool">Pool</a></li>
|
||||
@ -22,7 +33,7 @@
|
||||
<h3>Other</h3>
|
||||
<ul class="toggle">
|
||||
{if $smarty.session.AUTHENTICATED|default:"0" == 1}
|
||||
<li class="icon-cancel"><a href="{$smarty.server.PHP_SELF}?page=logout">Logout</a></li>
|
||||
<li class="icon-off"><a href="{$smarty.server.PHP_SELF}?page=logout">Logout</a></li>
|
||||
{else}
|
||||
<li class=""><a href="{$smarty.server.PHP_SELF}?page=login">Login</a></li>
|
||||
{/if}
|
||||
|
||||