Skip to content
Snippets Groups Projects
Commit 648f4e4e authored by Jiří Helebrant's avatar Jiří Helebrant
Browse files

Add a link to CESNET's speedtest to the "server down" notice

parent bd31d02b
No related merge requests found
Pipeline #71812 passed with stages
in 6 minutes and 7 seconds
......@@ -11,9 +11,9 @@ fetch(controlUrl + "version")
}, 300);
var notice = document.createElement("div");
notice.className = "server-down-notice";
notice.innerText =
notice.innerHTML =
document.documentElement.lang === "cs"
? "Na serverech Netmetru právě probíhá ůdržba, zkuste to prosím později."
: "Netmetr servers are currently down for maintenance, please check back later.";
? "Na serverech NetMetru právě probíhá údržba, zkuste to prosím později. V mezidobí můžete pro změření rychlosti použít například&nbsp;<a href='https://speedtest.cesnet.cz/'>test od kolegů z CESNETU</a>."
: "NetMetr servers are currently down for maintenance, please check back later. In the meantime, you can use, for example,&nbsp;<a href='https://speedtest.cesnet.cz/'>a test from colleagues at CESNET</a> to measure speed.";
document.querySelector("header.page-header").appendChild(notice);
});
......@@ -4,4 +4,8 @@
padding: 0.5em;
text-align: center;
border-radius: 0.25em;
a {
white-space: nowrap;
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment