Add second protocol link
This commit is contained in:
parent
6a06ab8fd2
commit
c219b705d5
@ -1,49 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<title>Weiterleitung</title>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/>
|
|
||||||
</head>
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
height: 100vh;
|
|
||||||
width: 100vw;
|
|
||||||
overflow: hidden;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-family: "Myriad Pro", "Lucida Grande", "Trebuchet MS", sans-serif;
|
|
||||||
background: url(./images/square_bg.png) repeat top left;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin-top: 2rem;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<body>
|
|
||||||
<script>
|
|
||||||
function getNextDayOfWeek(dayOfWeek) {
|
|
||||||
// reference: https://codereview.stackexchange.com/questions/33527/find-next-occurring-friday-or-any-dayofweek
|
|
||||||
var date = new Date();
|
|
||||||
date.setDate(date.getDate() + (7 + dayOfWeek - date.getDay()) % 7);
|
|
||||||
return date;
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: If the meeting does not happen on Tuesday, change 2 to whatever weekday we need.
|
|
||||||
let date = getNextDayOfWeek(3);
|
|
||||||
let year = date.getFullYear();
|
|
||||||
let month = date.getMonth() > 8 ? (date.getMonth()+1) : '0' + (date.getMonth()+1);
|
|
||||||
let day = date.getDate() > 9 ? date.getDate() : '0' + date.getDate();
|
|
||||||
let redirectLocation = `https://hackmd.stuve-bamberg.de/sitzung${year}${month}${day}?both`;
|
|
||||||
/////let redirectLocation = `https://hackmd.stuve-bamberg.de/sitzung20230110`;
|
|
||||||
window.location.replace(redirectLocation);
|
|
||||||
</script>//
|
|
||||||
<img src="https://files.stuve-bamberg.de/logo_transparent.png" width="200px"/>
|
|
||||||
<noscript><p>Diese Seite funktioniert ggf. nur mit JavaScript.</p></noscript>
|
|
||||||
<!--p>Sie werden in Kürze weitergeleitet.</p-->
|
|
||||||
<p>There ain't no nothing here.</p>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
2
protokoll/index.html
Normal file
2
protokoll/index.html
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<meta http-equiv="refresh" content="0; URL=https://wiai.de/hello">
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user