[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,6 +12,7 @@ $updating = (@$_POST['do']) ? 1 : 0;
if ($user->isAuthenticated()) { if ($user->isAuthenticated()) {
if ($config['twofactor']['enabled']) { if ($config['twofactor']['enabled']) {
if ($config['twofactor']['options']['details'] OR $config['twofactor']['options']['changepw'] OR $config['twofactor']['options']['withdraw']) {
$popupmsg = 'E-mail confirmations are required for '; $popupmsg = 'E-mail confirmations are required for ';
$popuptypes = array(); $popuptypes = array();
if ($config['twofactor']['options']['details'] && $oldtoken_ea !== "") { if ($config['twofactor']['options']['details'] && $oldtoken_ea !== "") {
@ -59,6 +60,7 @@ if ($user->isAuthenticated()) {
// display global notice about tokens being in use and for which bits they're active // display global notice about tokens being in use and for which bits they're active
$_SESSION['POPUP'][] = array('CONTENT' => $popupmsg, 'TYPE' => 'alert alert-warning'); $_SESSION['POPUP'][] = array('CONTENT' => $popupmsg, 'TYPE' => 'alert alert-warning');
} }
}
if (isset($_POST['do']) && $_POST['do'] == 'genPin') { if (isset($_POST['do']) && $_POST['do'] == 'genPin') {
if (!$config['csrf']['enabled'] || $config['csrf']['enabled'] && $csrftoken->valid) { if (!$config['csrf']['enabled'] || $config['csrf']['enabled'] && $csrftoken->valid) {
@ -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 // 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' => $eaprep_sent, 'TYPE' => 'alert alert-success'):"";
(!empty($eaprep_sent) && empty($eaprep_edit)) ? $_SESSION['POPUP'][] = array('CONTENT' => $message_tokensent_invalid.$messages_tokensent_status['ea'], 'TYPE' => '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' => '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' => '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' => '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' => '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 // two-factor stuff
$smarty->assign("CHANGEPASSUNLOCKED", $cp_editable); $smarty->assign("CHANGEPASSUNLOCKED", $cp_editable);
$smarty->assign("WITHDRAWUNLOCKED", $wf_editable); $smarty->assign("WITHDRAWUNLOCKED", $wf_editable);

View File

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

View File

@ -164,7 +164,7 @@ input[type="color"],
/* Sidebar Menu Styles */ /* Sidebar Menu Styles */
.sidebar-search { .sidebar-search {
padding: 15px; padding: 15px;
} }
@ -205,6 +205,15 @@ input[type="color"],
.navbar-top-links .dropdown-alerts { .navbar-top-links .dropdown-alerts {
margin-left: auto; 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 > li > a,
@ -220,7 +229,7 @@ input[type="color"],
/* ------------------------------- */ /* ------------------------------- */
.btn-outline { .btn-outline {
color: inherit; color: inherit;
background-color: transparent; background-color: transparent;
transition: all .5s; transition: all .5s;
@ -260,7 +269,7 @@ input[type="color"],
/* Dashboard Chat */ /* Dashboard Chat */
.chat { .chat {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
@ -342,13 +351,6 @@ table.dataTable thead .sorting:after {
color: rgba(50,50,50,.5); color: rgba(50,50,50,.5);
} }
.table {
width: 100%;
margin-bottom: 20px;
table-layout: fixed;
word-wrap: break-word;
}
div.dataTables_length select { div.dataTables_length select {
font-size: 11px; font-size: 11px;
height: 25px; height: 25px;
@ -425,20 +427,13 @@ div.dataTables_paginate ul.pagination {
.borderless > tbody > tr > td { .borderless > tbody > tr > td {
border: none; border: none;
padding: 5px;
} }
.borderless > thead > tr > th { .borderless > thead > tr > th {
border: none; border: none;
} }
.footer {
clear: both;
text-align: center;
padding: 4px 0px 0px;
font-size: 11px;
width: 100%;
}
.margin-bottom-sm { .margin-bottom-sm {
margin-bottom: 5px !important; margin-bottom: 5px !important;
} }
@ -476,18 +471,6 @@ th.smallwidth {
padding-right: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%
}
}
span.overview-mhs { span.overview-mhs {
font-size: 11px; font-size: 11px;
font-weight: bold; font-weight: bold;
@ -585,3 +568,55 @@ div.fade {
} }
/* End Test */ /* 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="col-lg-12">
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading"> <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>
<div class="panel-body"> <div class="panel-body">
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th class="col-xs-1"></th>
{foreach $SUMMARY as $type=>$total} {foreach $SUMMARY as $type=>$total}
<th>{$type}</th> <th>{$type}</th>
{/foreach} {/foreach}
@ -23,6 +24,7 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td class="col-xs-1">All Time</td>
{foreach $SUMMARY as $type=>$total} {foreach $SUMMARY as $type=>$total}
<td class="right">{$total|number_format:"8"}</td> <td class="right">{$total|number_format:"8"}</td>
{/foreach} {/foreach}
@ -44,7 +46,7 @@
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th></th> <th class="col-xs-1"></th>
<th>Credit</th> <th>Credit</th>
<th>Debit AP</th> <th>Debit AP</th>
<th>Debit MP</th> <th>Debit MP</th>
@ -57,7 +59,7 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>Last Hour</th> <td class="col-xs-1">Last Hour</th>
<td>{$BYTIME.1HourCredit|number_format:"8"}</td> <td>{$BYTIME.1HourCredit|number_format:"8"}</td>
<td>{$BYTIME.1HourDebitAP|number_format:"8"}</td> <td>{$BYTIME.1HourDebitAP|number_format:"8"}</td>
<td>{$BYTIME.1HourDebitMP|number_format:"8"}</td> <td>{$BYTIME.1HourDebitMP|number_format:"8"}</td>
@ -68,7 +70,7 @@
<td>{$BYTIME.1HourTXFee|number_format:"8"}</td> <td>{$BYTIME.1HourTXFee|number_format:"8"}</td>
</tr> </tr>
<tr> <tr>
<td>Last Day</th> <td class="col-xs-1">Last Day</th>
<td>{$BYTIME.24HourCredit|number_format:"8"}</td> <td>{$BYTIME.24HourCredit|number_format:"8"}</td>
<td>{$BYTIME.24HourDebitAP|number_format:"8"}</td> <td>{$BYTIME.24HourDebitAP|number_format:"8"}</td>
<td>{$BYTIME.24HourDebitMP|number_format:"8"}</td> <td>{$BYTIME.24HourDebitMP|number_format:"8"}</td>
@ -79,7 +81,7 @@
<td>{$BYTIME.24HourTXFee|number_format:"8"}</td> <td>{$BYTIME.24HourTXFee|number_format:"8"}</td>
</tr> </tr>
<tr> <tr>
<td>Last Week</th> <td class="col-xs-1">Last Week</th>
<td>{$BYTIME.1WeekCredit|number_format:"8"}</td> <td>{$BYTIME.1WeekCredit|number_format:"8"}</td>
<td>{$BYTIME.1WeekDebitAP|number_format:"8"}</td> <td>{$BYTIME.1WeekDebitAP|number_format:"8"}</td>
<td>{$BYTIME.1WeekDebitMP|number_format:"8"}</td> <td>{$BYTIME.1WeekDebitMP|number_format:"8"}</td>
@ -90,7 +92,7 @@
<td>{$BYTIME.1WeekTXFee|number_format:"8"}</td> <td>{$BYTIME.1WeekTXFee|number_format:"8"}</td>
</tr> </tr>
<tr> <tr>
<td>Last Month</th> <td class="col-xs-1">Last Month</th>
<td>{$BYTIME.1MonthCredit|number_format:"8"}</td> <td>{$BYTIME.1MonthCredit|number_format:"8"}</td>
<td>{$BYTIME.1MonthDebitAP|number_format:"8"}</td> <td>{$BYTIME.1MonthDebitAP|number_format:"8"}</td>
<td>{$BYTIME.1MonthDebitMP|number_format:"8"}</td> <td>{$BYTIME.1MonthDebitMP|number_format:"8"}</td>
@ -101,7 +103,7 @@
<td>{$BYTIME.1MonthTXFee|number_format:"8"}</td> <td>{$BYTIME.1MonthTXFee|number_format:"8"}</td>
</tr> </tr>
<tr> <tr>
<td>Last Year</th> <td class="col-xs-1">Last Year</th>
<td>{$BYTIME.1YearCredit|number_format:"8"}</td> <td>{$BYTIME.1YearCredit|number_format:"8"}</td>
<td>{$BYTIME.1YearDebitAP|number_format:"8"}</td> <td>{$BYTIME.1YearDebitAP|number_format:"8"}</td>
<td>{$BYTIME.1YearDebitMP|number_format:"8"}</td> <td>{$BYTIME.1YearDebitMP|number_format:"8"}</td>
@ -117,7 +119,6 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,5 +1,5 @@
<div class="row"> <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="page" value="{$smarty.request.page|escape}">
<input type="hidden" name="action" value="{$smarty.request.action|escape}"> <input type="hidden" name="action" value="{$smarty.request.action|escape}">
<input type="hidden" name="ctoken" value="{$CTOKEN|escape|default:""}" /> <input type="hidden" name="ctoken" value="{$CTOKEN|escape|default:""}" />
@ -31,14 +31,14 @@
</div> </div>
</form> </form>
<div class="col-lg-8"> <div class="col-lg-9">
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading"> <div class="panel-heading">
<i class="fa fa-clock-o fa-fw"></i> Transaction History <i class="fa fa-clock-o fa-fw"></i> Transaction History
</div> </div>
<div class="panel-body no-padding"> <div class="panel-body no-padding">
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-condensed">
<thead> <thead>
<tr> <tr>
<th class="h6">ID</th> <th class="h6">ID</th>
@ -54,10 +54,10 @@
<tbody> <tbody>
{section transaction $TRANSACTIONS} {section transaction $TRANSACTIONS}
<tr> <tr>
<td class="h6">{$TRANSACTIONS[transaction].id}</td> <td>{$TRANSACTIONS[transaction].id}</td>
<td class="h6">{$TRANSACTIONS[transaction].timestamp}</td> <td>{$TRANSACTIONS[transaction].timestamp}</td>
<td class="h6">{$TRANSACTIONS[transaction].type}</td> <td>{$TRANSACTIONS[transaction].type}</td>
<td class="h6"> <td>
{if $TRANSACTIONS[transaction].type == 'Credit_PPS' OR {if $TRANSACTIONS[transaction].type == 'Credit_PPS' OR
$TRANSACTIONS[transaction].type == 'Fee_PPS' OR $TRANSACTIONS[transaction].type == 'Fee_PPS' OR
$TRANSACTIONS[transaction].type == 'Donation_PPS' OR $TRANSACTIONS[transaction].type == 'Donation_PPS' OR
@ -73,14 +73,14 @@
<span class="label label-warning">Unconfirmed</span> <span class="label label-warning">Unconfirmed</span>
{/if} {/if}
</td> </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} {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} {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} {/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>{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><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> </tr>
{/section} {/section}
</tbody> </tbody>

View File

@ -42,7 +42,7 @@
<th class="smallwidth">Worker Login</th> <th class="smallwidth">Worker Login</th>
<th class="smallwidth">Worker Password</th> <th class="smallwidth">Worker Password</th>
<th class="text-center">Active</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">Khash/s</th>
<th class="text-right">Difficulty</th> <th class="text-right">Difficulty</th>
<th class="text-center">Action</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><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> <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} {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="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}/> <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> </td>

View File

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

View File

@ -7,7 +7,7 @@
</div> </div>
<div class="panel-body no-padding"> <div class="panel-body no-padding">
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-condensed">
<thead> <thead>
<tr> <tr>
{foreach $SUMMARY as $type=>$total} {foreach $SUMMARY as $type=>$total}
@ -31,7 +31,7 @@
{/if} {/if}
<div class="row"> <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="page" value="{$smarty.request.page|escape}">
<input type="hidden" name="action" value="{$smarty.request.action|escape}"> <input type="hidden" name="action" value="{$smarty.request.action|escape}">
<input type="hidden" name="ctoken" value="{$CTOKEN|escape|default:""}" /> <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 panel-info">
<div class="panel-heading"> <div class="panel-heading">
<i class="fa fa-clock-o fa-fw"></i> Transaction History <i class="fa fa-clock-o fa-fw"></i> Transaction History
</div> </div>
<div class="panel-body no-padding"> <div class="panel-body no-padding">
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-condensed">
<thead> <thead>
<tr> <tr>
<th class="h6">ID</th> <th class="h6">ID</th>
@ -97,11 +97,11 @@
<tbody> <tbody>
{section transaction $TRANSACTIONS} {section transaction $TRANSACTIONS}
<tr> <tr>
<td class="h6">{$TRANSACTIONS[transaction].id}</td> <td>{$TRANSACTIONS[transaction].id}</td>
<td class="h6">{$TRANSACTIONS[transaction].username}</td> <td>{$TRANSACTIONS[transaction].username}</td>
<td class="h6">{$TRANSACTIONS[transaction].timestamp}</td> <td>{$TRANSACTIONS[transaction].timestamp}</td>
<td class="h6">{$TRANSACTIONS[transaction].type}</td> <td>{$TRANSACTIONS[transaction].type}</td>
<td class="h6"> <td>
{if $TRANSACTIONS[transaction].type == 'Credit_PPS' OR {if $TRANSACTIONS[transaction].type == 'Credit_PPS' OR
$TRANSACTIONS[transaction].type == 'Fee_PPS' OR $TRANSACTIONS[transaction].type == 'Fee_PPS' OR
$TRANSACTIONS[transaction].type == 'Donation_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 if $TRANSACTIONS[transaction].confirmations == -1}<span class="label label-danger">Orphaned</span>
{else}<span class="label label-warning">Unconfirmed</span>{/if} {else}<span class="label label-warning">Unconfirmed</span>{/if}
</td> </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} {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} {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} {/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>{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><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> </tr>
{/section} {/section}
</tbody> </tbody>

View File

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

View File

@ -10,21 +10,21 @@
<thead> <thead>
<tr> <tr>
<th></th> <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">Found</th>
<th class="text-right">Valid</th> <th class="text-right">Valid</th>
<th class="text-right">Orphan</th> <th class="text-right">Orphan</th>
<th class="text-right">Avg Diff</th> <th class="text-right">Avg. Diff</th>
<th class="text-right">Shares est.</th> <th class="text-right">Shares Est.</th>
<th class="text-right">Shares</th> <th class="text-right">Shares</th>
<th class="text-right">Percentage</th> <th class="text-right">Percentage</th>
<th class="text-right">Amount</th> <th class="text-right">Amount</th>
<th class="text-right">Rate est.</th> <th class="text-right">Rate Est.</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <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">{($FIRSTBLOCKFOUND / $COINGENTIME)|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.Total|number_format}</td> <td class="text-right">{$LASTBLOCKSBYTIME.Total|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.TotalValid|number_format}</td> <td class="text-right">{$LASTBLOCKSBYTIME.TotalValid|number_format}</td>
@ -45,11 +45,11 @@
0.00% 0.00%
{/if} {/if}
</td> </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> <td class="text-right">{($LASTBLOCKSBYTIME.Total|default:"0.00" / ($FIRSTBLOCKFOUND / $COINGENTIME) * 100)|number_format:"2"}%</td>
</tr> </tr>
<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">{(3600 / $COINGENTIME)|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.1HourTotal|number_format}</td> <td class="text-right">{$LASTBLOCKSBYTIME.1HourTotal|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.1HourValid|number_format}</td> <td class="text-right">{$LASTBLOCKSBYTIME.1HourValid|number_format}</td>
@ -70,11 +70,11 @@
0.00% 0.00%
{/if} {/if}
</td> </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> <td class="text-right">{($LASTBLOCKSBYTIME.1HourTotal|default:"0.00" / (3600 / $COINGENTIME) * 100)|number_format:"2"}%</td>
</tr> </tr>
<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">{(86400 / $COINGENTIME)|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.24HourTotal|number_format}</td> <td class="text-right">{$LASTBLOCKSBYTIME.24HourTotal|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.24HourValid|number_format}</td> <td class="text-right">{$LASTBLOCKSBYTIME.24HourValid|number_format}</td>
@ -95,11 +95,11 @@
0.00% 0.00%
{/if} {/if}
</td> </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> <td class="text-right">{($LASTBLOCKSBYTIME.24HourTotal|default:"0.00" / (86400 / $COINGENTIME) * 100)|number_format:"2"}%</td>
</tr> </tr>
<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">{(604800 / $COINGENTIME)|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.7DaysTotal|number_format}</td> <td class="text-right">{$LASTBLOCKSBYTIME.7DaysTotal|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.7DaysValid|number_format}</td> <td class="text-right">{$LASTBLOCKSBYTIME.7DaysValid|number_format}</td>
@ -120,11 +120,11 @@
0.00% 0.00%
{/if} {/if}
</td> </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> <td class="text-right">{($LASTBLOCKSBYTIME.7DaysTotal|default:"0.00" / (604800 / $COINGENTIME) * 100)|number_format:"2"}%</td>
</tr> </tr>
<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">{(2419200 / $COINGENTIME)|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.4WeeksTotal|number_format}</td> <td class="text-right">{$LASTBLOCKSBYTIME.4WeeksTotal|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.4WeeksValid|number_format}</td> <td class="text-right">{$LASTBLOCKSBYTIME.4WeeksValid|number_format}</td>
@ -145,11 +145,11 @@
0.00% 0.00%
{/if} {/if}
</td> </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> <td class="text-right">{($LASTBLOCKSBYTIME.4WeeksTotal|default:"0.00" / (2419200 / $COINGENTIME) * 100)|number_format:"2"}%</td>
</tr> </tr>
<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">{(29030400 / $COINGENTIME)|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.12MonthTotal|number_format}</td> <td class="text-right">{$LASTBLOCKSBYTIME.12MonthTotal|number_format}</td>
<td class="text-right">{$LASTBLOCKSBYTIME.12MonthValid|number_format}</td> <td class="text-right">{$LASTBLOCKSBYTIME.12MonthValid|number_format}</td>
@ -170,7 +170,7 @@
0.00% 0.00%
{/if} {/if}
</td> </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> <td class="text-right">{($LASTBLOCKSBYTIME.12MonthTotal|default:"0.00" / (29030400 / $COINGENTIME) * 100)|number_format:"2"}%</td>
</tr> </tr>
</tbody> </tbody>
@ -178,7 +178,7 @@
</div> </div>
</div> </div>
<div class="panel-footer"> <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> </div>

View File

@ -9,7 +9,7 @@
<table class="table table-striped table-bordered table-hover"> <table class="table table-striped table-bordered table-hover">
<thead> <thead>
<tr> <tr>
<th class="text-right">Block</th> <th class="text-center">Block</th>
<th class="text-center">Validity</th> <th class="text-center">Validity</th>
<th class="text-left">Finder</th> <th class="text-left">Finder</th>
<th class="text-right">Time</th> <th class="text-right">Time</th>
@ -32,7 +32,7 @@
{assign var="count" value=$count+1} {assign var="count" value=$count+1}
{if $GLOBAL.config.payout_system == 'pplns'}{assign var="pplnsshares" value=$pplnsshares+$BLOCKSFOUND[block].pplns_shares}{/if} {if $GLOBAL.config.payout_system == 'pplns'}{assign var="pplnsshares" value=$pplnsshares+$BLOCKSFOUND[block].pplns_shares}{/if}
{if ! $GLOBAL.website.blockexplorer.disabled} {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} {else}
<td class="text-right">{$BLOCKSFOUND[block].height}</td> <td class="text-right">{$BLOCKSFOUND[block].height}</td>
{/if} {/if}
@ -46,7 +46,7 @@
{/if} {/if}
</td> </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>{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].difficulty|number_format:"4"}</td>
<td class="text-right">{$BLOCKSFOUND[block].amount|number_format:"2"}</td> <td class="text-right">{$BLOCKSFOUND[block].amount|number_format:"2"}</td>
<td class="text-right"> <td class="text-right">
@ -77,7 +77,7 @@
</div> </div>
</div> </div>
<div class="panel-footer"> <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> </div>

View File

@ -32,7 +32,7 @@
</div> </div>
{if $GLOBAL.config.payout_system != 'pps'} {if $GLOBAL.config.payout_system != 'pps'}
<div class="panel-footer"> <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> </div>
{/if} {/if}
</div> </div>