From 732a6e5c1ec535eedcf8bfb755f57796aa61aea6 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Sun, 20 Oct 2024 19:05:51 +0100 Subject: [PATCH] Fix contrast and width issues on "now" alert --- pipeline/source_assets/scss/_custom-variables.scss | 1 + templates/index.html | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pipeline/source_assets/scss/_custom-variables.scss b/pipeline/source_assets/scss/_custom-variables.scss index 4eb0c907..b77fc42d 100644 --- a/pipeline/source_assets/scss/_custom-variables.scss +++ b/pipeline/source_assets/scss/_custom-variables.scss @@ -9,3 +9,4 @@ $theme-colors: ( "primary": #3A52A2 ) !default; $enable-shadows: true; +$alert-color-level: 10; diff --git a/templates/index.html b/templates/index.html index 919987cf..10dd9503 100644 --- a/templates/index.html +++ b/templates/index.html @@ -9,9 +9,11 @@

Rig Information Gathering System

Welcome back {{ user.get_full_name }}, there {%if rig_count == 1 %}is one rig coming up{%else%}are {{ rig_count|apnumber }} rigs coming up.{%endif%}

{% if now %} -
+
{% for event in now %} +
Event {{ event }} is happening today! Check In
+
{% endfor %}
{% endif %}