Browse Source

Add maintenance notice about generating new map

Have to take the server down while map is generating. The minecraft overviewer
1.13 branch is abysmally slow generating a new map.
Tyler Hallada 5 years ago
parent
commit
25df631ce8
2 changed files with 19 additions and 0 deletions
  1. 15 0
      css/styles.css
  2. 4 0
      index.html

+ 15 - 0
css/styles.css

@@ -130,3 +130,18 @@ ol li code {
130 130
   margin-top: 5px;
131 131
   margin-bottom: 0;
132 132
 }
133
+
134
+.maintenance-notice {
135
+  padding: 20px;
136
+  background: darkred;
137
+  color: white;
138
+}
139
+
140
+.maintenance-notice h3 {
141
+  margin: 0;
142
+  margin-right: 20px;
143
+}
144
+
145
+.maintenance-notice h3,span {
146
+  display: inline-block;
147
+}

+ 4 - 0
index.html

@@ -7,6 +7,10 @@
7 7
         <meta charset="UTF-8">
8 8
     </head>
9 9
     <body>
10
+        <div class="maintenance-notice">
11
+          <h3>Server is down</h3>
12
+          <span>ETA: 15 hours for generating a new Minecraft 1.13 map.</span>
13
+        </div>
10 14
         <div class="width-limit">
11 15
             <h1>Panic Shack - Minecraft Server</h1>
12 16
             <img src="img/bridge.jpg" alt="Screenshot from the Minecraft server of a bridge over a lake in a jungle biome">