Spaces:
Sleeping
Sleeping
Update index.html
Browse files- index.html +2 -81
index.html
CHANGED
|
@@ -128,19 +128,14 @@
|
|
| 128 |
<!-- Navigation -->
|
| 129 |
<nav class="navbar">
|
| 130 |
<span onclick="showSection('home')" class="active">Startseite</span>
|
| 131 |
-
<span onclick="showSection('abfahrten')">Abfahrten</span>
|
| 132 |
<span onclick="showSection('infos')">Infos</span>
|
| 133 |
-
<span onclick="showSection('netzplan')">Netzplan</span>
|
| 134 |
-
<span onclick="showSection('sneakpeeks')">Sneak-Peeks</span>
|
| 135 |
<span onclick="showSection('contact-section')">Kontakt</span>
|
| 136 |
</nav>
|
| 137 |
|
| 138 |
<!-- Startseite -->
|
| 139 |
<section id="home" class="section active">
|
| 140 |
-
<h1>Willkommen
|
| 141 |
-
<p>
|
| 142 |
-
<img src="/static/623012.png" alt="Rework LINT - 623 010 im Betriebswerk" width="800" height="500">
|
| 143 |
-
<p>Hier zu sehen ist Zug 623 010 im Betriebswerk, wo der Zug bereit zur Ausfahrt steht.</p>
|
| 144 |
</section>
|
| 145 |
|
| 146 |
<!-- Infos -->
|
|
@@ -155,40 +150,6 @@
|
|
| 155 |
<div id="message" style="display: none;">Kein Gamelink aktiv...</div>
|
| 156 |
</section>
|
| 157 |
|
| 158 |
-
<!-- Abfahrten -->
|
| 159 |
-
<section id="abfahrten" class="section">
|
| 160 |
-
<h1>Abfahrten an einer Haltestelle</h1>
|
| 161 |
-
|
| 162 |
-
<div class="panel">
|
| 163 |
-
<label for="stopSelect">Haltestelle auswählen:</label>
|
| 164 |
-
<select id="stopSelect"></select>
|
| 165 |
-
|
| 166 |
-
<div id="departures"></div>
|
| 167 |
-
</div>
|
| 168 |
-
</section>
|
| 169 |
-
|
| 170 |
-
<section id="netzplan" class="section">
|
| 171 |
-
<h1>Unser Netzplan</h1>
|
| 172 |
-
<p>Sobald es einen offiziellen Netzplan gibt, wird er hier erscheinen!</p>
|
| 173 |
-
</section>
|
| 174 |
-
|
| 175 |
-
<section id="sneakpeeks" class="section">
|
| 176 |
-
<h1>Sneak-Peeks</h1>
|
| 177 |
-
<p>Hier kommen Sneak-Peeks samt Datum.</p>
|
| 178 |
-
|
| 179 |
-
<img src="https://cdn.discordapp.com/attachments/1474441282733736199/1480186142115762186/image.png?ex=69b16544&is=69b013c4&hm=f2a90adcfc2b01b4ece090593a012cf6bac9ff5efc52e30b385fe3d330742778&" alt="Busverkehr">
|
| 180 |
-
<p>8. März 2026 - Wir begrüßen den Busverkehr bei uns!</p>
|
| 181 |
-
<p>--------------------------------------------------------------------------------------------------------------------------------------------</p>
|
| 182 |
-
<img src="https://cdn.discordapp.com/attachments/1474441282733736199/1480177689007755414/image.png?ex=69b15d65&is=69b00be5&hm=d1bfd98d95eeb567b38eafa8435c8483087963a96e9f2f131f1870e6f5531166&" alt="623 110 an einer neuen Station?">
|
| 183 |
-
<p>8. März 2026 - Wagen 623 110 steht an einem neuen Kopfbahnhof. </p>
|
| 184 |
-
<p>--------------------------------------------------------------------------------------------------------------------------------------------</p>
|
| 185 |
-
<img src="https://cdn.discordapp.com/attachments/1474441282733736199/1479769788975677645/image.png?ex=69ad3e82&is=69abed02&hm=1d2fc6b3489052deae7125807f77c75aa26fcb7c38c66637c8f1cab87a560153&" alt="111+Dosto">
|
| 186 |
-
<p>7. März 2026 - Ein weiterer Zug in unserer Flotte (Dieser ist noch nicht fertig)</p>
|
| 187 |
-
<p>--------------------------------------------------------------------------------------------------------------------------------------------</p>
|
| 188 |
-
<img src="https://cdn.discordapp.com/attachments/1474441282733736199/1479490142531223655/image.png?ex=69ac3a11&is=69aae891&hm=5aed7125f2dbc5e45089a505dcdb27badf293de94ce5d32c0d31596119dd5960&" alt="Signalsystem überarbeitet">
|
| 189 |
-
<p>6. März 2026 - Signalsystem wurde überarbeitet!</p>
|
| 190 |
-
</section>
|
| 191 |
-
|
| 192 |
<!-- =========================
|
| 193 |
SECTION: Kontaktformular
|
| 194 |
========================= -->
|
|
@@ -231,46 +192,6 @@
|
|
| 231 |
msg.style.display = "block";
|
| 232 |
setTimeout(() => msg.style.display = "none", 3000);
|
| 233 |
});
|
| 234 |
-
|
| 235 |
-
/* Fahrplan-Demo */
|
| 236 |
-
const timetable = [
|
| 237 |
-
];
|
| 238 |
-
|
| 239 |
-
const stops = [...new Set(timetable.map(t => t.stop))].sort();
|
| 240 |
-
const stopSelect = document.getElementById("stopSelect");
|
| 241 |
-
const departuresDiv = document.getElementById("departures");
|
| 242 |
-
|
| 243 |
-
stops.forEach(s => {
|
| 244 |
-
const opt = document.createElement("option");
|
| 245 |
-
opt.value = s;
|
| 246 |
-
opt.textContent = s;
|
| 247 |
-
stopSelect.appendChild(opt);
|
| 248 |
-
});
|
| 249 |
-
|
| 250 |
-
function showDepartures(stop) {
|
| 251 |
-
departuresDiv.innerHTML = "";
|
| 252 |
-
const list = timetable.filter(t => t.stop === stop).sort((a, b) => a.time.localeCompare(b.time));
|
| 253 |
-
|
| 254 |
-
if (list.length === 0) {
|
| 255 |
-
departuresDiv.innerHTML = "<p>Keine Abfahrten gefunden.</p>";
|
| 256 |
-
return;
|
| 257 |
-
}
|
| 258 |
-
|
| 259 |
-
list.forEach(t => {
|
| 260 |
-
const div = document.createElement("div");
|
| 261 |
-
div.className = "departure";
|
| 262 |
-
div.innerHTML = `
|
| 263 |
-
<span class="line">${t.line}</span>
|
| 264 |
-
<span>${t.direction}</span>
|
| 265 |
-
<span>${t.time}</span>
|
| 266 |
-
`;
|
| 267 |
-
departuresDiv.appendChild(div);
|
| 268 |
-
});
|
| 269 |
-
}
|
| 270 |
-
|
| 271 |
-
stopSelect.addEventListener("change", () => {
|
| 272 |
-
showDepartures(stopSelect.value);
|
| 273 |
-
});
|
| 274 |
</script>
|
| 275 |
|
| 276 |
</body>
|
|
|
|
| 128 |
<!-- Navigation -->
|
| 129 |
<nav class="navbar">
|
| 130 |
<span onclick="showSection('home')" class="active">Startseite</span>
|
|
|
|
| 131 |
<span onclick="showSection('infos')">Infos</span>
|
|
|
|
|
|
|
| 132 |
<span onclick="showSection('contact-section')">Kontakt</span>
|
| 133 |
</nav>
|
| 134 |
|
| 135 |
<!-- Startseite -->
|
| 136 |
<section id="home" class="section active">
|
| 137 |
+
<h1>Willkommen bei RSBtech</h1>
|
| 138 |
+
<p>Welcome to RSBtech</p>
|
|
|
|
|
|
|
| 139 |
</section>
|
| 140 |
|
| 141 |
<!-- Infos -->
|
|
|
|
| 150 |
<div id="message" style="display: none;">Kein Gamelink aktiv...</div>
|
| 151 |
</section>
|
| 152 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
<!-- =========================
|
| 154 |
SECTION: Kontaktformular
|
| 155 |
========================= -->
|
|
|
|
| 192 |
msg.style.display = "block";
|
| 193 |
setTimeout(() => msg.style.display = "none", 3000);
|
| 194 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
</script>
|
| 196 |
|
| 197 |
</body>
|