generate website

This commit is contained in:
2025-08-24 22:32:24 +02:00
parent 10df613dd7
commit ddef1be220
11 changed files with 937 additions and 260 deletions

40
templates/base.html Normal file
View File

@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<title>Abfahrten {{ station }}</title>
<link
rel="stylesheet"
href="{{ url_for('static', filename='styles.css') }}"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="header-table-container">
<table id="header", class="header-table">
<tr>
<td class="header-station">
<h1>{{ station }}</h1>
</td>
<td class="header-clock">
<h1 id="clock" >{{ current_time_str }}</h1>
</td>
</tr>
</table>
</div>
<!-- <div class="header-box">
<h1>{{ station }}</h1>
<h1 id="clock", class="clock">{{ current_time_str }}</h1>
</div> -->
<div class="departure-table-container">
<table id="departures", class="departure-table"></table>
</div>
</body>
{% for file in js_files %}
<script type="text/javascript" src="{{file}}"></script>
{% endfor %}
</html>