Skip to content
Snippets Groups Projects
Commit 086a92b7 authored by Jan Seipel's avatar Jan Seipel
Browse files

Warnhinweis für unser Testsystem hinzugefügt

parent 378e7d62
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
// @name anfragen-pool-ux-improver
// @namespace https://test-anfragen-pool.swrapp.net/*
// @version 2024-06-26_14-58
// @version 2024-07-03_14-58
// @resource DASHBOARD_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-dashboard.css
// @resource TICKETZOOM_CSS https://gitlab.ard.de/Jan.Seipel/test-ap-ux-improver/-/raw/main/stylesheets/test-ap-style-ticketzoom.css
......@@ -69,4 +69,20 @@ window.addEventListener('load', function() {
}, 1000*120); // hier den Sekundenwert einstellen
}
// warnhinweis oben einfügen, falls man sich gerade auf dem Testsystem befindet
if (URL.includes("test-anfragen-pool.swrapp.net")) {
const warning = document.createElement("div");
warning.innerHTML = "Achtung: Testsystem!";
warning.style.color = "red";
warning.style.position = "absolute";
warning.style.top = "40px";
warning.style.textAlign = "center";
warning.style.width = "100%";
warning.style.paddingTop = "10px";
warning.style.fontSize = "2em";
document.body.appendChild(warning);
}
}, false);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment