Compare commits
No commits in common. "7f2e0febf3a430e4ba4f6cf1cf1c5ca10c5dd04d" and "f57b2452f990f9633210479200f700dfc94a9c67" have entirely different histories.
7f2e0febf3
...
f57b2452f9
@ -134,9 +134,8 @@ async fn route_index(
|
||||
) -> Result<Html<String>, String> {
|
||||
let mut out = String::new();
|
||||
|
||||
out.push_str("<!DOCTYPE html>\n");
|
||||
out.push_str("<html>\n");
|
||||
out.push_str("<head><title>Nur Ausstieg</title></head>\n");
|
||||
out.push_str("<header><title>Nur Ausstieg</title></header>\n");
|
||||
out.push_str("<body>\n");
|
||||
out.push_str("<h1>Nur ausstieg</h1>\n");
|
||||
out.push_str("<p>Es gibt Züge die innerhalb Berlins fahren, aber nicht im Fahrplan Routing der DB auftauchen, weil sie entweder in Berlin enden oder in Berlin beginnen.<br>\n");
|
||||
@ -169,9 +168,8 @@ async fn route_station_overview(
|
||||
|
||||
let mut out = String::new();
|
||||
|
||||
out.push_str("<!DOCTYPE html>\n");
|
||||
out.push_str("<html>\n");
|
||||
out.push_str(&format!("<head><title>Ziele für {} | Nur Ausstieg</title></head>\n", station_properties.name));
|
||||
out.push_str(&format!("<header><title>Ziele für {} | Nur Ausstieg</title></header>\n", station_properties.name));
|
||||
out.push_str("<body>\n");
|
||||
out.push_str(&format!("<h1>Ziele für {}</h1>\n", station_properties.name));
|
||||
out.push_str("<ul>\n");
|
||||
@ -237,9 +235,8 @@ async fn route_station_to_dest_station(
|
||||
|
||||
let mut out = String::new();
|
||||
|
||||
out.push_str("<!DOCTYPE html>\n");
|
||||
out.push_str("<html>\n");
|
||||
out.push_str(&format!("<head><title>Abfahrten für {} nach {} | Nur Ausstieg</title></head>\n", station_properties.name, dest_station_properties.name));
|
||||
out.push_str(&format!("<header><title>Abfahrten für {} nach {} | Nur Ausstieg</title></header>\n", station_properties.name, dest_station_properties.name));
|
||||
out.push_str("<body>\n");
|
||||
out.push_str(&format!("<h1>Abfahrten für {} nach {}</h1>\n", station_properties.name, dest_station_properties.name));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user