fix: use names instead of hostname :p
This commit is contained in:
parent
d1d148456d
commit
70de1d2428
3 changed files with 2 additions and 1835 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
.vscode
|
||||
/target
|
||||
Cargo.lock
|
1834
Cargo.lock
generated
1834
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -19,7 +19,7 @@ async function update() {
|
|||
let serviceDiv = document.createElement('div');
|
||||
serviceDiv.classList.add('service');
|
||||
serviceDiv.innerHTML = `
|
||||
<span class="service-name"><a href="https://${service.hostname}" target="_blank" style="color: #de4aff">${service.hostname}</a></span>
|
||||
<span class="service-name"><a href="https://${service.hostname}" target="_blank" style="color: #de4aff">${s.name}</a></span>
|
||||
<span class="service-status"><b style="color: ${service.success ? '#4f4' : 'red'}">${service.success ? 'Online' : 'Offline'}</b></span>
|
||||
`;
|
||||
serviceHolderDiv.appendChild(serviceDiv);
|
||||
|
|
Loading…
Reference in a new issue