diff options
author | Julien Dessaux | 2021-09-11 12:27:59 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-09-11 12:27:59 +0200 |
commit | aff4790d22728d89e7e2dac8af262c92087b5b39 (patch) | |
tree | a9e4ccae95529835abb0b18e856f3f40b98c0f8e /internal/webui/html/root.html | |
parent | Changed the way html pages title is set (diff) | |
download | trains-aff4790d22728d89e7e2dac8af262c92087b5b39.tar.gz trains-aff4790d22728d89e7e2dac8af262c92087b5b39.tar.bz2 trains-aff4790d22728d89e7e2dac8af262c92087b5b39.zip |
Piece evry last week changes together in a big rewrite of the webui
Diffstat (limited to 'internal/webui/html/root.html')
-rw-r--r-- | internal/webui/html/root.html | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/internal/webui/html/root.html b/internal/webui/html/root.html index 97441c8..6b7bd6e 100644 --- a/internal/webui/html/root.html +++ b/internal/webui/html/root.html @@ -1,16 +1,9 @@ -{{ define "title"}}Horaires des prochains trains à Crépieux la Pape{{ end }} +{{ define "title"}}Trains!{{ end }} {{ template "base" . }} {{ define "main" }} -<h3>Horaires des prochains trains à Crépieux la Pape</h3> -<table> - <thead> - <tr><th>Arrivée en gare</th><th>Direction</th></tr> - </thead> - <tbody> - {{ range .Departures }} - <tr{{ if .Odd }} style="color:#111111;"{{ end }}><td>{{ .Arrival }}</td><td>{{ .DisplayName }}</td></tr> - {{ end }} - </tbody> -</table> +<h3>Menu</h3> +<ul> + <li><a href="/stop">Stop list</a></li> +</ul> {{ end }} |