website with merged support

This commit is contained in:
XMR Miners Club
2021-01-03 23:51:09 -05:00
parent 2c8a1f909c
commit b6afc709a3
89 changed files with 7358 additions and 8587 deletions

View File

@@ -1,15 +1,15 @@
<ul class="nav nav-tabs" id="blocksTabs">
</ul>
<div class="tab-content" id="tab-content">
<div class="tab-content" id="tab-content">
</div>
<script id="siblingTabTemplate" type="text/x-handlebars-template">
<li id="blockTabs{{coin}}" role="presentation" class="{{active}}"><a href="#{{coin}}">{{coin}} {{symbol}}</a></li>
<li id="blockTabs{{coin}}" role="presentation" class="{{active}}"><a href="#{{coin}}">{{coin}} {{symbol}}</a></li>
</script>
<script id="siblingTemplate" type="text/x-handlebars-template">
<div role="tabpanel" class="tab-pane {{active}}" id="{{coin}}">
<div role="tabpanel" class="tab-pane {{active}}" id="{{coin}}">
<!-- Verification fields -->
<h3><span data-tkey="verificationFields">Verification fields</span></h3>
@@ -52,37 +52,31 @@
</script>
<script>
let ranOnce = false
// Update current page
currentPage = {
destroy: function () {
Object.keys(mergedApis)
.forEach(key => {
$(`#payoutSetButton${key}`)
.off('click')
$(`#enableButton${key}`)
.off('click')
$(`#disableButton${key}`)
.off('click')
})
$('#blocksTabs a')
.off('click')
},
update: function (updateKey) {
}
};
let ranOnce = false
// Update current page
currentPage = {
destroy: function(){
Object.keys(mergedApis).forEach(key => {
$(`#payoutSetButton${key}`).off('click')
$(`#enableButton${key}`).off('click')
$(`#disableButton${key}`).off('click')
})
$('#blocksTabs a').off('click')
},
update: function(updateKey){
}
};
function RunOnce () {
$('#blocksTabs a')
.click(function (e) {
e.preventDefault()
$(this)
.tab('show')
})
return true
}
function RunOnce() {
$('#blocksTabs a').click(function (e) {
e.preventDefault()
$(this).tab('show')
})
return true
}
settings_InitTemplate(ranOnce)
settings_InitTemplate(ranOnce)
</script>