Merge branch 'development' of https://github.com/MPOS/php-mpos into development
This commit is contained in:
commit
b9aa4aa26c
@ -46,12 +46,12 @@ if (!$dWalletBalance = $bitcoin->getrealbalance())
|
||||
|
||||
// Fetch unconfirmed amount from blocks table
|
||||
empty($config['network_confirmations']) ? $confirmations = 120 : $confirmations = $config['network_confirmations'];
|
||||
$aBlocksUnconfirmed = $block->getAllUnconfirmed($confirmations);
|
||||
$dBlocksUnconfirmedBalance = 0;
|
||||
if ($config['getbalancewithunconfirmed']) {
|
||||
$aBlocksUnconfirmed = $block->getAllUnconfirmed($confirmations);
|
||||
$dBlocksUnconfirmedBalance = 0;
|
||||
if (!empty($aBlocksUnconfirmed))foreach ($aBlocksUnconfirmed as $aData) $dBlocksUnconfirmedBalance += $aData['amount'];
|
||||
|
||||
$dWalletBalance -= $dBlocksUnconfirmedBalance;
|
||||
|
||||
$dWalletBalance -= $dBlocksUnconfirmedBalance;
|
||||
}
|
||||
// Fetch Newmint
|
||||
$aGetInfo = $bitcoin->getinfo();
|
||||
if (is_array($aGetInfo) && array_key_exists('newmint', $aGetInfo)) {
|
||||
@ -133,12 +133,12 @@ if (!$dWalletBalance = $bitcoin->getrealbalance())
|
||||
|
||||
// Fetch unconfirmed amount from blocks table
|
||||
empty($config['network_confirmations']) ? $confirmations = 120 : $confirmations = $config['network_confirmations'];
|
||||
$aBlocksUnconfirmed = $block->getAllUnconfirmed($confirmations);
|
||||
$dBlocksUnconfirmedBalance = 0;
|
||||
if ($config['getbalancewithunconfirmed']) {
|
||||
$aBlocksUnconfirmed = $block->getAllUnconfirmed($confirmations);
|
||||
$dBlocksUnconfirmedBalance = 0;
|
||||
if (!empty($aBlocksUnconfirmed))foreach ($aBlocksUnconfirmed as $aData) $dBlocksUnconfirmedBalance += $aData['amount'];
|
||||
|
||||
$dWalletBalance -= $dBlocksUnconfirmedBalance;
|
||||
|
||||
$dWalletBalance -= $dBlocksUnconfirmedBalance;
|
||||
}
|
||||
// Fetch Newmint
|
||||
$aGetInfo = $bitcoin->getinfo();
|
||||
if (is_array($aGetInfo) && array_key_exists('newmint', $aGetInfo)) {
|
||||
|
||||
@ -70,4 +70,4 @@ require_once(CLASS_DIR . '/api.class.php');
|
||||
require_once(INCLUDE_DIR . '/lib/Michelf/Markdown.php');
|
||||
require_once(INCLUDE_DIR . '/lib/scrypt.php');
|
||||
|
||||
?>
|
||||
?>
|
||||
@ -11,11 +11,11 @@ define('THEME_DIR', BASEPATH . 'templates');
|
||||
$quickstartlink = "<a href='https://github.com/MPOS/php-mpos/wiki/Quick-Start-Guide' title='MPOS Quick Start Guide'>Quick Start Guide</a>";
|
||||
|
||||
// Include our configuration (holding defines for the requires)
|
||||
if (!include_once(BASEPATH . 'include/config/global.inc.dist.php')) die('Unable to load base global config - '.$quickstartlink);
|
||||
if (!@include_once(BASEPATH . 'include/config/global.inc.php')) die('Unable to load your global config - '.$quickstartlink);
|
||||
if (!include_once(BASEPATH . 'include/config/global.inc.dist.php')) die('Unable to load base global config from ['.BASEPATH . 'include/config/global.inc.dist.php' . '] - '.$quickstartlink);
|
||||
if (!@include_once(BASEPATH . 'include/config/global.inc.php')) die('Unable to load your global config from ['.BASEPATH . 'include/config/global.inc.php' . '] - '.$quickstartlink);
|
||||
|
||||
// load our security configs
|
||||
if (!include_once(BASEPATH . 'include/config/security.inc.dist.php')) die('Unable to load base security config - '.$quickstartlink);
|
||||
if (!include_once(BASEPATH . 'include/config/security.inc.dist.php')) die('Unable to load base security config from ['.BASEPATH . 'include/config/security.inc.dist.php' . '] - '.$quickstartlink);
|
||||
if (@file_exists(BASEPATH . 'include/config/security.inc.php')) include_once(BASEPATH . 'include/config/security.inc.php');
|
||||
|
||||
// start our session, we need it for smarty caching
|
||||
@ -36,4 +36,4 @@ $master_template = 'master.tpl';
|
||||
// We include all needed files here, even though our templates could load them themself
|
||||
require_once(INCLUDE_DIR . '/autoloader.inc.php');
|
||||
|
||||
?>
|
||||
?>
|
||||
@ -64,7 +64,7 @@ class Mail extends Base {
|
||||
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
|
||||
if (strlen(@$aData['senderName']) > 0 && @strlen($aData['senderEmail']) > 0 )
|
||||
$headers .= 'Reply-To: ' . $aData['senderName'] . ' <' . $aData['senderEmail'] . ">\n";
|
||||
if (mail($aData['email'], $this->smarty->fetch(BASEPATH . 'templates/mail/subject.tpl'), $this->smarty->fetch(BASEPATH . 'templates/mail/' . $template . '.tpl'), $headers))
|
||||
if (mail($aData['email'], $this->smarty->fetch(BASEPATH . 'templates/mail/subject.tpl'), $this->smarty->fetch(BASEPATH . 'templates/mail/' . $template . '.tpl'), $headers, '-f ' . $this->setting->getValue('website_email')))
|
||||
return true;
|
||||
$this->setErrorMessage($this->sqlError('E0031'));
|
||||
return false;
|
||||
|
||||
@ -360,8 +360,6 @@ class Share Extends Base {
|
||||
* Fetch the lowest needed share ID from shares
|
||||
**/
|
||||
function getMinimumShareId($iCount, $current_upstream) {
|
||||
// We don't use baseline here to be more accurate
|
||||
$iCount = $iCount * pow(2, ($this->config['difficulty'] - 16));
|
||||
$stmt = $this->mysqli->prepare("
|
||||
SELECT MIN(b.id) AS id FROM
|
||||
(
|
||||
@ -381,8 +379,6 @@ class Share Extends Base {
|
||||
* Fetch the lowest needed share ID from archive
|
||||
**/
|
||||
function getMinArchiveShareId($iCount) {
|
||||
// We don't use baseline here to be more accurate
|
||||
$iCount = $iCount * pow(2, ($this->config['difficulty'] - 16));
|
||||
$stmt = $this->mysqli->prepare("
|
||||
SELECT MIN(b.share_id) AS share_id FROM
|
||||
(
|
||||
|
||||
@ -31,6 +31,23 @@ class Template extends Base {
|
||||
return $aThemes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all available designs
|
||||
* Read css files from css/design folder
|
||||
*
|
||||
* @return array - list of available designs
|
||||
*/
|
||||
public function getDesigns() {
|
||||
$this->debug->append("STA " . __METHOD__, 4);
|
||||
$aTmpDesigns = glob(BASEPATH . 'site_assets/' . THEME . '/css/design/*.css');
|
||||
$aDesigns = array();
|
||||
$aDesigns['default'] = 'default';
|
||||
foreach ($aTmpDesigns as $filename) {
|
||||
if (basename($filename) != '.' && basename($filename) != '..') $aDesigns[basename($filename, ".css")] = basename($filename, ".css");
|
||||
}
|
||||
return $aDesigns;
|
||||
}
|
||||
|
||||
/**
|
||||
* Cached getActiveTemplates method
|
||||
*
|
||||
|
||||
@ -923,23 +923,28 @@ public function isAuthenticated($logout=true) {
|
||||
|
||||
/**
|
||||
* Convenience function to get IP address, no params is the same as REMOTE_ADDR
|
||||
* @param trustremote bool must be FALSE to checkclient or checkforwarded
|
||||
* @param trustremote bool must be FALSE to checkcloudflare, checkclient or checkforwarded
|
||||
* @param checkcloudflare bool check HTTP_CF_CONNECTING_IP for a valid ip first
|
||||
* @param checkclient bool check HTTP_CLIENT_IP for a valid ip first
|
||||
* @param checkforwarded bool check HTTP_X_FORWARDED_FOR for a valid ip first
|
||||
* @return string IP address
|
||||
*/
|
||||
public function getCurrentIP($trustremote=false, $checkclient=false, $checkforwarded=true) {
|
||||
public function getCurrentIP($trustremote=false, $checkcloudflare=true, $checkclient=false, $checkforwarded=true) {
|
||||
$cf = (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) ? $_SERVER['HTTP_CF_CONNECTING_IP'] : false;
|
||||
$client = (isset($_SERVER['HTTP_CLIENT_IP'])) ? $_SERVER['HTTP_CLIENT_IP'] : false;
|
||||
$fwd = (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : false;
|
||||
$remote = (isset($_SERVER['REMOTE_ADDR'])) ? $_SERVER['REMOTE_ADDR'] : @$_SERVER['REMOTE_ADDR'];
|
||||
// shared internet
|
||||
if (filter_var($client, FILTER_VALIDATE_IP) && !$trustremote && $checkclient) {
|
||||
if (!$trustremote && $checkcloudflare && filter_var($cf, FILTER_VALIDATE_IP)) {
|
||||
// cloudflare
|
||||
return $cf;
|
||||
} else if (!$trustremote && $checkclient && filter_var($client, FILTER_VALIDATE_IP)) {
|
||||
return $client;
|
||||
} else if (strpos($fwd, ',') !== false && !$trustremote && $checkforwarded) {
|
||||
} else if (!$trustremote && $checkforwarded && strpos($fwd, ',') !== false) {
|
||||
// multiple proxies
|
||||
$ips = explode(',', $fwd);
|
||||
return $ips[0];
|
||||
} else if (filter_var($fwd, FILTER_VALIDATE_IP) && !$trustremote && $checkforwarded) {
|
||||
} else if (!$trustremote && $checkforwarded && filter_var($fwd, FILTER_VALIDATE_IP)) {
|
||||
// single
|
||||
return $fwd;
|
||||
} else {
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;
|
||||
|
||||
$aThemes = $template->getThemes();
|
||||
$aDesigns = $template->getDesigns();
|
||||
|
||||
// Load the settings available in this system
|
||||
$aSettings['website'][] = array(
|
||||
@ -49,10 +50,17 @@ $aSettings['website'][] = array(
|
||||
$aSettings['website'][] = array(
|
||||
'display' => 'Website theme', 'type' => 'select',
|
||||
'options' => $aThemes,
|
||||
'default' => 'mpos',
|
||||
'default' => 'bootstrap',
|
||||
'name' => 'website_theme', 'value' => $setting->getValue('website_theme'),
|
||||
'tooltip' => 'The default theme used on your pool.'
|
||||
);
|
||||
$aSettings['website'][] = array(
|
||||
'display' => 'Website Design', 'type' => 'select',
|
||||
'options' => $aDesigns,
|
||||
'default' => 'default',
|
||||
'name' => 'website_design', 'value' => $setting->getValue('website_design'),
|
||||
'tooltip' => 'The default design used on your pool.'
|
||||
);
|
||||
$aSettings['website'][] = array(
|
||||
'display' => 'Website News Style', 'type' => 'select',
|
||||
'options' => array( 0 => 'Show all news in one Page', 1 => 'Show Responsive News Table' ),
|
||||
@ -439,3 +447,18 @@ $aSettings['notifications'][] = array(
|
||||
'name' => 'notifications_disable_idle_worker', 'value' => $setting->getValue('notifications_disable_idle_worker'),
|
||||
'tooltip' => 'Enable/Disable IDLE worker notifications globally. Will remove the user option too.'
|
||||
);
|
||||
$aSettings['pools'][] = array(
|
||||
'display' => 'Enable Pool Navigation', 'type' => 'select',
|
||||
'options' => array( 0 => 'No', 1 => 'Yes' ),
|
||||
'default' => 0,
|
||||
'name' => 'poolnav_enabled', 'value' => $setting->getValue('poolnav_enabled'),
|
||||
'tooltip' => 'Enable or Disable Pool Navigation for multiple Pools in Header.'
|
||||
);
|
||||
$aSettings['pools'][] = array(
|
||||
'display' => 'Pools for Pool Navigation', 'type' => 'textarea',
|
||||
'size' => 20,
|
||||
'height' => 12,
|
||||
'default' => 'Pool Name|Pool URL',
|
||||
'name' => 'poolnav_pools', 'value' => $setting->getValue('poolnav_pools'),
|
||||
'tooltip' => '.'
|
||||
);
|
||||
|
||||
@ -35,7 +35,7 @@ $aErrorCodes['E0030'] = 'Unable to fetch a valid token for this invitation';
|
||||
$aErrorCodes['E0031'] = 'Failed to send e-mail via mail() function';
|
||||
$aErrorCodes['E0032'] = 'Failed to run API call: %s';
|
||||
$aErrorCodes['E0033'] = 'Failed to store uptime status: %s';
|
||||
$aErrorCodes['E0034'] = 'Subjcet may only contain alphanumeric characters';
|
||||
$aErrorCodes['E0034'] = 'Subject may only contain alphanumeric characters';
|
||||
$aErrorCodes['E0035'] = 'Failed to add news record';
|
||||
$aErrorCodes['E0036'] = 'Failed to delete news record';
|
||||
$aErrorCodes['E0037'] = 'Failed to update news record';
|
||||
|
||||
@ -29,6 +29,13 @@ $config['SALTY'] = 'THISSHOULDALSOBERRAANNDDOOM';
|
||||
**/
|
||||
$config['algorithm'] = 'scrypt';
|
||||
|
||||
/**
|
||||
* Getbalance API Calls
|
||||
* System used for getting actual Balance from Wallet
|
||||
* https://github.com/MPOS/php-mpos/wiki/Config-Setup#getbalance-api-calls
|
||||
**/
|
||||
$config['getbalancewithunconfirmed'] = true;
|
||||
|
||||
/**
|
||||
* Database configuration
|
||||
* MySQL database configuration
|
||||
@ -85,13 +92,6 @@ $config['ap_threshold']['max'] = 250;
|
||||
**/
|
||||
$config['mp_threshold'] = 1;
|
||||
|
||||
/**
|
||||
* Minimum manual Payout Threshold
|
||||
* Minimum manual payout amount
|
||||
* https://github.com/MPOS/php-mpos/wiki/Config-Setup#wiki-manual-payout-threshold
|
||||
**/
|
||||
$config['mp_threshold'] = 1;
|
||||
|
||||
/**
|
||||
* Donation thresholds
|
||||
* Minimum donation amount in percent
|
||||
|
||||
@ -2,16 +2,16 @@
|
||||
|
||||
// Small helper array that may be used on some page controllers to
|
||||
// fetch the crons we wish to monitor
|
||||
$aMonitorCrons = array('statistics','payouts','tables_cleanup','blockupdate','findblock','notifications','tickerupdate');
|
||||
|
||||
switch ($config['payout_system']) {
|
||||
case 'pplns':
|
||||
$aMonitorCrons[] = $config['payout_system'] . '_payout';
|
||||
break;
|
||||
case 'pps':
|
||||
$aMonitorCrons[] = $config['payout_system'] . '_payout';
|
||||
break;
|
||||
case 'prop':
|
||||
$aMonitorCrons[] = 'proportional_payout';
|
||||
break;
|
||||
case 'pplns':
|
||||
$sPayoutSystem = $config['payout_system'] . '_payout';
|
||||
break;
|
||||
case 'pps':
|
||||
$sPayoutSystem = $config['payout_system'] . '_payout';
|
||||
break;
|
||||
case 'prop':
|
||||
$sPayoutSystem = 'proportional_payout';
|
||||
break;
|
||||
}
|
||||
|
||||
$aMonitorCrons = array('statistics','tickerupdate','notifications','tables_cleanup','findblock',$sPayoutSystem,'blockupdate','payouts');
|
||||
|
||||
@ -33,7 +33,7 @@ if ($iCurrentPoolHashrate > $dNetworkHashrate) $dNetworkHashrate = $iCurrentPool
|
||||
|
||||
// Time in seconds, not hours, using modifier in smarty to translate
|
||||
$iCurrentPoolHashrate > 0 ? $iEstTime = $dDifficulty * pow(2,32) / ($iCurrentPoolHashrate * 1000) : $iEstTime = 0;
|
||||
$iEstShares = (pow(2, 32 - $config['difficulty']) * $dDifficulty);
|
||||
$iEstShares = $statistics->getEstimatedShares($dDifficulty);
|
||||
|
||||
// Time since last
|
||||
$now = new DateTime( "now" );
|
||||
|
||||
@ -65,6 +65,9 @@ $aGlobal = array(
|
||||
'twofactor' => $config['twofactor'],
|
||||
'csrf' => $config['csrf'],
|
||||
'config' => array(
|
||||
'website_design' => $setting->getValue('website_design'),
|
||||
'poolnav_enabled' => $setting->getValue('poolnav_enabled'),
|
||||
'poolnav_pools' => $setting->getValue('poolnav_pools'),
|
||||
'recaptcha_enabled' => $setting->getValue('recaptcha_enabled'),
|
||||
'recaptcha_enabled_logins' => $setting->getValue('recaptcha_enabled_logins'),
|
||||
'disable_navbar' => $setting->getValue('disable_navbar'),
|
||||
@ -75,6 +78,7 @@ $aGlobal = array(
|
||||
'disable_contactform' => $setting->getValue('disable_contactform'),
|
||||
'disable_contactform_guest' => $setting->getValue('disable_contactform_guest'),
|
||||
'algorithm' => $config['algorithm'],
|
||||
'getbalancewithunconfirmed' => $config['getbalancewithunconfirmed'],
|
||||
'target_bits' => $coin->getTargetBits(),
|
||||
'accounts' => $config['accounts'],
|
||||
'disable_invitations' => $setting->getValue('disable_invitations'),
|
||||
@ -85,6 +89,7 @@ $aGlobal = array(
|
||||
'price' => $config['price'],
|
||||
'targetdiff' => $config['difficulty'],
|
||||
'currency' => $config['currency'],
|
||||
'exchangeurl' => $config['price']['url'],
|
||||
'txfee_manual' => $config['txfee_manual'],
|
||||
'txfee_auto' => $config['txfee_auto'],
|
||||
'payout_system' => $config['payout_system'],
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
136
public/site_assets/bootstrap/css/design/dark.css
Normal file
136
public/site_assets/bootstrap/css/design/dark.css
Normal file
@ -0,0 +1,136 @@
|
||||
/* overwrite style infos */
|
||||
|
||||
/* ------------------------------- */
|
||||
|
||||
body {
|
||||
background-color: #222222;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#page-wrapper {
|
||||
background-color: #999999;
|
||||
}
|
||||
|
||||
select,
|
||||
textarea,
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="datetime"],
|
||||
input[type="datetime-local"],
|
||||
input[type="date"],
|
||||
input[type="month"],
|
||||
input[type="time"],
|
||||
input[type="week"],
|
||||
input[type="number"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="search"],
|
||||
input[type="tel"],
|
||||
input[type="color"],
|
||||
.uneditable-input {
|
||||
background-color: #ffffff;
|
||||
padding: 4px 4px 4px 4px;
|
||||
font-size: 12px;
|
||||
color: #555555;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
#page-wrapper {
|
||||
border-left: 1px solid #222222;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-static-side ul li {
|
||||
border-bottom: 1px solid #222222;
|
||||
}
|
||||
|
||||
.navbar, .navbar-static-side, .navbar-default {
|
||||
background-color: #222222;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #999999;
|
||||
}
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
color: #333;
|
||||
background-color: #FFFFFF;
|
||||
border-color: #222222;
|
||||
}
|
||||
|
||||
.lightblue {
|
||||
background-color: #222222;
|
||||
}
|
||||
|
||||
.footer {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.navbar .brand, .navbar .nav > li > a:hover {
|
||||
color: #FFFFFF;
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
.navbar-default .navbar-nav > .active > a,
|
||||
.navbar-default .navbar-nav > .active > a:hover,
|
||||
.navbar-default .navbar-nav > .active > a:focus {
|
||||
background-color: #FF0000;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.table tbody tr:hover a,
|
||||
.table tbody tr:hover td,
|
||||
.table tbody tr:hover th {
|
||||
background-color: #999999;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.nav > li > a:hover,
|
||||
.nav > li > a:focus {
|
||||
background-color: #000000;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.nav .nav-second-level > li > a:hover,
|
||||
.nav .nav-second-level > li > a:focus {
|
||||
background-color: #000000;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
|
||||
.panel-footer {
|
||||
color: #000;
|
||||
background-color: #BDBFBF;
|
||||
border-top: 1px solid #808080;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
color: #000;
|
||||
background-color: #D3D3D3;
|
||||
}
|
||||
|
||||
.panel-info > .panel-heading {
|
||||
background-color: #808080;
|
||||
border-color: #808080;
|
||||
color: #D3D3D3;
|
||||
}
|
||||
|
||||
.panel-info {
|
||||
border-color: #808080;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
background-color: #D3D3D3;
|
||||
}
|
||||
@ -2,8 +2,15 @@
|
||||
|
||||
/* ------------------------------- */
|
||||
|
||||
body {
|
||||
body {
|
||||
background-color: #f8f8f8;
|
||||
min-width: 350px;
|
||||
font-size: 12px;
|
||||
/* Design constraint */
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* Wrappers */
|
||||
@ -18,6 +25,7 @@
|
||||
padding: 0 15px;
|
||||
min-height: 568px;
|
||||
background-color: #fff;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
@ -25,8 +33,9 @@
|
||||
position: inherit;
|
||||
margin: 0 0 0 250px;
|
||||
padding: 0 30px;
|
||||
min-height: 1300px;
|
||||
min-height: 900px;
|
||||
border-left: 1px solid #e7e7e7;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -40,7 +49,7 @@
|
||||
|
||||
/* Top Right Navigation Dropdown Styles */
|
||||
|
||||
.navbar-top-links li {
|
||||
.navbar-top-links li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@ -53,8 +62,8 @@
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
.dropdown-user { min-width:100px;
|
||||
|
||||
.dropdown-user {
|
||||
min-width:100px;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-menu li {
|
||||
@ -90,7 +99,7 @@
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-alerts {
|
||||
margin-left: -123px;
|
||||
/*#margin-left: -123px; */
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-user {
|
||||
@ -224,13 +233,13 @@
|
||||
|
||||
/* Login Page */
|
||||
|
||||
.login-panel {
|
||||
.login-panel {
|
||||
margin-top: 25%;
|
||||
}
|
||||
|
||||
/* Flot Chart Containers */
|
||||
|
||||
.flot-chart {
|
||||
.flot-chart {
|
||||
display: block;
|
||||
height: 400px;
|
||||
}
|
||||
@ -242,7 +251,7 @@
|
||||
|
||||
/* DataTables Overrides */
|
||||
|
||||
table.dataTable thead .sorting,
|
||||
table.dataTable thead .sorting,
|
||||
table.dataTable thead .sorting_asc:after,
|
||||
table.dataTable thead .sorting_desc,
|
||||
table.dataTable thead .sorting_asc_disabled,
|
||||
@ -451,19 +460,38 @@ span.spark-25 {
|
||||
line-height: 80px;
|
||||
}
|
||||
|
||||
.blue {
|
||||
background-color: #428BCA;
|
||||
.lightblue {
|
||||
background-color: #2FAACE;
|
||||
}
|
||||
|
||||
.text-faded {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
.text-link {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
p.up {
|
||||
margin: -10px 0px 0px 0px;
|
||||
margin: -5px 0px -8px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
div.up {
|
||||
margin: -10px 0px 6px 0px;
|
||||
}
|
||||
|
||||
p.up-more {
|
||||
margin: -6px 0px 10px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
p.up-more2 {
|
||||
margin: -6px 0px 0px;
|
||||
}
|
||||
|
||||
div.fade {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* End Test */
|
||||
|
||||
@ -1,412 +0,0 @@
|
||||
/* Global Styles */
|
||||
|
||||
/* ------------------------------- */
|
||||
|
||||
body {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
/* Wrappers */
|
||||
|
||||
/* ------------------------------- */
|
||||
|
||||
#wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-wrapper {
|
||||
padding: 0 15px;
|
||||
min-height: 568px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
#page-wrapper {
|
||||
position: inherit;
|
||||
margin: 0 0 0 250px;
|
||||
padding: 0 30px;
|
||||
min-height: 1300px;
|
||||
border-left: 1px solid #e7e7e7;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-static-side ul li {
|
||||
border-bottom: 1px solid #e7e7e7;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
||||
/* ------------------------------- */
|
||||
|
||||
/* Top Right Navigation Dropdown Styles */
|
||||
|
||||
.navbar-top-links li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navbar-top-links li:last-child {
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.navbar-top-links li a {
|
||||
padding: 15px;
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-menu li {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-menu li:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-menu li a {
|
||||
padding: 3px 20px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-menu li a div {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-messages,
|
||||
.navbar-top-links .dropdown-tasks,
|
||||
.navbar-top-links .dropdown-alerts {
|
||||
width: 310px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-messages {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-tasks {
|
||||
margin-left: -59px;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-alerts {
|
||||
margin-left: -123px;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-user {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
/* Sidebar Menu Styles */
|
||||
|
||||
.sidebar-search {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.arrow {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.fa.arrow:before {
|
||||
content: "\f104";
|
||||
}
|
||||
|
||||
.active > a > .fa.arrow:before {
|
||||
content: "\f107";
|
||||
}
|
||||
|
||||
.nav-second-level li,
|
||||
.nav-third-level li {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
.nav-second-level li a {
|
||||
padding-left: 37px;
|
||||
}
|
||||
|
||||
.nav-third-level li a {
|
||||
padding-left: 52px;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
.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;
|
||||
}
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
/* ------------------------------- */
|
||||
|
||||
.btn-outline {
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
transition: all .5s;
|
||||
}
|
||||
|
||||
.btn-primary.btn-outline {
|
||||
color: #428bca;
|
||||
}
|
||||
|
||||
.btn-success.btn-outline {
|
||||
color: #5cb85c;
|
||||
}
|
||||
|
||||
.btn-info.btn-outline {
|
||||
color: #5bc0de;
|
||||
}
|
||||
|
||||
.btn-warning.btn-outline {
|
||||
color: #f0ad4e;
|
||||
}
|
||||
|
||||
.btn-danger.btn-outline {
|
||||
color: #d9534f;
|
||||
}
|
||||
|
||||
.btn-primary.btn-outline:hover,
|
||||
.btn-success.btn-outline:hover,
|
||||
.btn-info.btn-outline:hover,
|
||||
.btn-warning.btn-outline:hover,
|
||||
.btn-danger.btn-outline:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Pages */
|
||||
|
||||
/* ------------------------------- */
|
||||
|
||||
/* Dashboard Chat */
|
||||
|
||||
.chat {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.chat li {
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 5px;
|
||||
border-bottom: 1px dotted #B3A9A9;
|
||||
}
|
||||
|
||||
.chat li.left .chat-body {
|
||||
margin-left: 60px;
|
||||
}
|
||||
|
||||
.chat li.right .chat-body {
|
||||
margin-right: 60px;
|
||||
}
|
||||
|
||||
.chat li .chat-body p {
|
||||
margin: 0;
|
||||
color: #777777;
|
||||
}
|
||||
|
||||
.panel .slidedown .glyphicon,
|
||||
.chat .glyphicon {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.chat-panel .panel-body {
|
||||
height: 350px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
/* Login Page */
|
||||
|
||||
.login-panel {
|
||||
margin-top: 25%;
|
||||
}
|
||||
|
||||
/* Flot Chart Containers */
|
||||
|
||||
.flot-chart {
|
||||
display: block;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.flot-chart-content {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* DataTables Overrides */
|
||||
|
||||
table.dataTable thead .sorting,
|
||||
table.dataTable thead .sorting_asc:after,
|
||||
table.dataTable thead .sorting_desc,
|
||||
table.dataTable thead .sorting_asc_disabled,
|
||||
table.dataTable thead .sorting_desc_disabled {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
table.dataTable thead .sorting_asc:after {
|
||||
content: "\f0de";
|
||||
float: right;
|
||||
font-family: fontawesome;
|
||||
}
|
||||
|
||||
table.dataTable thead .sorting_desc:after {
|
||||
content: "\f0dd";
|
||||
float: right;
|
||||
font-family: fontawesome;
|
||||
}
|
||||
|
||||
table.dataTable thead .sorting:after {
|
||||
content: "\f0dc";
|
||||
float: right;
|
||||
font-family: fontawesome;
|
||||
color: rgba(50,50,50,.5);
|
||||
}
|
||||
|
||||
/* Circle Buttons */
|
||||
|
||||
.btn-circle {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 6px 0;
|
||||
border-radius: 15px;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
line-height: 1.428571429;
|
||||
}
|
||||
|
||||
.btn-circle.btn-lg {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
padding: 10px 16px;
|
||||
border-radius: 25px;
|
||||
font-size: 18px;
|
||||
line-height: 1.33;
|
||||
}
|
||||
|
||||
.btn-circle.btn-xl {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
padding: 10px 16px;
|
||||
border-radius: 35px;
|
||||
font-size: 24px;
|
||||
line-height: 1.33;
|
||||
}
|
||||
|
||||
.show-grid [class^="col-"] {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
border: 1px solid #ddd;
|
||||
background-color: #eee !important;
|
||||
}
|
||||
|
||||
.show-grid {
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
/* No Padding for Tables */
|
||||
|
||||
.no-padding {
|
||||
padding:0
|
||||
}
|
||||
|
||||
.no-padding table {
|
||||
margin: 0
|
||||
}
|
||||
|
||||
.no-padding .table-bordered {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.borderless > tbody > tr > td {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
p.overview {
|
||||
font-family: 'Open Sans',sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
display: block;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
span.overview {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.overview {
|
||||
margin: 20px 0px 0px;
|
||||
}
|
||||
|
||||
span.bigfont {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
th.smallwidth {
|
||||
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%
|
||||
}
|
||||
}
|
||||
|
||||
span.overview-mhs {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.black {
|
||||
color: black;
|
||||
}
|
||||
|
||||
div.progress-fix {
|
||||
margin: 0px 0px 5px 0px;
|
||||
}
|
||||
|
||||
span.spark-18 {
|
||||
margin: -20%;
|
||||
}
|
||||
|
||||
span.spark-25 {
|
||||
margin: -25%;
|
||||
}
|
||||
|
||||
.table-striped>tbody>tr:nth-child(odd)>td,
|
||||
.table-striped>tbody>tr:nth-child(odd)>th {
|
||||
background-color: #99EB99;
|
||||
}
|
||||
@ -41,23 +41,23 @@
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Date</th>
|
||||
<th>TX Type</th>
|
||||
<th>Status</th>
|
||||
<th>Payment Address</th>
|
||||
<th>TX #</th>
|
||||
<th>Block #</th>
|
||||
<th>Amount</th>
|
||||
<th class="h6">ID</th>
|
||||
<th class="h6">Date</th>
|
||||
<th class="h6">TX Type</th>
|
||||
<th class="h6">Status</th>
|
||||
<th class="h6">Payment Address</th>
|
||||
<th class="h6">TX #</th>
|
||||
<th class="h6">Block #</th>
|
||||
<th class="h6">Amount</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{section transaction $TRANSACTIONS}
|
||||
<tr>
|
||||
<td>{$TRANSACTIONS[transaction].id}</td>
|
||||
<td>{$TRANSACTIONS[transaction].timestamp}</td>
|
||||
<td>{$TRANSACTIONS[transaction].type}</td>
|
||||
<td>
|
||||
<td class="h6">{$TRANSACTIONS[transaction].id}</td>
|
||||
<td class="h6">{$TRANSACTIONS[transaction].timestamp}</td>
|
||||
<td class="h6">{$TRANSACTIONS[transaction].type}</td>
|
||||
<td class="h6">
|
||||
{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><a href="#" onClick="alert('{$TRANSACTIONS[transaction].coin_address|escape}')">{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</a></td>
|
||||
<td class="h6"><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><a href="{$GLOBAL.website.transactionexplorer.url}{$TRANSACTIONS[transaction].txid|escape}" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
|
||||
<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>
|
||||
{else}
|
||||
<td><a href="#" onClick="alert('{$TRANSACTIONS[transaction].txid|escape}')" title="{$TRANSACTIONS[transaction].txid|escape}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
|
||||
<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>
|
||||
{/if}
|
||||
<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>
|
||||
<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>
|
||||
</tr>
|
||||
{/section}
|
||||
</tbody>
|
||||
|
||||
@ -14,18 +14,18 @@
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<input type="hidden" name="page" value="{$smarty.request.page|escape}">
|
||||
<input type="hidden" name="action" value="{$smarty.request.action|escape}">
|
||||
<input type="hidden" name="do" value="add">
|
||||
<input type="hidden" name="ctoken" value="{$CTOKEN|escape|default:""}" />
|
||||
<div class="form-group">
|
||||
<label>Header</label>
|
||||
<input class="form-control" size="30" type="text" name="data[header]" required />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Content</label>
|
||||
<textarea class="form-control cleditor" name="data[content]" rows="5" required></textarea>
|
||||
</div>
|
||||
<input type="hidden" name="page" value="{$smarty.request.page|escape}">
|
||||
<input type="hidden" name="action" value="{$smarty.request.action|escape}">
|
||||
<input type="hidden" name="do" value="add">
|
||||
<input type="hidden" name="ctoken" value="{$CTOKEN|escape|default:""}" />
|
||||
<div class="form-group">
|
||||
<label>Header</label>
|
||||
<input class="form-control" size="30" type="text" name="data[header]" required />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Content</label>
|
||||
<textarea class="form-control cleditor" name="data[content]" rows="5" required></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -35,24 +35,26 @@
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
{nocache}
|
||||
{section name=news loop=$NEWS}
|
||||
<div class="col-lg-12">
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<i class="fa fa-info fa-fw"></i> {$NEWS[news].header}</a>
|
||||
<br />
|
||||
<font size="1px">posted {$NEWS[news].time|date_format:"%b %e, %Y at %H:%M"}{if $HIDEAUTHOR|default:"0" == 0} by <b>{$NEWS[news].author}</b>{/if}</font>
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<i class="fa fa-info fa-fw"></i> {$NEWS[news].header}</a>
|
||||
<br />
|
||||
<font size="1px">posted {$NEWS[news].time|date_format:"%b %e, %Y at %H:%M"}{if $HIDEAUTHOR|default:"0" == 0} by <b>{$NEWS[news].author}</b>{/if}</font>
|
||||
</div>
|
||||
|
||||
<div class="panel-body">
|
||||
{$NEWS[news].content nofilter}
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<div style="text-align:right">
|
||||
<a href='{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action=news_edit&id={$NEWS[news].id}'><i class="fa fa-wrench fa-fw"></i></a>
|
||||
<a href='{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&do=delete&id={$NEWS[news].id}'><i class="fw fa-trash-o fa-fw"></i></a>
|
||||
<div class="panel-body">
|
||||
{$NEWS[news].content nofilter}
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<div style="text-align:right">
|
||||
<a href='{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action=news_edit&id={$NEWS[news].id}'><i class="fa fa-wrench fa-fw"></i></a>
|
||||
<a href='{$smarty.server.SCRIPT_NAME}?page={$smarty.request.page|escape}&action={$smarty.request.action|escape}&do=delete&id={$NEWS[news].id}'><i class="fw fa-trash-o fa-fw"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -115,7 +115,7 @@
|
||||
</td>
|
||||
<td class="h6"><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}">{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</a></td>
|
||||
<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>
|
||||
{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>
|
||||
{/if}
|
||||
|
||||
@ -21,7 +21,11 @@
|
||||
{if $NEWMINT >= 0}
|
||||
<tr>
|
||||
<td>Liquid Assets</td>
|
||||
{if $GLOBAL.config.getbalancewithunconfirmed}
|
||||
<td>{($BALANCE - $LOCKED - $UNCONFIRMED + $NEWMINT|default:"0")|number_format:"8"}</td>
|
||||
{else}
|
||||
<td>{($BALANCE - $LOCKED + $NEWMINT|default:"0")|number_format:"8"}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
<td>PoS New Mint</td>
|
||||
@ -30,7 +34,11 @@
|
||||
{else}
|
||||
<tr>
|
||||
<td>Liquid Assets</td>
|
||||
{if $GLOBAL.config.getbalancewithunconfirmed}
|
||||
<td>{($BALANCE - $LOCKED - $UNCONFIRMED)|number_format:"8"}</td>
|
||||
{else}
|
||||
<td>{($BALANCE - $LOCKED)|number_format:"8"}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<div class="col-lg-12">
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title"><i class="fa fa-align-left fa-fw"></i> Overview</span></h4>
|
||||
<h4 class="panel-title"><i class="fa fa-align-left fa-fw"></i> Overview</h4>
|
||||
</div>
|
||||
<div class="panel-body text-center">
|
||||
<div class="row">
|
||||
@ -17,7 +17,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer overview">
|
||||
<div class="panel-footer">
|
||||
<h6>Refresh interval: {$GLOBAL.config.statistics_ajax_refresh_interval|default:"10"} seconds. Hashrate based on shares submitted in the past {$INTERVAL|default:"5"} minutes.</h6>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-male fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5">My Hashrate</p>
|
||||
<p class="h5 up-more">My Hashrate</p>
|
||||
<div class="circle-tile-number text-faded up">
|
||||
<span class="overview" id="b-hashrate">{$GLOBAL.userdata.hashrate|number_format:"2"}</span>
|
||||
<span class="overview-mhs"> {$GLOBAL.hashunits.personal}</span>
|
||||
@ -17,13 +17,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-users fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5">Pool Hashrate</p>
|
||||
<p class="h5 up-more">Pool Hashrate</p>
|
||||
<div class="circle-tile-number text-faded up">
|
||||
<span class="overview" id="b-poolhashrate">{$GLOBAL.hashrate|number_format:"2"}</span>
|
||||
<span class="overview-mhs"> {$GLOBAL.hashunits.pool}</span>
|
||||
@ -35,13 +35,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-share-square fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5">My Sharerate</p>
|
||||
<p class="h5 up-more">My Sharerate</p>
|
||||
<div class="circle-tile-number text-faded up">
|
||||
<span class="overview" id="b-sharerate">{$GLOBAL.userdata.sharerate|number_format:"2"}</span>
|
||||
<span class="overview-mhs"> S/s</span>
|
||||
@ -53,13 +53,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-truck fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5">Pool Workers</p>
|
||||
<p class="h5 up-more">Pool Workers</p>
|
||||
<div class="circle-tile-number text-faded up">
|
||||
<span class="overview" id="b-poolworkers">{$GLOBAL.workers}</span>
|
||||
<br>
|
||||
@ -70,13 +70,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-h-square fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5">Net Hashrate</p>
|
||||
<p class="h5 up-more">Net Hashrate</p>
|
||||
<div class="circle-tile-number text-faded up">
|
||||
<span class="overview" id="b-nethashrate">{$GLOBAL.nethashrate|number_format:"2"}</span>
|
||||
<span class="overview-mhs"> {$GLOBAL.hashunits.network}</span>
|
||||
@ -88,13 +88,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<i class="fa fa-usd fa-fw fa-2x"></i>
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<a class="text-link" href="{$GLOBAL.config.exchangeurl}" target="_blank"><i class="fa fa-usd fa-fw fa-2x"></i></a>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5">{$GLOBAL.config.currency}/{$GLOBAL.config.price.currency}</p>
|
||||
<p class="h5 up-more">{$GLOBAL.config.currency}/{$GLOBAL.config.price.currency}</p>
|
||||
<div class="circle-tile-number text-faded up">
|
||||
<span class="h6 overview" id="b-price">{$GLOBAL.price|default:"0"|number_format:"8"}</span>
|
||||
<br>
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<div class="col-md-spark-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-male fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5">My Hashrate</p>
|
||||
<p class="h5 up-more">My Hashrate</p>
|
||||
<div class="circle-tile-number text-faded up">
|
||||
<span class="overview" id="b-hashrate">{$GLOBAL.userdata.hashrate|number_format:"2"}</span>
|
||||
<span class="overview-mhs"> {$GLOBAL.hashunits.personal}</span>
|
||||
@ -17,13 +17,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-spark-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-users fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5">Pool Hashrate</p>
|
||||
<p class="h5 up-more">Pool Hashrate</p>
|
||||
<div class="circle-tile-number text-faded up">
|
||||
<span class="overview" id="b-poolhashrate">{$GLOBAL.hashrate|number_format:"2"}</span>
|
||||
<span class="overview-mhs"> {$GLOBAL.hashunits.pool}</span>
|
||||
@ -35,13 +35,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-spark-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-share-square fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5">My Sharerate</p>
|
||||
<p class="h5 up-more">My Sharerate</p>
|
||||
<div class="circle-tile-number text-faded up">
|
||||
<span class="overview" id="b-sharerate">{$GLOBAL.userdata.sharerate|number_format:"2"}</span>
|
||||
<span class="overview-mhs"> S/s</span>
|
||||
@ -53,13 +53,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-spark-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-truck fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5">Pool Workers</p>
|
||||
<p class="h5 up-more">Pool Workers</p>
|
||||
<div class="circle-tile-number text-faded up">
|
||||
<span class="overview" id="b-poolworkers">{$GLOBAL.workers}</span>
|
||||
<br>
|
||||
@ -70,13 +70,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-spark-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-h-square fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5">Net Hashrate</p>
|
||||
<p class="h5 up-more">Net Hashrate</p>
|
||||
<div class="circle-tile-number text-faded up">
|
||||
<span class="overview" id="b-nethashrate">{$GLOBAL.nethashrate|number_format:"2"}</span>
|
||||
<span class="overview-mhs"> {$GLOBAL.hashunits.network}</span>
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
<div class="panel-footer">
|
||||
<div class="row">
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-th-large fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5" id="b-nblock">{$NETWORK.block}</p>
|
||||
<p class="h5 up-more" id="b-nblock">{$NETWORK.block}</p>
|
||||
</div>
|
||||
<div class="circle-tile-number text-faded">
|
||||
<p class="h6">Current Block</p>
|
||||
@ -16,13 +16,13 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-bar-chart-o fa-flip-horizontal fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5" id="b-roundprogress">{$ESTIMATES.percent|number_format:"2"}%</p>
|
||||
<p class="h5 up-more" id="b-roundprogress">{$ESTIMATES.percent|number_format:"2"}%</p>
|
||||
</div>
|
||||
<div class="circle-tile-number text-faded">
|
||||
<p class="h6">Of Expected Shares</p>
|
||||
@ -31,28 +31,28 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-money fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5" id="b-payout">{$GLOBAL.userdata.estimates.payout|number_format:"8"}</p>
|
||||
<p class="h5 up-more" id="b-payout">{$GLOBAL.userdata.estimates.payout|number_format:"8"}</p>
|
||||
</div>
|
||||
<div class="circle-tile-number text-faded">
|
||||
<p class="h6">{$GLOBAL.config.currency} Estimated Earnings</p>
|
||||
<p class="h6">{$GLOBAL.config.currency} Est Earnings</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-map-marker fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5" id="b-diff">{$NETWORK.difficulty|number_format:"8"}</p>
|
||||
<p class="h5 up-more" id="b-diff">{$NETWORK.difficulty|number_format:"8"}</p>
|
||||
</div>
|
||||
<div class="circle-tile-number text-faded">
|
||||
<p class="h6">Difficulty</p>
|
||||
@ -61,29 +61,29 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-sitemap fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5 up" id="b-nextdiff">{$NETWORK.EstNextDifficulty|number_format:"8"}</p>
|
||||
<p class="h6" id="b-nextdiffc">Change in {$NETWORK.BlocksUntilDiffChange} Blocks</p>
|
||||
</div>
|
||||
<div class="circle-tile-number text-faded">
|
||||
<p class="h6">Est Next Difficulty</p>
|
||||
<p class="h6 up-more2">Est Next Difficulty</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-clock-o fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5" id="b-esttimeperblock">{$NETWORK.EstTimePerBlock|seconds_to_words}</p>
|
||||
<p class="h5 up-more" id="b-esttimeperblock">{$NETWORK.EstTimePerBlock|seconds_to_words}</p>
|
||||
</div>
|
||||
<div class="circle-tile-number text-faded">
|
||||
<p class="h6">Est. Avg. Time per Block</p>
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
<table class="table borderless m-b-none text-small">
|
||||
<table class="table borderless m-b-none text-small panel-footer">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th><span><h5><i class="fa fa-user fa-fw"></i> Own<h5></th>
|
||||
<th><span><h5><i class="fa fa-users fa-fw"></i> Pool</h6></span></th>
|
||||
<th><span><h5><i class="fa fa-user fa-fw"></i> Own</h5></span></th>
|
||||
<th><span><h5><i class="fa fa-users fa-fw"></i> Pool</h5></span></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><h5><i class="fa fa-smile-o fa-fw"></i> Valid</h6></th>
|
||||
<th><h5><i class="fa fa-smile-o fa-fw"></i> Valid</h5></th>
|
||||
<th>
|
||||
<div class="progress progress-striped progress-fix">
|
||||
<div id="b-yvalid" class="progress-bar progress-bar-success black" style="width: 100%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="{$GLOBAL.userdata.shares.valid|number_format}" role="progressbar">{$GLOBAL.userdata.shares.valid|number_format}</div>
|
||||
@ -19,7 +19,7 @@
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><h5><i class="fa fa-frown-o fa-fw"></i> Invalid</h6></th>
|
||||
<th><h5><i class="fa fa-frown-o fa-fw"></i> Invalid</h5></th>
|
||||
<th>
|
||||
<div class="progress progress-striped progress-fix">
|
||||
<div id="b-yivalid" class="progress-bar progress-bar-danger black" style="width: 100%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="{$GLOBAL.userdata.shares.invalid|number_format}" role="progressbar">{$GLOBAL.userdata.shares.invalid|number_format}</div>
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<div class="panel-footer">
|
||||
<div class="row">
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-th-large fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5" id="b-nblock">{$NETWORK.block}</p>
|
||||
</div>
|
||||
@ -16,11 +16,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-bar-chart-o fa-flip-horizontal fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5" id="b-roundprogress">{$ESTIMATES.percent|number_format:"2"}%</p>
|
||||
</div>
|
||||
@ -31,26 +31,26 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-money fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5" id="b-payout">{$GLOBAL.userdata.estimates.payout|number_format:"8"}</p>
|
||||
</div>
|
||||
<div class="circle-tile-number text-faded">
|
||||
<p class="h6">{$GLOBAL.config.currency} Estimated Earnings</p>
|
||||
<p class="h6">{$GLOBAL.config.currency} Est Earnings</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-map-marker fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5" id="b-diff">{$NETWORK.difficulty|number_format:"8"}</p>
|
||||
</div>
|
||||
@ -61,11 +61,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-sitemap fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5 up" id="b-nextdiff">{$NETWORK.EstNextDifficulty|number_format:"8"}</p>
|
||||
<p class="h6" id="b-nextdiffc">Change in {$NETWORK.BlocksUntilDiffChange} Blocks</p>
|
||||
@ -77,11 +77,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-sm-6">
|
||||
<div class="circle-tile">
|
||||
<div class="circle-tile-heading blue">
|
||||
<div class="circle-tile fade">
|
||||
<div class="circle-tile-heading lightblue">
|
||||
<i class="fa fa-clock-o fa-fw fa-2x"></i>
|
||||
</div>
|
||||
<div class="circle-tile-content blue">
|
||||
<div class="circle-tile-content lightblue">
|
||||
<div class="circle-tile-description text-faded">
|
||||
<p class="h5" id="b-esttimeperblock">{$NETWORK.EstTimePerBlock|seconds_to_words}</p>
|
||||
</div>
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
<table class="table borderless m-b-none text-small">
|
||||
<table class="table borderless m-b-none text-small panel-footer">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th><span><h5><i class="fa fa-user fa-fw"></i> Own<h5></th>
|
||||
<th><span><h5><i class="fa fa-users fa-fw"></i> Pool</h6></span></th>
|
||||
<th><span><h5><i class="fa fa-user fa-fw"></i> Own</h5></span></th>
|
||||
<th><span><h5><i class="fa fa-users fa-fw"></i> Pool</h5></span></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><h5><i class="fa fa-smile-o fa-fw"></i> Valid</h6></th>
|
||||
<th><h5><i class="fa fa-smile-o fa-fw"></i> Valid</h5></th>
|
||||
<th>
|
||||
<div class="progress progress-striped progress-fix">
|
||||
<div id="b-yvalid" class="progress-bar progress-bar-success black" style="width: 100%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="{$GLOBAL.userdata.shares.valid|number_format}" role="progressbar">{$GLOBAL.userdata.shares.valid|number_format}</div>
|
||||
@ -19,7 +19,7 @@
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><h5><i class="fa fa-frown-o fa-fw"></i> Invalid</h6></th>
|
||||
<th><h5><i class="fa fa-frown-o fa-fw"></i> Invalid</h5></th>
|
||||
<th>
|
||||
<div class="progress progress-striped progress-fix">
|
||||
<div id="b-yivalid" class="progress-bar progress-bar-danger black" style="width: 100%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="{$GLOBAL.userdata.shares.invalid|number_format}" role="progressbar">{$GLOBAL.userdata.shares.invalid|number_format}</div>
|
||||
|
||||
@ -16,7 +16,6 @@
|
||||
<tbody id="b-workers">
|
||||
<td colspan="3" class="text-center">No worker information available</td>
|
||||
</tbody>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<div class="footer">
|
||||
<font size="1">
|
||||
<center>
|
||||
Powered by <a href="https://github.com/MPOS/php-mpos">MPOS</a> <i class="fa fa-github-alt"></i> | Donate to Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8
|
||||
Powered by <a href="https://github.com/MPOS/php-mpos" target="_blank">MPOS</a> <i class="fa fa-github-alt"></i> | Donate to Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8
|
||||
</center>
|
||||
</font>
|
||||
</div>
|
||||
|
||||
17
public/templates/bootstrap/global/header.tpl
Executable file → Normal file
17
public/templates/bootstrap/global/header.tpl
Executable file → Normal file
@ -6,7 +6,24 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
{if $GLOBAL.config.poolnav_enabled|default:"false"}
|
||||
<ul class="nav navbar-nav navbar-top-links">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="navbar-brand dropdown-toggle" data-toggle="dropdown">{$GLOBAL.website.name} <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
{assign var="PoolArray" value="\n"|explode:$GLOBAL.config.poolnav_pools}
|
||||
{foreach from=$PoolArray item=pooldata}
|
||||
{assign var="PoolURL" value="|"|explode:$pooldata}
|
||||
{if $PoolURL|count > 1}
|
||||
<li class="h4"><a href="{$PoolURL[1]}"><i class="fa fa-angle-double-right fa-fw"></i> {$PoolURL[0]}</a></li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
{else}
|
||||
<a class="navbar-brand" href="{$smarty.server.SCRIPT_NAME}">{$GLOBAL.website.name}</a>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<ul class="nav navbar-top-links navbar-right">
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<div class="col-lg-12">
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<i class="fa fa-bookmark"></i> {$NEWS[news].header}</a>
|
||||
<i class="fa fa-bookmark"></i> {$NEWS[news].header}
|
||||
<br />
|
||||
<font size="1px">posted {$NEWS[news].time|date_format:"%b %e, %Y at %H:%M"}{if $HIDEAUTHOR|default:"0" == 0} by <b>{$NEWS[news].author}</b>{/if}</font>
|
||||
</div>
|
||||
@ -13,4 +13,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/section}
|
||||
{/section}
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<h3 class="panel-title">Login with existing account</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<div class="input-group margin-bottom-sm">
|
||||
<span class="input-group-addon"><i class="fa fa-envelope-o fa-fw"></i></span>
|
||||
<input class="form-control" placeholder="E-mail" name="username" type="email" autofocus required>
|
||||
@ -15,10 +15,10 @@
|
||||
<span class="input-group-addon"><i class="fa fa-key fa-fw"></i></span>
|
||||
<input class="form-control" placeholder="Password" name="password" type="password" value="" required>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<center>{nocache}{$RECAPTCHA|default:"" nofilter}{/nocache}</center>
|
||||
<div class="panel-footer" style="margin-top: 20px;">
|
||||
<div class="panel-footer">
|
||||
<input type="submit" class="btn btn-success" value="Login" >
|
||||
<a href="{$smarty.server.SCRIPT_NAME}?page=password"><font size="1">Forgot your password?</font></a>
|
||||
</div>
|
||||
|
||||
@ -22,7 +22,10 @@
|
||||
<link href="{$PATH}/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
|
||||
<link href="{$PATH}/css/mpos.css" rel="stylesheet">
|
||||
<link href="{$PATH}/css/sparklines.css" rel="stylesheet">
|
||||
|
||||
{if $GLOBAL.config.website_design|default:"default" != "default"}
|
||||
<link href="{$PATH}/css/design/{$GLOBAL.config.website_design}.css" rel="stylesheet">
|
||||
{/if}
|
||||
|
||||
<script src="{$PATH}/js/jquery-2.0.3.min.js"></script>
|
||||
<script src="{$PATH}/js/jquery.cookie.js"></script>
|
||||
<script src="{$PATH}/js/bootstrap.min.js"></script>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<form class="panel panel-info" method="post" role="form">
|
||||
<form class="panel panel-info form-inline" method="post" role="form">
|
||||
<input type="hidden" name="page" value="{$smarty.request.page|escape}">
|
||||
{if $smarty.request.token|default:""}
|
||||
<input type="hidden" name="token" value="{$smarty.request.token|escape}">
|
||||
@ -16,41 +16,40 @@
|
||||
<i class="fa fa-edit fa-fw"></i> Register new account
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<label>Username</label>
|
||||
<div class="input-group margin-bottom-sm">
|
||||
<span class="input-group-addon"><i class="fa fa-user fa-fw"></i></span>
|
||||
<input type="text" class="form-control" name="username" placeholder="Usermane" value="{$smarty.post.username|escape|default:""}" size="15" maxlength="20" required>
|
||||
</div>
|
||||
<label>Password</label> (<span id="pw_strength">Strength</span>)
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-key fa-fw"></i></span>
|
||||
<input type="password" class="form-control" name="password1" placeholder="Password" value="" size="15" maxlength="100" id="pw_field" required>
|
||||
</div>
|
||||
<span id="pw_match"></span>
|
||||
<div class="input-group margin-bottom-sm">
|
||||
<span class="input-group-addon" id="pw_match"><i class="fa fa-key fa-fw"></i></span>
|
||||
<input type="password" class="form-control" name="password2" placeholder="Repeat Password" value="" size="15" maxlength="100" id="pw_field2" required>
|
||||
</div>
|
||||
<label>Email</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-envelope-o fa-fw"></i></span>
|
||||
<input type="text" name="email1" placeholder="Email" class="form-control" value="{$smarty.post.email1|escape|default:""}" size="15" required>
|
||||
</div>
|
||||
<div class="input-group margin-bottom-sm">
|
||||
<span class="input-group-addon"><i class="fa fa-envelope-o fa-fw"></i></span>
|
||||
<input type="text" class="form-control" name="email2" placeholder="Repeat Email" value="{$smarty.post.email2|escape|default:""}" size="15" required>
|
||||
</div>
|
||||
<label>PIN</label>
|
||||
<font size="1">Four digit number. <b>Remember this pin!</b></font>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-shield fa-fw"></i></span>
|
||||
<input type="password" class="form-control" name="pin" placeholder="PIN" value="" size="4" maxlength="4" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Username</label>
|
||||
<div class="input-group margin-bottom-sm">
|
||||
<span class="input-group-addon"><i class="fa fa-user fa-fw"></i></span>
|
||||
<input type="text" class="form-control" name="username" placeholder="Usermane" value="{$smarty.post.username|escape|default:""}" size="15" maxlength="20" required>
|
||||
</div>
|
||||
<label>Password</label> (<span id="pw_strength">Strength</span>)
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-key fa-fw"></i></span>
|
||||
<input type="password" class="form-control" name="password1" placeholder="Password" value="" size="15" maxlength="100" id="pw_field" required>
|
||||
</div>
|
||||
<span id="pw_match"></span>
|
||||
<div class="input-group margin-bottom-sm">
|
||||
<span class="input-group-addon" id="pw_match"><i class="fa fa-key fa-fw"></i></span>
|
||||
<input type="password" class="form-control" name="password2" placeholder="Repeat Password" value="" size="15" maxlength="100" id="pw_field2" required>
|
||||
</div>
|
||||
<label>Email</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-envelope-o fa-fw"></i></span>
|
||||
<input type="text" name="email1" placeholder="Email" class="form-control" value="{$smarty.post.email1|escape|default:""}" size="15" required>
|
||||
</div>
|
||||
<div class="input-group margin-bottom-sm">
|
||||
<span class="input-group-addon"><i class="fa fa-envelope-o fa-fw"></i></span>
|
||||
<input type="text" class="form-control" name="email2" placeholder="Repeat Email" value="{$smarty.post.email2|escape|default:""}" size="15" required>
|
||||
</div>
|
||||
<label>PIN</label>
|
||||
<font size="1">Four digit number. <b>Remember this pin!</b></font>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-shield fa-fw"></i></span>
|
||||
<input type="password" class="form-control" name="pin" placeholder="PIN" value="" size="4" maxlength="4" required>
|
||||
</div>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" value="1" name="tac" id="tac">
|
||||
I Accept The <a data-toggle="modal" data-target="#TAC">Terms and Conditions</a>
|
||||
<input type="checkbox" value="1" name="tac" id="tac"> I Accept The <a data-toggle="modal" data-target="#TAC">Terms and Conditions</a>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -55,4 +55,4 @@ $(function () {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -7,4 +7,4 @@
|
||||
<div id="both-area-chart"></div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@ -114,4 +114,4 @@ $(function () {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -22,9 +22,9 @@
|
||||
{assign var=listed value=0}
|
||||
{section contrib $CONTRIBHASHES}
|
||||
{math assign="estday" equation="round(reward / ( diff * pow(2,32) / ( hashrate * 1000 ) / 3600 / 24), 3)" diff=$DIFFICULTY reward=$REWARD hashrate=$CONTRIBHASHES[contrib].hashrate}
|
||||
{if $GLOBAL.userdata.username|default:""|lower == $CONTRIBHASHES[contrib].account|lower}{assign var=listed value=1}<tr id="test">{else}<tr>{/if}
|
||||
{if $GLOBAL.userdata.username|default:""|lower == $CONTRIBHASHES[contrib].account|lower}{assign var=listed value=1}<tr class="success">{else}<tr>{/if}
|
||||
<td>{$rank++}</td>
|
||||
<td>{if $CONTRIBHASHES[contrib].donate_percent|default:"0" >= 2}<i class="fa fa-trophy fa-fw">{elseif $CONTRIBHASHES[contrib].donate_percent|default:"0" < 2 AND $CONTRIBHASHES[contrib].donate_percent|default:"0" > 0}<i class="fa fa-star-o fa-fw">{else}<i class="fa fa-ban fa-fw"></i>{/if}</td>
|
||||
<td>{if $CONTRIBHASHES[contrib].donate_percent|default:"0" >= 2}<i class="fa fa-trophy fa-fw"></i>{elseif $CONTRIBHASHES[contrib].donate_percent|default:"0" < 2 AND $CONTRIBHASHES[contrib].donate_percent|default:"0" > 0}<i class="fa fa-star-o fa-fw"></i>{else}<i class="fa fa-ban fa-fw"></i>{/if}</td>
|
||||
<td>{if $CONTRIBHASHES[contrib].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$CONTRIBHASHES[contrib].account|escape}{/if}</td>
|
||||
<td class="text-right">{$CONTRIBHASHES[contrib].hashrate|number_format}</td>
|
||||
<td class="text-right">{$estday|number_format:"3"}</td>
|
||||
@ -35,7 +35,7 @@
|
||||
{/section}
|
||||
{if $listed != 1 && $GLOBAL.userdata.username|default:"" && $GLOBAL.userdata.rawhashrate|default:"0" > 0}
|
||||
{math assign="myestday" equation="round(reward / ( diff * pow(2,32) / ( hashrate * 1000 ) / 3600 / 24), 3)" diff=$DIFFICULTY reward=$REWARD hashrate=$GLOBAL.userdata.rawhashrate}
|
||||
<tr{if $GLOBAL.userdata.username|default:""|lower == $CONTRIBHASHES[contrib].account|lower}{assign var=listed value=1} style="color:#99EB99;"{else}{/if}>
|
||||
{if $GLOBAL.userdata.username|default:""|lower == $CONTRIBHASHES[contrib].account|lower}{assign var=listed value=1}<tr class="success">{else}</tr>{/if}>
|
||||
<td>n/a</td>
|
||||
<td>{if $GLOBAL.userdata.donate_percent|default:"0" >= 2}<i class="fa fa-trophy fa-fw"></i>{elseif $GLOBAL.userdata.donate_percent|default:"0" < 2 AND $GLOBAL.userdata.donate_percent|default:"0" > 0}<i class="fa fa-star-o fa-fw"></i>{else}<i class="fa fa-ban fa-fw"></i>{/if}</td>
|
||||
<td>{$GLOBAL.userdata.username|escape}</td>
|
||||
|
||||
@ -17,15 +17,15 @@
|
||||
{assign var=rank value=1}
|
||||
{assign var=listed value=0}
|
||||
{section shares $CONTRIBSHARES}
|
||||
{if $GLOBAL.userdata.username|default:""|lower == $CONTRIBSHARES[shares].account|lower}{assign var=listed value=1}<tr class"info">{else}<tr>{/if}
|
||||
{if $GLOBAL.userdata.username|default:""|lower == $CONTRIBSHARES[shares].account|lower}{assign var=listed value=1}<tr class="success">{else}<tr>{/if}
|
||||
<td>{$rank++}</td>
|
||||
<td>{if $CONTRIBSHARES[shares].donate_percent|default:"0" >= 2}<i class="fa fa-trophy fa-fw">{else if $CONTRIBSHARES[shares].donate_percent|default:"0" < 2 AND $CONTRIBSHARES[shares].donate_percent|default:"0" > 0}<i class="fa fa-star-o fa-fw">{else}<i class="fa fa-ban fa-fw"></i>{/if}</td>
|
||||
<td>{if $CONTRIBSHARES[shares].donate_percent|default:"0" >= 2}<i class="fa fa-trophy fa-fw"></i>{else if $CONTRIBSHARES[shares].donate_percent|default:"0" < 2 AND $CONTRIBSHARES[shares].donate_percent|default:"0" > 0}<i class="fa fa-star-o fa-fw"></i>{else}<i class="fa fa-ban fa-fw"></i>{/if}</td>
|
||||
<td>{if $CONTRIBSHARES[shares].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$CONTRIBSHARES[shares].account|escape}{/if}</td>
|
||||
<td class="text-right">{$CONTRIBSHARES[shares].shares|number_format}</td>
|
||||
</tr>
|
||||
{/section}
|
||||
{if $listed != 1 && $GLOBAL.userdata.username|default:"" && $GLOBAL.userdata.shares.valid|default:"0" > 0}
|
||||
<tr {if $GLOBAL.userdata.username|default:""|lower == $CONTRIBHASHES[contrib].account|lower}{assign var=listed value=1} style="color:#99EB99;"{else}{/if}>
|
||||
{if $GLOBAL.userdata.username|default:""|lower == $CONTRIBHASHES[contrib].account|lower}{assign var=listed value=1}<tr class="success">{else}</tr>{/if}>
|
||||
<td>n/a</td>
|
||||
<td>{if $GLOBAL.userdata.donate_percent|default:"0" >= 2}<i class="fa fa-trophy fa-fw"></i>{elseif $GLOBAL.userdata.donate_percent|default:"0" < 2 AND $GLOBAL.userdata.donate_percent|default:"0" > 0}<i class="fa fa-star-o fa-fw"></i>{else}<i class="fa fa-ban fa-fw"></i>{/if}</td>
|
||||
<td>{$GLOBAL.userdata.username|escape}</td>
|
||||
|
||||
@ -11,15 +11,15 @@
|
||||
<td width="70%"><span id="b-hashrate">{$GLOBAL.hashrate|number_format:"3"}</span> {$GLOBAL.hashunits.pool}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Pool Efficiency</td>
|
||||
<th>Pool Efficiency</th>
|
||||
<td>{if $GLOBAL.roundshares.valid > 0}{($GLOBAL.roundshares.valid / ($GLOBAL.roundshares.valid + $GLOBAL.roundshares.invalid) * 100)|number_format:"2"}%{else}0%{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Current Active Workers</td>
|
||||
<td id="b-workers">{$GLOBAL.workers}</td>
|
||||
<th>Current Active Workers</th>
|
||||
<td id="b-workers">{$GLOBAL.workers|number_format}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Current Difficulty</td>
|
||||
<th>Current Difficulty</th>
|
||||
{if ! $GLOBAL.website.chaininfo.disabled}
|
||||
<td><a href="{$GLOBAL.website.chaininfo.url}" target="_new"><font size="2"><span id="b-diff">{$NETWORK.difficulty}</span></font></a></td>
|
||||
{else}
|
||||
@ -27,7 +27,7 @@
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Est. Next Difficulty</td>
|
||||
<th>Est. Next Difficulty</th>
|
||||
{if ! $GLOBAL.website.chaininfo.disabled}
|
||||
<td><a href="{$GLOBAL.website.chaininfo.url}" target="_new"><font size="2">{$NETWORK.EstNextDifficulty|number_format:"8"} (Change in {$NETWORK.BlocksUntilDiffChange} Blocks)</font></a></td>
|
||||
{else}
|
||||
@ -35,34 +35,34 @@
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Est. Avg. Time per Round (Network)</td>
|
||||
<th>Est. Avg. Time per Round (Network)</th>
|
||||
<td><font size="2">{$NETWORK.EstTimePerBlock|seconds_to_words}</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Est. Avg. Time per Round (Pool)</td>
|
||||
<th>Est. Avg. Time per Round (Pool)</th>
|
||||
<td>{$ESTTIME|seconds_to_words}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Est. Shares this Round</td>
|
||||
<td id="b-target">{$ESTIMATES.shares} (done: {$ESTIMATES.percent}%)</td>
|
||||
<th>Est. Shares this Round</th>
|
||||
<td id="b-target">{$ESTIMATES.shares|number_format} (done: {$ESTIMATES.percent}%)</td>
|
||||
</tr>
|
||||
{if ! $GLOBAL.website.blockexplorer.disabled}
|
||||
<tr>
|
||||
<th width="50%">Next Network Block</td>
|
||||
<td colspan="3">{$CURRENTBLOCK + 1} <font size="1"> (Current: <a href="{$GLOBAL.website.blockexplorer.url}{$CURRENTBLOCKHASH}" target="_new">{$CURRENTBLOCK})</a></font></td>
|
||||
<th width="50%">Next Network Block</th>
|
||||
<td colspan="3">{($CURRENTBLOCK + 1)|number_format} <font size="1"> (Current: <a href="{$GLOBAL.website.blockexplorer.url}{$CURRENTBLOCKHASH}" target="_new">{$CURRENTBLOCK|number_format})</a></font></td>
|
||||
</tr>
|
||||
{else}
|
||||
<tr>
|
||||
<th>Next Network Block</td>
|
||||
<td colspan="3">{$CURRENTBLOCK + 1} (Current: {$CURRENTBLOCK})</td>
|
||||
<th>Next Network Block</th>
|
||||
<td colspan="3">{($CURRENTBLOCK + 1)|number_format} (Current: {$CURRENTBLOCK|number_format})</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<th>Last Block Found</td>
|
||||
<td colspan="3"><a href="{$smarty.server.SCRIPT_NAME}?page=statistics&action=round&height={$LASTBLOCK}" target="_new">{$LASTBLOCK|default:"0"}</a></td>
|
||||
<th>Last Block Found</th>
|
||||
<td colspan="3"><a href="{$smarty.server.SCRIPT_NAME}?page=statistics&action=round&height={$LASTBLOCK}" target="_new">{$LASTBLOCK|default:"0"|number_format}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Time Since Last Block</td>
|
||||
<th>Time Since Last Block</th>
|
||||
<td colspan="3">{$TIMESINCELAST|seconds_to_words}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -20,7 +20,11 @@
|
||||
{if $NEWMINT >= 0}
|
||||
<tr>
|
||||
<td align="left">Liquid Assets</td>
|
||||
{if $GLOBAL.config.getbalancewithunconfirmed}
|
||||
<td align="left">{($BALANCE - $LOCKED - $UNCONFIRMED + $NEWMINT|default:"0")|number_format:"8"}</td>
|
||||
{else}
|
||||
<td align="left">{($BALANCE - $LOCKED + $NEWMINT|default:"0")|number_format:"8"}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">PoS New Mint</td>
|
||||
|
||||
@ -133,7 +133,7 @@ CREATE TABLE IF NOT EXISTS `settings` (
|
||||
UNIQUE KEY `setting` (`name`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.7');
|
||||
INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.8');
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `shares` (
|
||||
`id` bigint(30) NOT NULL AUTO_INCREMENT,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user