reverse block
This commit is contained in:
@@ -76,7 +76,7 @@ public class VotingController {
|
|||||||
|
|
||||||
@RequestMapping("/")
|
@RequestMapping("/")
|
||||||
public String WelcomeSite() {
|
public String WelcomeSite() {
|
||||||
LocalDate finishDate = LocalDate.of(2021, Month.JANUARY,8);
|
LocalDate finishDate = LocalDate.of(2021, Month.JANUARY,17);
|
||||||
LocalDate now = LocalDate.now();
|
LocalDate now = LocalDate.now();
|
||||||
|
|
||||||
if(now.isAfter(finishDate)){
|
if(now.isAfter(finishDate)){
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
<body class="center-screen">
|
<body class="center-screen">
|
||||||
<div class="centered">
|
<div class="centered">
|
||||||
<h1>Es finden momentan Wartungen statt</h1>
|
<h1>Du bist leider zu spät</h1>
|
||||||
|
<h2>Momentan ist hier auf der Seite nichts los</h2>
|
||||||
<button id="backButton" class="submitButton">Zur Adolfinum Seite</button>
|
<button id="backButton" class="submitButton">Zur Adolfinum Seite</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user