widescreen by default
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 9m16s
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 9m16s
This commit is contained in:
parent
5990b3a6e3
commit
cd8de0a06d
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ where T: Template,
|
||||||
Fut: Future<Output = anyhow::Result<ContentTemplate<T>>> + 'static {
|
Fut: Future<Output = anyhow::Result<ContentTemplate<T>>> + 'static {
|
||||||
|
|
||||||
let start_time = Instant::now();
|
let start_time = Instant::now();
|
||||||
let mut enable_widescreen = false;
|
let mut enable_widescreen = true;
|
||||||
if let Some(widescreen_set) = req.cookie("widescreen") {
|
if let Some(widescreen_set) = req.cookie("widescreen") {
|
||||||
enable_widescreen = widescreen_set.value() == "true";
|
enable_widescreen = widescreen_set.value() == "true";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||||
{% if let Tracked(live) = live_o %}
|
{% if let Tracked(live) = live_o %}
|
||||||
{% let time = (t + (live.delay * 60.0) as i64) %}
|
{% let time = (t + (live.delay * 60.0) as i64) %}
|
||||||
{% if live.next_stop_id == Some(*row.stop_id) %}
|
{% if live.next_stop_id == Some(*row.stop_id) %}
|
||||||
<td style="background-color: #005500">
|
<td style="background-color: #007700">
|
||||||
{% else %}
|
{% else %}
|
||||||
<td style="background-color: #003300">
|
<td style="background-color: #003300">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue