made particles more efficient, finished basic blocks feed
This commit is contained in:
parent
dafa4b6117
commit
34416c07fe
8 changed files with 132 additions and 38 deletions
|
@ -146,7 +146,19 @@ getStats()
|
|||
setInterval(function(){getStats()}, 1000)
|
||||
|
||||
|
||||
/* particlesJS.load(@dom-id, @path-json, @callback (optional)); */
|
||||
particlesJS.load('particles-js', '/shared/main/particles.json', function() {
|
||||
console.log('callback - particles.js config loaded');
|
||||
});
|
||||
|
||||
fetch('/config/get/ui.animated_background', {
|
||||
headers: {
|
||||
"token": webpass
|
||||
}})
|
||||
.then((resp) => resp.text()) // Transform the data into text
|
||||
.then(function(resp) {
|
||||
if (resp == "false"){
|
||||
return
|
||||
}
|
||||
/* particlesJS.load(@dom-id, @path-json, @callback (optional)); */
|
||||
particlesJS.load('particles-js', '/shared/main/particles.json', function() {
|
||||
console.debug('callback - particles.js config loaded')
|
||||
})
|
||||
}
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue