[FIX] updated styles, typos and colors

This commit is contained in:
iAmShorty 2014-04-02 17:35:56 +02:00
parent 9fb64901f0
commit 68d87633e2
12 changed files with 326 additions and 284 deletions

View File

@ -12,52 +12,54 @@ $updating = (@$_POST['do']) ? 1 : 0;
if ($user->isAuthenticated()) {
if ($config['twofactor']['enabled']) {
$popupmsg = 'E-mail confirmations are required for ';
$popuptypes = array();
if ($config['twofactor']['options']['details'] && $oldtoken_ea !== "") {
$popuptypes[] = 'editing your details';
$ea_editable = $user->token->isTokenValid($_SESSION['USERDATA']['id'], $oldtoken_ea, 5);
$ea_sent = $user->token->doesTokenExist('account_edit', $_SESSION['USERDATA']['id']);
}
if ($config['twofactor']['options']['changepw'] && $oldtoken_cp !== "") {
$popuptypes[] = 'changing your password';
$cp_editable = $user->token->isTokenValid($_SESSION['USERDATA']['id'], $oldtoken_cp, 6);
$cp_sent = $user->token->doesTokenExist('change_pw', $_SESSION['USERDATA']['id']);
}
if ($config['twofactor']['options']['withdraw'] && $oldtoken_wf !== "") {
$popuptypes[] = 'withdrawals';
$wf_editable = $user->token->isTokenValid($_SESSION['USERDATA']['id'], $oldtoken_wf, 7);
$wf_sent = $user->token->doesTokenExist('withdraw_funds', $_SESSION['USERDATA']['id']);
}
// get the status of a token if set
$message_tokensent_invalid = 'A token was sent to your e-mail that will allow you to ';
$message_tokensent_valid = 'You can currently ';
$messages_tokensent_status = array(
'ea' => 'edit your account details',
'wf' => 'withdraw funds',
'cp' => 'change your password'
);
// build the message we're going to show them for their token(s)
$eaprep_sent = ($ea_sent) ? $message_tokensent_valid.$messages_tokensent_status['ea'] : "";
$eaprep_edit = ($ea_editable) ? $message_tokensent_invalid.$messages_tokensent_status['ea'] : "";
$wfprep_sent = ($wf_sent) ? $message_tokensent_valid.$messages_tokensent_status['wf'] : "";
$wfprep_edit = ($wf_editable) ? $message_tokensent_invalid.$messages_tokensent_status['wf'] : "";
$cpprep_sent = ($cp_sent) ? $message_tokensent_valid.$messages_tokensent_status['cp'] : "";
$cpprep_edit = ($cp_editable) ? $message_tokensent_invalid.$messages_tokensent_status['cp'] : "";
$ptc = 0;
$ptcn = count($popuptypes);
foreach ($popuptypes as $pt) {
if ($ptcn == 1) { $popupmsg.= $popuptypes[$ptc]; continue; }
if ($ptc !== ($ptcn-1)) {
$popupmsg.= $popuptypes[$ptc].', ';
} else {
$popupmsg.= 'and '.$popuptypes[$ptc];
if ($config['twofactor']['options']['details'] OR $config['twofactor']['options']['changepw'] OR $config['twofactor']['options']['withdraw']) {
$popupmsg = 'E-mail confirmations are required for ';
$popuptypes = array();
if ($config['twofactor']['options']['details'] && $oldtoken_ea !== "") {
$popuptypes[] = 'editing your details';
$ea_editable = $user->token->isTokenValid($_SESSION['USERDATA']['id'], $oldtoken_ea, 5);
$ea_sent = $user->token->doesTokenExist('account_edit', $_SESSION['USERDATA']['id']);
}
$ptc++;
if ($config['twofactor']['options']['changepw'] && $oldtoken_cp !== "") {
$popuptypes[] = 'changing your password';
$cp_editable = $user->token->isTokenValid($_SESSION['USERDATA']['id'], $oldtoken_cp, 6);
$cp_sent = $user->token->doesTokenExist('change_pw', $_SESSION['USERDATA']['id']);
}
if ($config['twofactor']['options']['withdraw'] && $oldtoken_wf !== "") {
$popuptypes[] = 'withdrawals';
$wf_editable = $user->token->isTokenValid($_SESSION['USERDATA']['id'], $oldtoken_wf, 7);
$wf_sent = $user->token->doesTokenExist('withdraw_funds', $_SESSION['USERDATA']['id']);
}
// get the status of a token if set
$message_tokensent_invalid = 'A token was sent to your e-mail that will allow you to ';
$message_tokensent_valid = 'You can currently ';
$messages_tokensent_status = array(
'ea' => 'edit your account details',
'wf' => 'withdraw funds',
'cp' => 'change your password'
);
// build the message we're going to show them for their token(s)
$eaprep_sent = ($ea_sent) ? $message_tokensent_valid.$messages_tokensent_status['ea'] : "";
$eaprep_edit = ($ea_editable) ? $message_tokensent_invalid.$messages_tokensent_status['ea'] : "";
$wfprep_sent = ($wf_sent) ? $message_tokensent_valid.$messages_tokensent_status['wf'] : "";
$wfprep_edit = ($wf_editable) ? $message_tokensent_invalid.$messages_tokensent_status['wf'] : "";
$cpprep_sent = ($cp_sent) ? $message_tokensent_valid.$messages_tokensent_status['cp'] : "";
$cpprep_edit = ($cp_editable) ? $message_tokensent_invalid.$messages_tokensent_status['cp'] : "";
$ptc = 0;
$ptcn = count($popuptypes);
foreach ($popuptypes as $pt) {
if ($ptcn == 1) { $popupmsg.= $popuptypes[$ptc]; continue; }
if ($ptc !== ($ptcn-1)) {
$popupmsg.= $popuptypes[$ptc].', ';
} else {
$popupmsg.= 'and '.$popuptypes[$ptc];
}
$ptc++;
}
// display global notice about tokens being in use and for which bits they're active
$_SESSION['POPUP'][] = array('CONTENT' => $popupmsg, 'TYPE' => 'alert alert-warning');
}
// display global notice about tokens being in use and for which bits they're active
$_SESSION['POPUP'][] = array('CONTENT' => $popupmsg, 'TYPE' => 'alert alert-warning');
}
if (isset($_POST['do']) && $_POST['do'] == 'genPin') {
@ -174,12 +176,12 @@ if ($config['twofactor']['enabled'] && $user->isAuthenticated()) {
}
// display token info per each - only when sent and editable or just sent, not by default
(!empty($eaprep_sent) && !empty($eaprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $eaprep_sent, 'TYPE' => 'success'):"";
(!empty($eaprep_sent) && empty($eaprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $message_tokensent_invalid.$messages_tokensent_status['ea'], 'TYPE' => 'success'):"";
(!empty($wfprep_sent) && !empty($wfprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $wfprep_sent, 'TYPE' => 'success'):"";
(!empty($wfprep_sent) && empty($wfprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $message_tokensent_invalid.$messages_tokensent_status['wf'], 'TYPE' => 'success'):"";
(!empty($cpprep_sent) && !empty($cpprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $cpprep_sent, 'TYPE' => 'success'):"";
(!empty($cpprep_sent) && empty($cpprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $message_tokensent_invalid.$messages_tokensent_status['cp'], 'TYPE' => 'success'):"";
(!empty($eaprep_sent) && !empty($eaprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $eaprep_sent, 'TYPE' => 'alert alert-success'):"";
(!empty($eaprep_sent) && empty($eaprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $message_tokensent_invalid.$messages_tokensent_status['ea'], 'TYPE' => 'alert alert-success'):"";
(!empty($wfprep_sent) && !empty($wfprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $wfprep_sent, 'TYPE' => 'alert alert-success'):"";
(!empty($wfprep_sent) && empty($wfprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $message_tokensent_invalid.$messages_tokensent_status['wf'], 'TYPE' => 'alert alert-success'):"";
(!empty($cpprep_sent) && !empty($cpprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $cpprep_sent, 'TYPE' => 'alert alert-success'):"";
(!empty($cpprep_sent) && empty($cpprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $message_tokensent_invalid.$messages_tokensent_status['cp'], 'TYPE' => 'alert alert-success'):"";
// two-factor stuff
$smarty->assign("CHANGEPASSUNLOCKED", $cp_editable);
$smarty->assign("WITHDRAWUNLOCKED", $wf_editable);

View File

@ -134,3 +134,7 @@ a:focus {
.dropdown-menu {
background-color: #D3D3D3;
}
.confirmations {
color: #F3FF12;
}

View File

@ -65,37 +65,37 @@ input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
background-color: #ffffff;
padding: 4px 4px 4px 4px;
font-size: 11px;
color: #555555;
border: 1px solid #ccc;
height: 25px;
line-height: 25px;
background-color: #ffffff;
padding: 4px 4px 4px 4px;
font-size: 11px;
color: #555555;
border: 1px solid #ccc;
height: 25px;
line-height: 25px;
}
.input-group-sm > .form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
height: 25px;
font-size: 12px;
height: 25px;
font-size: 12px;
}
.form-control {
font-size: 12px;
font-size: 12px;
}
.input-group .input-group-addon {
line-height: 1!important;
line-height: 1!important;
}
.glyphicon{
line-height: 1em;
line-height: 1em;
}
.select-mini, .input-group {
font-size: 11px;
height: 25px;
font-size: 11px;
height: 25px;
}
/* Navigation */
@ -105,145 +105,154 @@ input[type="color"],
/* Top Right Navigation Dropdown Styles */
.navbar-top-links li {
display: inline-block;
display: inline-block;
}
.navbar-top-links li:last-child {
margin-right: 15px;
margin-right: 15px;
}
.navbar-top-links li a {
padding: 15px;
min-height: 50px;
padding: 15px;
min-height: 50px;
}
.dropdown-user {
min-width:100px;
min-width:100px;
}
.navbar-top-links .dropdown-menu li {
display: block;
display: block;
}
.navbar-top-links .dropdown-menu li:last-child {
margin-right: 0;
margin-right: 0;
}
.navbar-top-links .dropdown-menu li a {
padding: 3px 20px;
min-height: 0;
padding: 3px 20px;
min-height: 0;
}
.navbar-top-links .dropdown-menu li a div {
white-space: normal;
white-space: normal;
}
.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
width: 310px;
min-width: 0;
width: 310px;
min-width: 0;
}
.navbar-top-links .dropdown-messages {
margin-left: 5px;
margin-left: 5px;
}
.navbar-top-links .dropdown-tasks {
margin-left: -59px;
margin-left: -59px;
}
.navbar-top-links .dropdown-alerts {
/*#margin-left: -123px; */
/*#margin-left: -123px; */
}
.navbar-top-links .dropdown-user {
right: 0;
left: auto;
right: 0;
left: auto;
}
/* Sidebar Menu Styles */
.sidebar-search {
padding: 15px;
.sidebar-search {
padding: 15px;
}
.arrow {
float: right;
float: right;
}
.fa.arrow:before {
content: "\f104";
content: "\f104";
}
.active > a > .fa.arrow:before {
content: "\f107";
content: "\f107";
}
.nav-second-level li,
.nav-third-level li {
border-bottom: none !important;
border-bottom: none !important;
}
.nav-second-level li a {
padding-left: 37px;
padding-left: 37px;
}
.nav-third-level li a {
padding-left: 52px;
padding-left: 52px;
}
@media(min-width:768px) {
.navbar-static-side {
z-index: 1;
position: absolute;
width: 250px;
}
.navbar-static-side {
z-index: 1;
position: absolute;
width: 250px;
}
.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
margin-left: auto;
}
.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
margin-left: auto;
}
.col-md-spark, .col-md-spark-2 {
float: left;
}
.col-md-spark {
width:16.65%
}
.col-md-spark-2 {
width:20%
}
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a,
.navbar-default .navbar-nav .open .dropdown-menu {
font-size: 12px;
font-size: 12px;
}
.navbar-default .navbar-nav .open .dropdown-menu > li a:hover {
font-size: 12px;
font-size: 12px;
}
/* Buttons */
/* ------------------------------- */
.btn-outline {
color: inherit;
background-color: transparent;
transition: all .5s;
.btn-outline {
color: inherit;
background-color: transparent;
transition: all .5s;
}
.btn-primary.btn-outline {
color: #428bca;
color: #428bca;
}
.btn-success.btn-outline {
color: #5cb85c;
color: #5cb85c;
}
.btn-info.btn-outline {
color: #5bc0de;
color: #5bc0de;
}
.btn-warning.btn-outline {
color: #f0ad4e;
color: #f0ad4e;
}
.btn-danger.btn-outline {
color: #d9534f;
color: #d9534f;
}
.btn-primary.btn-outline:hover,
@ -251,7 +260,7 @@ input[type="color"],
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
color: #fff;
color: #fff;
}
/* Pages */
@ -260,52 +269,52 @@ input[type="color"],
/* Dashboard Chat */
.chat {
margin: 0;
padding: 0;
list-style: none;
.chat {
margin: 0;
padding: 0;
list-style: none;
}
.chat li {
margin-bottom: 10px;
padding-bottom: 5px;
border-bottom: 1px dotted #B3A9A9;
margin-bottom: 10px;
padding-bottom: 5px;
border-bottom: 1px dotted #B3A9A9;
}
.chat li.left .chat-body {
margin-left: 60px;
margin-left: 60px;
}
.chat li.right .chat-body {
margin-right: 60px;
margin-right: 60px;
}
.chat li .chat-body p {
margin: 0;
color: #777777;
margin: 0;
color: #777777;
}
.panel .slidedown .glyphicon,
.chat .glyphicon {
margin-right: 5px;
margin-right: 5px;
}
.chat-panel .panel-body {
height: 350px;
overflow-y: scroll;
height: 350px;
overflow-y: scroll;
}
/* Login Page */
.login-panel {
margin-top: 25%;
margin-top: 25%;
}
/* Flot Chart Containers */
.flot-chart {
display: block;
height: 400px;
display: block;
height: 400px;
}
.flot-chart-content {
@ -342,13 +351,6 @@ table.dataTable thead .sorting:after {
color: rgba(50,50,50,.5);
}
.table {
width: 100%;
margin-bottom: 20px;
table-layout: fixed;
word-wrap: break-word;
}
div.dataTables_length select {
font-size: 11px;
height: 25px;
@ -365,7 +367,7 @@ div.dataTables_paginate {
div.dataTables_paginate ul.pagination {
font-size: 11px;
}
/* Circle Buttons */
@ -406,7 +408,7 @@ div.dataTables_paginate ul.pagination {
}
.show-grid {
margin: 15px 0;
margin: 15px 0;
}
/* No Padding for Tables */
@ -425,163 +427,196 @@ div.dataTables_paginate ul.pagination {
.borderless > tbody > tr > td {
border: none;
padding: 5px;
}
.borderless > thead > tr > th {
border: none;
}
.footer {
clear: both;
text-align: center;
padding: 4px 0px 0px;
font-size: 11px;
width: 100%;
}
.margin-bottom-sm {
margin-bottom: 5px !important;
margin-bottom: 5px !important;
}
p.overview {
font-family: 'Open Sans',sans-serif;
font-weight: 600;
font-size: 11px;
text-transform: uppercase;
display: block;
margin-bottom: 4px;
font-family: 'Open Sans',sans-serif;
font-weight: 600;
font-size: 11px;
text-transform: uppercase;
display: block;
margin-bottom: 4px;
}
span.overview {
font-size: 14px;
font-weight: bold;
font-size: 14px;
font-weight: bold;
}
div.overview {
margin: 20px 0px 0px;
margin: 20px 0px 0px;
}
span.bigfont {
font-size: 100%;
font-size: 100%;
}
th.smallwidth {
width: 250px;
width: 250px;
}
.col-md-spark, .col-md-spark-2 {
position:relative;
min-height:1px;
padding-left:15px;
padding-right:15px
}
@media (min-width:992px) {
.col-md-spark, .col-md-spark-2 {
float: left;
}
.col-md-spark {
width:16.65%
}
.col-md-spark-2 {
width:20%
}
position:relative;
min-height:1px;
padding-left:15px;
padding-right:15px
}
span.overview-mhs {
font-size: 11px;
font-weight: bold;
font-size: 11px;
font-weight: bold;
}
div.black {
color: black;
color: black;
}
div.progress-fix {
margin: 0px 0px 5px 0px;
margin: 0px 0px 5px 0px;
}
span.spark-18 {
margin: -20%;
margin: -20%;
}
span.spark-25 {
margin: -25%;
margin: -25%;
}
/* Test Edit */
.circle-tile {
margin-bottom: 30px;
margin-bottom: 30px;
}
.circle-tile {
margin-bottom: 15px;
text-align: center;
margin-bottom: 15px;
text-align: center;
}
.circle-tile-content {
padding-top: 50px;
border-radius: 8px;
border: 3px solid rgba(255, 255, 255, 0.3);
padding-top: 50px;
border-radius: 8px;
border: 3px solid rgba(255, 255, 255, 0.3);
}
.circle-tile-description {
font-weight: bold;
font-size: 16px;
font-weight: bold;
font-size: 16px;
}
.circle-tile-number {
padding: 0px 1px 4px;
padding: 0px 1px 4px;
}
.circle-tile-heading {
position: relative;
width: 80px;
height: 80px;
margin: 0px auto -40px;
border: 3px solid rgba(255, 255, 255, 0.3);
border-radius: 100%;
color: #FFF;
transition: all 0.3s ease-in-out 0s;
position: relative;
width: 80px;
height: 80px;
margin: 0px auto -40px;
border: 3px solid rgba(255, 255, 255, 0.3);
border-radius: 100%;
color: #FFF;
transition: all 0.3s ease-in-out 0s;
}
.circle-tile-heading .fa {
line-height: 80px;
line-height: 80px;
}
.lightblue {
background-color: #2FAACE;
background-color: #2FAACE;
}
.text-faded {
color: rgba(255, 255, 255, 0.7);
color: rgba(255, 255, 255, 0.7);
}
.text-link {
color: #FFFFFF;
color: #FFFFFF;
}
p.up {
margin: -5px 0px -8px;
font-weight: 600;
margin: -5px 0px -8px;
font-weight: 600;
}
div.up {
margin: -10px 0px 6px 0px;
margin: -10px 0px 6px 0px;
}
p.up-more {
margin: -6px 0px 10px;
font-weight: 600;
margin: -6px 0px 10px;
font-weight: 600;
}
p.up-more2 {
margin: -6px 0px 0px;
margin: -6px 0px 0px;
}
div.fade {
opacity: 0.8;
opacity: 0.8;
}
/* End Test */
/* Tables */
.table>tbody>tr>th
{
padding-left:3px;
padding-bottom:3px;
border: 1px solid #ddd;
background-color: #f9f9f9;
padding-right:1px;
}
.table > tbody > tr > td
{
padding:4px;
}
.panel > .table,
.panel > .table-responsive > .table {
margin-bottom: 0;
}
.table-responsive
{
white-space: nowrap;
width: 100%;
margin-bottom: 15px;
overflow-x: scroll;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
/* End Tables */
/* Footer */
.footer {
clear: both;
text-align: center;
padding: 4px 0px 0px;
font-size: 11px;
width: 100%;
}
.confirmations {
color: #F79D00;
}
/* End Footer */

View File

@ -10,12 +10,13 @@
<div class="col-lg-12">
<div class="panel panel-info">
<div class="panel-heading">
<i class="fa fa-credit-card fa-fw"></i> All Time
<i class="fa fa-credit-card fa-fw"></i> Summary
</div>
<div class="panel-body">
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th class="col-xs-1"></th>
{foreach $SUMMARY as $type=>$total}
<th>{$type}</th>
{/foreach}
@ -23,6 +24,7 @@
</thead>
<tbody>
<tr>
<td class="col-xs-1">All Time</td>
{foreach $SUMMARY as $type=>$total}
<td class="right">{$total|number_format:"8"}</td>
{/foreach}
@ -44,7 +46,7 @@
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th></th>
<th class="col-xs-1"></th>
<th>Credit</th>
<th>Debit AP</th>
<th>Debit MP</th>
@ -57,7 +59,7 @@
</thead>
<tbody>
<tr>
<td>Last Hour</th>
<td class="col-xs-1">Last Hour</th>
<td>{$BYTIME.1HourCredit|number_format:"8"}</td>
<td>{$BYTIME.1HourDebitAP|number_format:"8"}</td>
<td>{$BYTIME.1HourDebitMP|number_format:"8"}</td>
@ -68,7 +70,7 @@
<td>{$BYTIME.1HourTXFee|number_format:"8"}</td>
</tr>
<tr>
<td>Last Day</th>
<td class="col-xs-1">Last Day</th>
<td>{$BYTIME.24HourCredit|number_format:"8"}</td>
<td>{$BYTIME.24HourDebitAP|number_format:"8"}</td>
<td>{$BYTIME.24HourDebitMP|number_format:"8"}</td>
@ -79,7 +81,7 @@
<td>{$BYTIME.24HourTXFee|number_format:"8"}</td>
</tr>
<tr>
<td>Last Week</th>
<td class="col-xs-1">Last Week</th>
<td>{$BYTIME.1WeekCredit|number_format:"8"}</td>
<td>{$BYTIME.1WeekDebitAP|number_format:"8"}</td>
<td>{$BYTIME.1WeekDebitMP|number_format:"8"}</td>
@ -90,7 +92,7 @@
<td>{$BYTIME.1WeekTXFee|number_format:"8"}</td>
</tr>
<tr>
<td>Last Month</th>
<td class="col-xs-1">Last Month</th>
<td>{$BYTIME.1MonthCredit|number_format:"8"}</td>
<td>{$BYTIME.1MonthDebitAP|number_format:"8"}</td>
<td>{$BYTIME.1MonthDebitMP|number_format:"8"}</td>
@ -101,7 +103,7 @@
<td>{$BYTIME.1MonthTXFee|number_format:"8"}</td>
</tr>
<tr>
<td>Last Year</th>
<td class="col-xs-1">Last Year</th>
<td>{$BYTIME.1YearCredit|number_format:"8"}</td>
<td>{$BYTIME.1YearDebitAP|number_format:"8"}</td>
<td>{$BYTIME.1YearDebitMP|number_format:"8"}</td>
@ -117,7 +119,6 @@
</div>
</div>
</div>
</div>
</div>
</div>

View File

@ -1,5 +1,5 @@
<div class="row">
<form class="col-lg-4" role="form">
<form class="col-lg-3" role="form">
<input type="hidden" name="page" value="{$smarty.request.page|escape}">
<input type="hidden" name="action" value="{$smarty.request.action|escape}">
<input type="hidden" name="ctoken" value="{$CTOKEN|escape|default:""}" />
@ -31,14 +31,14 @@
</div>
</form>
<div class="col-lg-8">
<div class="col-lg-9">
<div class="panel panel-info">
<div class="panel-heading">
<i class="fa fa-clock-o fa-fw"></i> Transaction History
</div>
<div class="panel-body no-padding">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th class="h6">ID</th>
@ -54,10 +54,10 @@
<tbody>
{section transaction $TRANSACTIONS}
<tr>
<td class="h6">{$TRANSACTIONS[transaction].id}</td>
<td class="h6">{$TRANSACTIONS[transaction].timestamp}</td>
<td class="h6">{$TRANSACTIONS[transaction].type}</td>
<td class="h6">
<td>{$TRANSACTIONS[transaction].id}</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
@ -73,14 +73,14 @@
<span class="label label-warning">Unconfirmed</span>
{/if}
</td>
<td class="h6"><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td>
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td>
{if ! $GLOBAL.website.transactionexplorer.disabled}
<td class="h6"><a href="{$GLOBAL.website.transactionexplorer.url}{$TRANSACTIONS[transaction].txid|escape}" title="{$TRANSACTIONS[transaction].txid|escape}" target="_blank">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
<td><a href="{$GLOBAL.website.transactionexplorer.url}{$TRANSACTIONS[transaction].txid|escape}" title="{$TRANSACTIONS[transaction].txid|escape}" target="_blank">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
{else}
<td class="h6"><a href="#" onClick="alert('{$TRANSACTIONS[transaction].txid|escape}')" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].txid|escape}')" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
{/if}
<td class="h6">{if $TRANSACTIONS[transaction].height == 0}n/a{else}<a href="{$smarty.server.SCRIPT_NAME}?page=statistics&action=round&height={$TRANSACTIONS[transaction].height}">{$TRANSACTIONS[transaction].height}</a>{/if}</td>
<td class="h6"><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>{if $TRANSACTIONS[transaction].height == 0}n/a{else}<a href="{$smarty.server.SCRIPT_NAME}?page=statistics&action=round&height={$TRANSACTIONS[transaction].height}">{$TRANSACTIONS[transaction].height}</a>{/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>

View File

@ -42,7 +42,7 @@
<th class="smallwidth">Worker Login</th>
<th class="smallwidth">Worker Password</th>
<th class="text-center">Active</th>
{if $GLOBAL.config.disable_notifications != 1 && $DISABLE_IDLEWORKERNOTIFICATIONS != 1}<th>Monitor</th>{/if}
{if $GLOBAL.config.disable_notifications != 1 && $DISABLE_IDLEWORKERNOTIFICATIONS != 1}<th class="text-center">Monitor</th>{/if}
<th class="text-right">Khash/s</th>
<th class="text-right">Difficulty</th>
<th class="text-center">Action</th>
@ -62,7 +62,7 @@
<td><input class="form-control" type="text" name="data[{$WORKERS[worker].id}][password]" value="{$WORKERS[worker].password|escape}" size="10" required></td>
<td class="text-center"><i class="fa fa-{if $WORKERS[worker].hashrate > 0}check{else}times{/if} fa-fw"></i></td>
{if $GLOBAL.config.disable_notifications != 1 && $DISABLE_IDLEWORKERNOTIFICATIONS != 1}
<td>
<td class="text-center">
<input type="hidden" name="data[{$WORKERS[worker].id}][monitor]" value="0" />
<input type="checkbox" class="switch" data-size="mini" name="data[{$WORKERS[worker].id}][monitor]" id="data[{$WORKERS[worker].id}][monitor]" value="1" {if $WORKERS[worker].monitor}checked{/if}/>
</td>

View File

@ -3,7 +3,7 @@
<div class="col-lg-12">
<div class="panel panel-info">
<div class="panel-heading">
<i class="fa fa-user fa-fw"></i> Last registered Users
<i class="fa fa-user fa-fw"></i> Last Registered Users
</div>
<div class="panel-body no-padding">
<div class="table-responsive">
@ -15,7 +15,7 @@
<th>eMail</th>
<th>Reg. Date</th>
<th>Invite</th>
<th>Invited from</th>
<th>Invited From</th>
</tr>
</thead>
<tbody>
@ -25,7 +25,7 @@
<td>{$LASTREGISTEREDUSERS[user].mposuser}</td>
<td>{$LASTREGISTEREDUSERS[user].email}</td>
<td>{$LASTREGISTEREDUSERS[user].signup_timestamp|date_format:"%d/%m %H:%M:%S"}</td>
<td align="center">{if !$LASTREGISTEREDUSERS[user].inviter}<i class="fa fa-times fa-fw">{else}<i class="fa fa-check fa-fw">{/if}</td>
<td class="text-center">{if !$LASTREGISTEREDUSERS[user].inviter}<i class="fa fa-times fa-fw">{else}<i class="fa fa-check fa-fw">{/if}</td>
<td><a href="{$smarty.server.SCRIPT_NAME}?page=admin&action=user&do=query&filter[account]={$LASTREGISTEREDUSERS[user].inviter}">{$LASTREGISTEREDUSERS[user].inviter}</a></td>
</tr>
{/section}

View File

@ -7,7 +7,7 @@
</div>
<div class="panel-body no-padding">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
{foreach $SUMMARY as $type=>$total}
@ -31,7 +31,7 @@
{/if}
<div class="row">
<form class="col-lg-4" role="form">
<form class="col-lg-3" role="form">
<input type="hidden" name="page" value="{$smarty.request.page|escape}">
<input type="hidden" name="action" value="{$smarty.request.action|escape}">
<input type="hidden" name="ctoken" value="{$CTOKEN|escape|default:""}" />
@ -73,14 +73,14 @@
<div class="col-lg-8">
<div class="col-lg-9">
<div class="panel panel-info">
<div class="panel-heading">
<i class="fa fa-clock-o fa-fw"></i> Transaction History
</div>
<div class="panel-body no-padding">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th class="h6">ID</th>
@ -97,11 +97,11 @@
<tbody>
{section transaction $TRANSACTIONS}
<tr>
<td class="h6">{$TRANSACTIONS[transaction].id}</td>
<td class="h6">{$TRANSACTIONS[transaction].username}</td>
<td class="h6">{$TRANSACTIONS[transaction].timestamp}</td>
<td class="h6">{$TRANSACTIONS[transaction].type}</td>
<td class="h6">
<td>{$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
@ -113,14 +113,14 @@
{else if $TRANSACTIONS[transaction].confirmations == -1}<span class="label label-danger">Orphaned</span>
{else}<span class="label label-warning">Unconfirmed</span>{/if}
</td>
<td class="h6"><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td>
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td>
{if ! $GLOBAL.website.transactionexplorer.disabled}
<td class="h6"><a href="{$GLOBAL.website.transactionexplorer.url}{$TRANSACTIONS[transaction].txid|escape}" title="{$TRANSACTIONS[transaction].txid|escape}" target="_blank">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
<td><a href="{$GLOBAL.website.transactionexplorer.url}{$TRANSACTIONS[transaction].txid|escape}" title="{$TRANSACTIONS[transaction].txid|escape}" target="_blank">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
{else}
<td class="h6"><a href="#" onClick="alert('{$TRANSACTIONS[transaction].txid|escape}')" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].txid|escape}')" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
{/if}
<td class="h6">{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 class="h6"><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>{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>

View File

@ -88,7 +88,7 @@
<tr>
<th class="h6">ID</th>
<th class="h6">Username</th>
<th class="h6">E-Mail</th>
<th class="h6">eMail</th>
<th class="h6" style="padding-right:10px">Shares</th>
<th class="h6" style="padding-right:10px">Hashrate</th>
{if $GLOBAL.config.payout_system != 'pps'}
@ -109,31 +109,31 @@
{nocache}
{section name=user loop=$USERS|default}
<tr>
<td class="h6">{$USERS[user].id}</td>
<td class="h6">{$USERS[user].username|escape}</td>
<td class="h6">{$USERS[user].email|escape}</td>
<td class="h6">{$USERS[user].shares.valid}</td>
<td class="h6">{$USERS[user].hashrate}</td>
<td>{$USERS[user].id}</td>
<td>{$USERS[user].username|escape}</td>
<td>{$USERS[user].email|escape}</td>
<td>{$USERS[user].shares.valid}</td>
<td>{$USERS[user].hashrate}</td>
{if $GLOBAL.config.payout_system != 'pps'}
<td class="h6">{$USERS[user].estimates.donation|number_format:"8"}</td>
<td class="h6">{$USERS[user].estimates.payout|number_format:"8"}</td>
<td>{$USERS[user].estimates.donation|number_format:"8"}</td>
<td>{$USERS[user].estimates.payout|number_format:"8"}</td>
{else}
<td class="h6" colspan="2">{$USERS[user].estimates.hours24|number_format:"8"}</td>
<td colspan="2">{$USERS[user].estimates.hours24|number_format:"8"}</td>
{/if}
<td class="h6">{$USERS[user].balance|number_format:"8"}</td>
<td class="h6">{$USERS[user].signup_timestamp|date_format:"%d/%m %H:%M:%S"}</td>
<td class="h6">{$USERS[user].last_login|date_format:"%d/%m %H:%M:%S"}</td>
<td class="h6">
<td>{$USERS[user].balance|number_format:"8"}</td>
<td>{$USERS[user].signup_timestamp|date_format:"%d/%m %H:%M:%S"}</td>
<td>{$USERS[user].last_login|date_format:"%d/%m %H:%M:%S"}</td>
<td>
<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 class="h6">
<td>
<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 class="h6">
<td>
<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>

View File

@ -10,21 +10,21 @@
<thead>
<tr>
<th></th>
<th class="text-right">Gen est.</th>
<th class="text-right">Gen. Est.</th>
<th class="text-right">Found</th>
<th class="text-right">Valid</th>
<th class="text-right">Orphan</th>
<th class="text-right">Avg Diff</th>
<th class="text-right">Shares est.</th>
<th class="text-right">Avg. Diff</th>
<th class="text-right">Shares Est.</th>
<th class="text-right">Shares</th>
<th class="text-right">Percentage</th>
<th class="text-right">Amount</th>
<th class="text-right">Rate est.</th>
<th class="text-right">Rate Est.</th>
</tr>
</thead>
<tbody>
<tr>
<th style="padding-left: 15px">all time</th>
<th>All Time</th>
<td class="text-right">{($FIRSTBLOCKFOUND / $COINGENTIME)|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.Total|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.TotalValid|number_format}</td>
@ -45,11 +45,11 @@
0.00%
{/if}
</td>
<td class="text-right">{$LASTBLOCKSBYTIME.TotalAmount|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.TotalAmount|number_format:"2"}</td>
<td class="text-right">{($LASTBLOCKSBYTIME.Total|default:"0.00" / ($FIRSTBLOCKFOUND / $COINGENTIME) * 100)|number_format:"2"}%</td>
</tr>
<tr>
<th style="padding-left: 15px">last hour</th>
<th>Last Hour</th>
<td class="text-right">{(3600 / $COINGENTIME)|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.1HourTotal|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.1HourValid|number_format}</td>
@ -70,11 +70,11 @@
0.00%
{/if}
</td>
<td class="text-right">{$LASTBLOCKSBYTIME.1HourAmount|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.1HourAmount|number_format:"2"}</td>
<td class="text-right">{($LASTBLOCKSBYTIME.1HourTotal|default:"0.00" / (3600 / $COINGENTIME) * 100)|number_format:"2"}%</td>
</tr>
<tr>
<th style="padding-left: 15px">last 24 hours</th>
<th style="padding-left:3px;padding-right:1px;">Last 24 Hours</th>
<td class="text-right">{(86400 / $COINGENTIME)|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.24HourTotal|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.24HourValid|number_format}</td>
@ -95,11 +95,11 @@
0.00%
{/if}
</td>
<td class="text-right">{$LASTBLOCKSBYTIME.24HourAmount|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.24HourAmount|number_format:"2"}</td>
<td class="text-right">{($LASTBLOCKSBYTIME.24HourTotal|default:"0.00" / (86400 / $COINGENTIME) * 100)|number_format:"2"}%</td>
</tr>
<tr>
<th style="padding-left: 15px">last 7 days</th>
<th>Last 7 Days</th>
<td class="text-right">{(604800 / $COINGENTIME)|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.7DaysTotal|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.7DaysValid|number_format}</td>
@ -120,11 +120,11 @@
0.00%
{/if}
</td>
<td class="text-right">{$LASTBLOCKSBYTIME.7DaysAmount}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.7DaysAmount|number_format:"2"}</td>
<td class="text-right">{($LASTBLOCKSBYTIME.7DaysTotal|default:"0.00" / (604800 / $COINGENTIME) * 100)|number_format:"2"}%</td>
</tr>
<tr>
<th style="padding-left: 15px">last 4 Weeks</th>
<th>Last 4 Weeks</th>
<td class="text-right">{(2419200 / $COINGENTIME)|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.4WeeksTotal|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.4WeeksValid|number_format}</td>
@ -145,11 +145,11 @@
0.00%
{/if}
</td>
<td class="text-right">{$LASTBLOCKSBYTIME.4WeeksAmount|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.4WeeksAmount|number_format:"2"}</td>
<td class="text-right">{($LASTBLOCKSBYTIME.4WeeksTotal|default:"0.00" / (2419200 / $COINGENTIME) * 100)|number_format:"2"}%</td>
</tr>
<tr>
<th style="padding-left: 15px">last 12 Month</th>
<th>The Past 12 Months</th>
<td class="text-right">{(29030400 / $COINGENTIME)|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.12MonthTotal|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.12MonthValid|number_format}</td>
@ -170,7 +170,7 @@
0.00%
{/if}
</td>
<td class="text-right">{$LASTBLOCKSBYTIME.12MonthAmount|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.12MonthAmount|number_format:"2"}</td>
<td class="text-right">{($LASTBLOCKSBYTIME.12MonthTotal|default:"0.00" / (29030400 / $COINGENTIME) * 100)|number_format:"2"}%</td>
</tr>
</tbody>
@ -178,8 +178,8 @@
</div>
</div>
<div class="panel-footer">
<h6>{if $GLOBAL.config.payout_system != 'pps'}Round earnings are not credited until <font color="orange">{$GLOBAL.confirmations}</font> confirms.{/if}</h6>
<h6>{if $GLOBAL.config.payout_system != 'pps'}Round earnings are not credited until <font class="confirmations">{$GLOBAL.confirmations}</font> confirms.{/if}</h6>
</div>
</div>
</div>
</div>
</div>

View File

@ -9,7 +9,7 @@
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th class="text-right">Block</th>
<th class="text-center">Block</th>
<th class="text-center">Validity</th>
<th class="text-left">Finder</th>
<th class="text-right">Time</th>
@ -32,7 +32,7 @@
{assign var="count" value=$count+1}
{if $GLOBAL.config.payout_system == 'pplns'}{assign var="pplnsshares" value=$pplnsshares+$BLOCKSFOUND[block].pplns_shares}{/if}
{if ! $GLOBAL.website.blockexplorer.disabled}
<td class="text-right"><a href="{$smarty.server.SCRIPT_NAME}?page=statistics&action=round&height={$BLOCKSFOUND[block].height}">{$BLOCKSFOUND[block].height}</a></td>
<td class="text-center"><a href="{$smarty.server.SCRIPT_NAME}?page=statistics&action=round&height={$BLOCKSFOUND[block].height}">{$BLOCKSFOUND[block].height}</a></td>
{else}
<td class="text-right">{$BLOCKSFOUND[block].height}</td>
{/if}
@ -46,7 +46,7 @@
{/if}
</td>
<td>{if $BLOCKSFOUND[block].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$BLOCKSFOUND[block].finder|default:"unknown"|escape}{/if}</td>
<td class="text-right">{$BLOCKSFOUND[block].time|date_format:"%d/%m %H:%M:%S"}</td>
<td class="text-right">{$BLOCKSFOUND[block].time|date_format:"%d/%m/%Y %H:%M:%S"}</td>
<td class="text-right">{$BLOCKSFOUND[block].difficulty|number_format:"4"}</td>
<td class="text-right">{$BLOCKSFOUND[block].amount|number_format:"2"}</td>
<td class="text-right">
@ -77,7 +77,7 @@
</div>
</div>
<div class="panel-footer">
<h6>{if $GLOBAL.config.payout_system != 'pps'}Round Earnings are not credited until <font color="orange">{$GLOBAL.confirmations}</font> confirms.{/if}</h6>
<h6>{if $GLOBAL.config.payout_system != 'pps'}Round Earnings are not credited until <font class="confirmations">{$GLOBAL.confirmations}</font> confirms.{/if}</h6>
</div>
</div>
</div>

View File

@ -32,7 +32,7 @@
</div>
{if $GLOBAL.config.payout_system != 'pps'}
<div class="panel-footer">
<h6>Note: Round Earnings are not credited until <font color="orange">{$GLOBAL.confirmations}</font> confirms.</h6>
<h6>Note: Round Earnings are not credited until <font class="confirmations">{$GLOBAL.confirmations}</font> confirms.</h6>
</div>
{/if}
</div>