aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vorlesungen/01_start/MathSem-01-start.tex9
-rw-r--r--vorlesungen/stream/countdown.html46
-rw-r--r--vorlesungen/stream/thumbnail.jpgbin182814 -> 205666 bytes
3 files changed, 46 insertions, 9 deletions
diff --git a/vorlesungen/01_start/MathSem-01-start.tex b/vorlesungen/01_start/MathSem-01-start.tex
index f0be577..254bb60 100644
--- a/vorlesungen/01_start/MathSem-01-start.tex
+++ b/vorlesungen/01_start/MathSem-01-start.tex
@@ -8,11 +8,16 @@
\setboolean{presentation}{true}
\begin{document}
\begin{frame}
-%\vspace{-2cm}
+\begin{columns}
+\begin{column}{0.48\textwidth}
+\titlepage
+\end{column}
+\begin{column}{0.48\textwidth}
\begin{center}
\includegraphics[width=6cm]{../../cover/front.png}
\end{center}
-%\titlepage
+\end{column}
+\end{columns}
\end{frame}
\input{slides.tex}
\end{document}
diff --git a/vorlesungen/stream/countdown.html b/vorlesungen/stream/countdown.html
index 12f99ac..99e1197 100644
--- a/vorlesungen/stream/countdown.html
+++ b/vorlesungen/stream/countdown.html
@@ -17,15 +17,47 @@ color: #990000;
<body>
<div id="demo"></div>
<script>
-var deadline = new Date("May 17, 2021 17:00:00").getTime();
+var deadline = 0;
+
+function checkfor(d) {
+ let now = new Date().getTime();
+ let ds = new Date().toDateString().substr(0, 17) + " " + d + ":00";
+ console.log("time string: " + ds);
+ let start = new Date(ds).getTime();
+ console.log("now: " + now);
+ if ((start > now) && ((start-now) < 1800000)) {
+ deadline = start;
+ console.log("set deadline to: " + ds);
+ } else {
+ console.log("skipping: " + ds);
+ }
+}
+
+checkfor("08:10");
+checkfor("09:05");
+checkfor("10:10");
+checkfor("11:05");
+checkfor("12:10");
+checkfor("13:10");
+checkfor("14:05");
+checkfor("15:10");
+checkfor("16:05");
+checkfor("17:00");
+checkfor("17:55");
+checkfor("19:00");
+
+checkfor("21:41");
+checkfor("22:40");
+checkfor("23:10");
+
var x = setInterval(function() {
-var now = new Date().getTime();
-var t = deadline - now;
+let now = new Date().getTime();
+let 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);
+ let days = Math.floor(t / (1000 * 60 * 60 * 24));
+ let hours = Math.floor((t%(1000 * 60 * 60 * 24))/(1000 * 60 * 60));
+ let minutes = Math.floor((t % (1000 * 60 * 60)) / (1000 * 60));
+ let seconds = Math.floor((t % (1000 * 60)) / 1000);
document.getElementById("demo").innerHTML
= ("00" + minutes).slice(-2) + ":" + ("00" + seconds).slice(-2);
} else {
diff --git a/vorlesungen/stream/thumbnail.jpg b/vorlesungen/stream/thumbnail.jpg
index 9eef656..f2335a8 100644
--- a/vorlesungen/stream/thumbnail.jpg
+++ b/vorlesungen/stream/thumbnail.jpg
Binary files differ