updated added classes and updated web
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled
This commit is contained in:
1 parent
cba48908e4
commit
6fe6a1aaf8
50 files changed
+440
-435
No files matched your search
+30
-2
@@ -10,17 +10,21 @@ const headerlinks = document.querySelector('.links')
|
||||
let uptimeintervalid
|
||||
|
||||
settingsbutton.addEventListener('click', () => {
|
||||
settingssection.classList.add('active')
|
||||
syslogsection.classList.remove('active')
|
||||
infosection.classList.remove('active')
|
||||
updatesection.classList.remove('active');
|
||||
backupsection.classList.remove('active');
|
||||
settingssection.classList.add('active')
|
||||
clearInterval(uptimeintervalid)
|
||||
get_all_settings()
|
||||
})
|
||||
|
||||
syslogbutton.addEventListener('click', () => {
|
||||
syslogsection.classList.add('active')
|
||||
settingssection.classList.remove('active')
|
||||
infosection.classList.remove('active')
|
||||
updatesection.classList.remove('active');
|
||||
backupsection.classList.remove('active');
|
||||
syslogsection.classList.add('active')
|
||||
clearInterval(uptimeintervalid)
|
||||
get_syslog_data()
|
||||
})
|
||||
@@ -42,6 +46,30 @@ window.addEventListener('click', (e) => {
|
||||
infobutton.addEventListener('click', () => {
|
||||
syslogsection.classList.remove('active')
|
||||
settingssection.classList.remove('active')
|
||||
updatesection.classList.remove('active');
|
||||
backupsection.classList.remove('active');
|
||||
infosection.classList.add('active')
|
||||
uptimeintervalid = setInterval(get_uptime, 1000)
|
||||
})
|
||||
|
||||
const updatesectionbutton = document.querySelector('#updatesectionbutton');
|
||||
const updatesection = document.querySelector('#updatesection');
|
||||
|
||||
updatesectionbutton.addEventListener('click', () => {
|
||||
infosection.classList.remove('active');
|
||||
settingssection.classList.remove('active');
|
||||
syslogsection.classList.remove('active');
|
||||
backupsection.classList.remove('active');
|
||||
updatesection.classList.add('active');
|
||||
})
|
||||
|
||||
const backupsectionbutton = document.querySelector('#backupsectionbutton');
|
||||
const backupsection = document.querySelector('#backupsection');
|
||||
|
||||
backupsectionbutton.addEventListener('click', () => {
|
||||
infosection.classList.remove('active');
|
||||
settingssection.classList.remove('active');
|
||||
syslogsection.classList.remove('active');
|
||||
updatesection.classList.remove('active');
|
||||
backupsection.classList.add('active');
|
||||
})
|
||||
Reference in new issue
Block a user