[FIX][UPDATE] Login Icons/Dashboard Auto Resize (easyer to work with for adding sparks)
This commit is contained in:
parent
afd9fb2aba
commit
e6088fed2e
0
public/site_assets/bootstrap/css/bootstrap.css
vendored
Executable file → Normal file
0
public/site_assets/bootstrap/css/bootstrap.css
vendored
Executable file → Normal file
0
public/site_assets/bootstrap/css/bootstrap.min.css
vendored
Executable file → Normal file
0
public/site_assets/bootstrap/css/bootstrap.min.css
vendored
Executable file → Normal file
0
public/site_assets/bootstrap/css/mpos.css
Executable file → Normal file
0
public/site_assets/bootstrap/css/mpos.css
Executable file → Normal file
0
public/site_assets/bootstrap/css/sparklines.css
Executable file → Normal file
0
public/site_assets/bootstrap/css/sparklines.css
Executable file → Normal file
0
public/site_assets/bootstrap/js/jquery.cookie.js
Executable file → Normal file
0
public/site_assets/bootstrap/js/jquery.cookie.js
Executable file → Normal file
0
public/site_assets/bootstrap/js/mpos.js
Executable file → Normal file
0
public/site_assets/bootstrap/js/mpos.js
Executable file → Normal file
0
public/site_assets/bootstrap/js/plugins/sparkline/jquery.sparkline.min.js
vendored
Executable file → Normal file
0
public/site_assets/bootstrap/js/plugins/sparkline/jquery.sparkline.min.js
vendored
Executable file → Normal file
@ -15,6 +15,9 @@
|
||||
<p style="padding-left:3px; padding-redight:30px; font-size:10px;">
|
||||
Please note: a {if $GLOBAL.config.txfee_manual > 0.00001}{$GLOBAL.config.txfee_manual}{else}{$GLOBAL.config.txfee_manual|number_format:"8"}{/if} {$GLOBAL.config.currency} transaction will apply when processing "On-Demand" manual payments <span id="tt"><img width="15px" height="15px" title="This {if $GLOBAL.config.txfee_manual > 0.00001}{$GLOBAL.config.txfee_manual}{else}{$GLOBAL.config.txfee_manual|number_format:"8"}{/if} manual payment transaction fee is a network fee and goes back into the network not the pool." src="site_assets/mpos/images/questionmark.png"></span>
|
||||
</p>
|
||||
<p style="padding-left:3px; padding-redight:30px; font-size:10px;">
|
||||
Minimum Cashout: {$GLOBAL.config.mp_threshold} {$GLOBAL.config.currency}
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Account Balance</label>
|
||||
@ -37,7 +40,9 @@
|
||||
<input type="hidden" name="ctoken" value="{$CTOKEN|escape|default:""}" />
|
||||
<input type="hidden" name="utype" value="withdraw_funds">
|
||||
{if $GLOBAL.twofactor.enabled && $GLOBAL.twofactor.options.withdraw}
|
||||
{if $WITHDRAWSENT == 1 && $WITHDRAWUNLOCKED == 1}
|
||||
{if $GLOBAL.userdata.balance.confirmed|escape < $GLOBAL.config.mp_threshold}
|
||||
<input type="submit" value="Unlock" class="alt_btn" name="unlock" disabled>
|
||||
{elseif $WITHDRAWSENT == 1 && $WITHDRAWUNLOCKED == 1}
|
||||
<input type="submit" value="Cash Out" class="btn btn-success">
|
||||
{elseif $WITHDRAWSENT == 0 && $WITHDRAWUNLOCKED == 1 || $WITHDRAWSENT == 1 && $WITHDRAWUNLOCKED == 0}
|
||||
<input type="submit" value="Cash Out" class="btn btn-danger" disabled>
|
||||
@ -52,4 +57,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
0
public/templates/bootstrap/admin/wallet/default.tpl
Executable file → Normal file
0
public/templates/bootstrap/admin/wallet/default.tpl
Executable file → Normal file
11
public/templates/bootstrap/dashboard/js_api.tpl
Executable file → Normal file
11
public/templates/bootstrap/dashboard/js_api.tpl
Executable file → Normal file
@ -14,7 +14,7 @@ $(document).ready(function(){
|
||||
var storedPoolHashrate = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {/literal}{$GLOBAL.hashrate|number_format:"2"}{literal} ];
|
||||
var storedNetHashrate = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {/literal}{$GLOBAL.nethashrate|number_format:"2"}{literal} ];
|
||||
var storedPoolWorkers = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {/literal}{$GLOBAL.workers}{literal} ];
|
||||
var storedCoinPrice = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {/literal}{$GLOBAL.price}{literal} ];
|
||||
var storedCoinPrice = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {/literal}{$GLOBAL.price}{literal} ];
|
||||
|
||||
// Sparkline options applied to all graphs
|
||||
var sparklineBarOptions = {
|
||||
@ -22,7 +22,8 @@ $(document).ready(function(){
|
||||
height: '35',
|
||||
barWidth: 6,
|
||||
barSpacing: 2,
|
||||
chartRangeMin: 0
|
||||
chartRangeMin: {/literal}{$GLOBAL.price}{literal} - 5,
|
||||
chartRangeMax: {/literal}{$GLOBAL.price}{literal} + 5,
|
||||
};
|
||||
|
||||
// Sparkline options applied to line graphs
|
||||
@ -39,7 +40,9 @@ $(document).ready(function(){
|
||||
$('.pool-hashrate-bar').sparkline(storedPoolHashrate, sparklineBarOptions);
|
||||
$('.pool-nethashrate-bar').sparkline(storedNetHashrate, sparklineBarOptions);
|
||||
$('.pool-workers-bar').sparkline(storedPoolWorkers, sparklineBarOptions);
|
||||
{/literal}{if $GLOBAL.config.price.enabled}{literal}
|
||||
$('.coin-price-line').sparkline(storedCoinPrice, sparklineLineOptions);
|
||||
{/literal}{/if}{literal}
|
||||
|
||||
function refreshInformation(data) {
|
||||
// Drop one value, add the latest new one to each array
|
||||
@ -61,12 +64,16 @@ $(document).ready(function(){
|
||||
$('.pool-hashrate-bar').sparkline(storedPoolHashrate, sparklineBarOptions);
|
||||
$('.pool-nethashrate-bar').sparkline(storedNetHashrate, sparklineBarOptions);
|
||||
$('.pool-workers-bar').sparkline(storedPoolWorkers, sparklineBarOptions);
|
||||
{/literal}{if $GLOBAL.config.price.enabled}{literal}
|
||||
$('.coin-price-line').sparkline(storedCoinPrice, sparklineLineOptions);
|
||||
{/literal}{/if}{literal}
|
||||
}
|
||||
|
||||
// Refresh other static numbers on the template
|
||||
function refreshStaticData(data) {
|
||||
{/literal}{if $GLOBAL.config.price.enabled}{literal}
|
||||
$('#b-price').html((parseFloat(data.getdashboarddata.data.pool.price).toFixed(8)));
|
||||
{/literal}{/if}{literal}
|
||||
$('#b-poolworkers').html(data.getdashboarddata.data.pool.workers);
|
||||
$('#b-hashrate').html((parseFloat(data.getdashboarddata.data.personal.hashrate).toFixed(2)));
|
||||
$('#b-poolhashrate').html((parseFloat(data.getdashboarddata.data.pool.hashrate).toFixed(2)));
|
||||
|
||||
0
public/templates/bootstrap/dashboard/overview.tpl
Executable file → Normal file
0
public/templates/bootstrap/dashboard/overview.tpl
Executable file → Normal file
@ -50,6 +50,7 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-user">
|
||||
{if $smarty.session.AUTHENTICATED|default:"0" == 1}
|
||||
<li><a href="{$smarty.server.SCRIPT_NAME}?page=dashboard"><i class="fa fa-dashboard fa-fw"></i> Dashboard</a>
|
||||
<li><a href="{$smarty.server.SCRIPT_NAME}?page=account&action=edit"><i class="fa fa-gear fa-fw"></i> Settings</a>
|
||||
<li><a href="{$smarty.server.SCRIPT_NAME}?page=account&action=workers"><i class="fa fa-desktop fa-fw"></i> Workers</a>
|
||||
</li>
|
||||
|
||||
0
public/templates/bootstrap/master.tpl
Executable file → Normal file
0
public/templates/bootstrap/master.tpl
Executable file → Normal file
@ -46,7 +46,7 @@
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<center>{nocache}{$RECAPTCHA|default:""}{/nocache}</center>
|
||||
<center>{nocache}{$RECAPTCHA|default:"" nofilter}{/nocache}</center>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<input type="submit" value="Register" class="btn btn-success">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user