diff options
Diffstat (limited to '')
-rw-r--r-- | vorlesungen/stream/countdown.html | 80 | ||||
-rw-r--r-- | vorlesungen/stream/ende.html | 60 |
2 files changed, 70 insertions, 70 deletions
diff --git a/vorlesungen/stream/countdown.html b/vorlesungen/stream/countdown.html index 940e269..739b39d 100644 --- a/vorlesungen/stream/countdown.html +++ b/vorlesungen/stream/countdown.html @@ -1,40 +1,40 @@ -<!DOCTYPE HTML> -<html> -<head> -<style> -p { -text-align: center; -font-size: 60px; -} -div { -font-family: "Courier"; -text-align: center; -font-size: 60px; -color: #990000; -} -</style> -</head> -<body> -<div id="demo"></div> -<script> -var deadline = new Date("Mar 29, 2021 17:00:00").getTime(); -var x = setInterval(function() { -var now = new Date().getTime(); -var t = deadline - now; -if (t > 0) { - var days = Math.floor(t / (1000 * 60 * 60 * 24)); - var hours = Math.floor((t%(1000 * 60 * 60 * 24))/(1000 * 60 * 60)); - var minutes = Math.floor((t % (1000 * 60 * 60)) / (1000 * 60)); - var seconds = Math.floor((t % (1000 * 60)) / 1000); - document.getElementById("demo").innerHTML - = ("00" + minutes).slice(-2) + ":" + ("00" + seconds).slice(-2); -} else { - document.getElementById("demo").innerHTML = "00:00"; -} -}, 1000); - -</script> - -</body> -</html> - +<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+p {
+text-align: center;
+font-size: 60px;
+}
+div {
+font-family: "Courier";
+text-align: center;
+font-size: 60px;
+color: #990000;
+}
+</style>
+</head>
+<body>
+<div id="demo"></div>
+<script>
+var deadline = new Date("Mar 29, 2021 17:00:00").getTime();
+var x = setInterval(function() {
+var now = new Date().getTime();
+var t = deadline - now;
+if (t > 0) {
+ var days = Math.floor(t / (1000 * 60 * 60 * 24));
+ var hours = Math.floor((t%(1000 * 60 * 60 * 24))/(1000 * 60 * 60));
+ var minutes = Math.floor((t % (1000 * 60 * 60)) / (1000 * 60));
+ var seconds = Math.floor((t % (1000 * 60)) / 1000);
+ document.getElementById("demo").innerHTML
+ = ("00" + minutes).slice(-2) + ":" + ("00" + seconds).slice(-2);
+} else {
+ document.getElementById("demo").innerHTML = "00:00";
+}
+}, 1000);
+
+</script>
+
+</body>
+</html>
+
diff --git a/vorlesungen/stream/ende.html b/vorlesungen/stream/ende.html index ee25dcf..cfd9e99 100644 --- a/vorlesungen/stream/ende.html +++ b/vorlesungen/stream/ende.html @@ -1,30 +1,30 @@ -<!DOCTYPE HTML> -<html> -<head> -<style> -p { -text-align: center; -font-size: 60px; -} -div { -font-family: "Courier"; -text-align: center; -font-size: 60px; -color: #990000; -} -</style> -</head> -<body> -<div id="demo"> -<p> -Vielen Dank für Ihren Besuch. -</p> -<div style="margin: 200px;"/> </div> -<p> -Fortsetzung der Seminar-Sitzung in -der BBB-Konferenz in Moodle. -</p> -</div> -</body> -</html> - +<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+p {
+text-align: center;
+font-size: 60px;
+}
+div {
+font-family: "Courier";
+text-align: center;
+font-size: 60px;
+color: #990000;
+}
+</style>
+</head>
+<body>
+<div id="demo">
+<p>
+Vielen Dank für Ihren Besuch.
+</p>
+<div style="margin: 200px;"/> </div>
+<p>
+Fortsetzung der Seminar-Sitzung in
+der BBB-Konferenz in Moodle.
+</p>
+</div>
+</body>
+</html>
+
|