Compare commits
2 Commits
f57b2452f9
...
7f2e0febf3
Author | SHA1 | Date | |
---|---|---|---|
7f2e0febf3 | |||
b521291863 |
@ -134,8 +134,9 @@ async fn route_index(
|
|||||||
) -> Result<Html<String>, String> {
|
) -> Result<Html<String>, String> {
|
||||||
let mut out = String::new();
|
let mut out = String::new();
|
||||||
|
|
||||||
|
out.push_str("<!DOCTYPE html>\n");
|
||||||
out.push_str("<html>\n");
|
out.push_str("<html>\n");
|
||||||
out.push_str("<header><title>Nur Ausstieg</title></header>\n");
|
out.push_str("<head><title>Nur Ausstieg</title></head>\n");
|
||||||
out.push_str("<body>\n");
|
out.push_str("<body>\n");
|
||||||
out.push_str("<h1>Nur ausstieg</h1>\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");
|
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");
|
||||||
@ -168,8 +169,9 @@ async fn route_station_overview(
|
|||||||
|
|
||||||
let mut out = String::new();
|
let mut out = String::new();
|
||||||
|
|
||||||
|
out.push_str("<!DOCTYPE html>\n");
|
||||||
out.push_str("<html>\n");
|
out.push_str("<html>\n");
|
||||||
out.push_str(&format!("<header><title>Ziele für {} | Nur Ausstieg</title></header>\n", station_properties.name));
|
out.push_str(&format!("<head><title>Ziele für {} | Nur Ausstieg</title></head>\n", station_properties.name));
|
||||||
out.push_str("<body>\n");
|
out.push_str("<body>\n");
|
||||||
out.push_str(&format!("<h1>Ziele für {}</h1>\n", station_properties.name));
|
out.push_str(&format!("<h1>Ziele für {}</h1>\n", station_properties.name));
|
||||||
out.push_str("<ul>\n");
|
out.push_str("<ul>\n");
|
||||||
@ -235,8 +237,9 @@ async fn route_station_to_dest_station(
|
|||||||
|
|
||||||
let mut out = String::new();
|
let mut out = String::new();
|
||||||
|
|
||||||
|
out.push_str("<!DOCTYPE html>\n");
|
||||||
out.push_str("<html>\n");
|
out.push_str("<html>\n");
|
||||||
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(&format!("<head><title>Abfahrten für {} nach {} | Nur Ausstieg</title></head>\n", station_properties.name, dest_station_properties.name));
|
||||||
out.push_str("<body>\n");
|
out.push_str("<body>\n");
|
||||||
out.push_str(&format!("<h1>Abfahrten für {} nach {}</h1>\n", station_properties.name, dest_station_properties.name));
|
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