added new links
This commit is contained in:
parent
48cfa10160
commit
a8bcea141a
93
rückmeldung/css/style-plan.css
Normal file
93
rückmeldung/css/style-plan.css
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
box-sizing: border-box;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Myriad Pro", "Lucida Grande", "Trebuchet MS", sans-serif;
|
||||||
|
color: #202020;
|
||||||
|
padding: 2rem;
|
||||||
|
background:
|
||||||
|
url(../images/square_bg.png) repeat top left,
|
||||||
|
url(../images/logo_transparent.png) no-repeat calc(100vw - 200px) 30px;
|
||||||
|
background-size: auto, 150px 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
header, main, footer {
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 750px;
|
||||||
|
max-width: calc(100vw-2rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
margin-top: 2rem;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2 {
|
||||||
|
padding-bottom: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link,
|
||||||
|
a:visited,
|
||||||
|
a:active,
|
||||||
|
a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link,
|
||||||
|
a:visited,
|
||||||
|
a:active,
|
||||||
|
a:hover {
|
||||||
|
color: rgb(41, 125, 207);
|
||||||
|
transition: color .2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
cellpadding: .5rem;
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr:not(:last-of-type) {
|
||||||
|
border-bottom: 1px solid gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
table th {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
table td.first-row {
|
||||||
|
width: 180px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table th, table td {
|
||||||
|
vertical-align: top;
|
||||||
|
padding: .5rem .2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1100px) {
|
||||||
|
body {
|
||||||
|
background: url(../images/square_bg.png) repeat top left;
|
||||||
|
}
|
||||||
|
|
||||||
|
main, header, footer {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
max-width: calc(100vw - 4rem);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 530px) {
|
||||||
|
body {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
120
rückmeldung/css/style.css
Normal file
120
rückmeldung/css/style.css
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
display: grid;
|
||||||
|
grid-template-rows: auto 1fr auto;
|
||||||
|
height: 100vh;
|
||||||
|
padding: 2rem;
|
||||||
|
font-family:"Myriad Pro", "Lucida Grande", "Trebuchet MS", sans-serif;
|
||||||
|
color: #202020;
|
||||||
|
background:
|
||||||
|
url(../images/square_bg.png) repeat top left,
|
||||||
|
url(../images/logo_transparent.png) no-repeat calc(100vw - 200px) 30px;
|
||||||
|
background-size: auto, 150px 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2 {
|
||||||
|
padding-bottom: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul {
|
||||||
|
display: grid;
|
||||||
|
margin: 2rem 0;
|
||||||
|
height: calc(100% - 4rem);
|
||||||
|
grid-template-rows: repeat(4, 1fr);
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
grid-gap: 4px;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li a {
|
||||||
|
--baseHue: 213;
|
||||||
|
--altHue: 199;
|
||||||
|
|
||||||
|
--hue: var(--baseHue);
|
||||||
|
--sat: 100%;
|
||||||
|
--lum: 67%;
|
||||||
|
--alpha: .4;
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 1.5rem;
|
||||||
|
background-color: hsla(var(--hue), var(--sat), var(--lum), var(--alpha));
|
||||||
|
transition: background-color .2s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li:nth-of-type(2n) a {
|
||||||
|
--hue: var(--altHue);
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li a:hover {
|
||||||
|
--alpha: .2;
|
||||||
|
}
|
||||||
|
|
||||||
|
main a:link,
|
||||||
|
main a:visited,
|
||||||
|
main a:active,
|
||||||
|
main a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link,
|
||||||
|
a:visited,
|
||||||
|
a:active,
|
||||||
|
a:hover {
|
||||||
|
color: rgb(15, 15, 15);
|
||||||
|
transition: color .2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.without-english-version {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 850px) {
|
||||||
|
body {
|
||||||
|
background: url(../images/square_bg.png) repeat top left;
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li:nth-of-type(2n) a {
|
||||||
|
--hue: var(--baseHue)
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li:nth-of-type(4n + 1) a,
|
||||||
|
main ul li:nth-of-type(4n + 4) a {
|
||||||
|
--hue: var(--altHue)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 530px) {
|
||||||
|
body {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li:nth-of-type(4n + 1) a,
|
||||||
|
main ul li:nth-of-type(4n + 4) a {
|
||||||
|
--hue: var(--baseHue)
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li:nth-of-type(2n) a {
|
||||||
|
--hue: var(--altHue)
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li a {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
36
rückmeldung/index.html
Normal file
36
rückmeldung/index.html
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
<!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>
|
||||||
|
let redirectLocation = 'https://www.uni-bamberg.de/studium/im-studium/studienorganisation/rueckmeldung/';
|
||||||
|
window.location.href = 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>
|
||||||
49
rückmeldung/index.html.save
Normal file
49
rückmeldung/index.html.save
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
<!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>
|
||||||
93
ultrastar/css/style-plan.css
Normal file
93
ultrastar/css/style-plan.css
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
box-sizing: border-box;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Myriad Pro", "Lucida Grande", "Trebuchet MS", sans-serif;
|
||||||
|
color: #202020;
|
||||||
|
padding: 2rem;
|
||||||
|
background:
|
||||||
|
url(../images/square_bg.png) repeat top left,
|
||||||
|
url(../images/logo_transparent.png) no-repeat calc(100vw - 200px) 30px;
|
||||||
|
background-size: auto, 150px 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
header, main, footer {
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 750px;
|
||||||
|
max-width: calc(100vw-2rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
margin-top: 2rem;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2 {
|
||||||
|
padding-bottom: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link,
|
||||||
|
a:visited,
|
||||||
|
a:active,
|
||||||
|
a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link,
|
||||||
|
a:visited,
|
||||||
|
a:active,
|
||||||
|
a:hover {
|
||||||
|
color: rgb(41, 125, 207);
|
||||||
|
transition: color .2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
cellpadding: .5rem;
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr:not(:last-of-type) {
|
||||||
|
border-bottom: 1px solid gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
table th {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
table td.first-row {
|
||||||
|
width: 180px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table th, table td {
|
||||||
|
vertical-align: top;
|
||||||
|
padding: .5rem .2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1100px) {
|
||||||
|
body {
|
||||||
|
background: url(../images/square_bg.png) repeat top left;
|
||||||
|
}
|
||||||
|
|
||||||
|
main, header, footer {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
max-width: calc(100vw - 4rem);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 530px) {
|
||||||
|
body {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
120
ultrastar/css/style.css
Normal file
120
ultrastar/css/style.css
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
display: grid;
|
||||||
|
grid-template-rows: auto 1fr auto;
|
||||||
|
height: 100vh;
|
||||||
|
padding: 2rem;
|
||||||
|
font-family:"Myriad Pro", "Lucida Grande", "Trebuchet MS", sans-serif;
|
||||||
|
color: #202020;
|
||||||
|
background:
|
||||||
|
url(../images/square_bg.png) repeat top left,
|
||||||
|
url(../images/logo_transparent.png) no-repeat calc(100vw - 200px) 30px;
|
||||||
|
background-size: auto, 150px 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2 {
|
||||||
|
padding-bottom: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul {
|
||||||
|
display: grid;
|
||||||
|
margin: 2rem 0;
|
||||||
|
height: calc(100% - 4rem);
|
||||||
|
grid-template-rows: repeat(4, 1fr);
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
grid-gap: 4px;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li a {
|
||||||
|
--baseHue: 213;
|
||||||
|
--altHue: 199;
|
||||||
|
|
||||||
|
--hue: var(--baseHue);
|
||||||
|
--sat: 100%;
|
||||||
|
--lum: 67%;
|
||||||
|
--alpha: .4;
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 1.5rem;
|
||||||
|
background-color: hsla(var(--hue), var(--sat), var(--lum), var(--alpha));
|
||||||
|
transition: background-color .2s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li:nth-of-type(2n) a {
|
||||||
|
--hue: var(--altHue);
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li a:hover {
|
||||||
|
--alpha: .2;
|
||||||
|
}
|
||||||
|
|
||||||
|
main a:link,
|
||||||
|
main a:visited,
|
||||||
|
main a:active,
|
||||||
|
main a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link,
|
||||||
|
a:visited,
|
||||||
|
a:active,
|
||||||
|
a:hover {
|
||||||
|
color: rgb(15, 15, 15);
|
||||||
|
transition: color .2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.without-english-version {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 850px) {
|
||||||
|
body {
|
||||||
|
background: url(../images/square_bg.png) repeat top left;
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li:nth-of-type(2n) a {
|
||||||
|
--hue: var(--baseHue)
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li:nth-of-type(4n + 1) a,
|
||||||
|
main ul li:nth-of-type(4n + 4) a {
|
||||||
|
--hue: var(--altHue)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 530px) {
|
||||||
|
body {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li:nth-of-type(4n + 1) a,
|
||||||
|
main ul li:nth-of-type(4n + 4) a {
|
||||||
|
--hue: var(--baseHue)
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li:nth-of-type(2n) a {
|
||||||
|
--hue: var(--altHue)
|
||||||
|
}
|
||||||
|
|
||||||
|
main ul li a {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
35
ultrastar/index.html
Normal file
35
ultrastar/index.html
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<!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>
|
||||||
|
window.location.href = 'https://hackmd.stuve-bamberg.de/MIMojCP3Rd-x_LEgAxKJZQ?both';
|
||||||
|
</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>
|
||||||
49
ultrastar/index.html.save
Normal file
49
ultrastar/index.html.save
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
<!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>
|
||||||
Loading…
x
Reference in New Issue
Block a user