From 6b93382abf3f95c96db1db143c8c9b2fd02e0d14 Mon Sep 17 00:00:00 2001 From: Harold Woo Date: Wed, 11 Nov 2020 11:37:02 -0800 Subject: [PATCH] Colorblind friendly UI --- Dockerfile.dev | 2 ++ config/airflow_local_settings.py | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 config/airflow_local_settings.py diff --git a/Dockerfile.dev b/Dockerfile.dev index 79f9ac43..9543cf81 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -32,6 +32,8 @@ RUN export SLUGIFY_USES_TEXT_UNIDECODE=yes && pip install --no-cache-dir -r requ # Switch back to home directory WORKDIR /app +COPY ./config/ /app + USER 10001 ENV PYTHONUNBUFFERED=1 \ diff --git a/config/airflow_local_settings.py b/config/airflow_local_settings.py new file mode 100644 index 00000000..deb6c2b3 --- /dev/null +++ b/config/airflow_local_settings.py @@ -0,0 +1,11 @@ +STATE_COLORS = { + "queued": 'gray', + "running": 'lime', + "success": '#0000FF', + "failed": 'red', + "up_for_retry": 'gold', + "up_for_reschedule": 'turquoise', + "upstream_failed": 'orange', + "skipped": 'pink', + "scheduled": 'tan', +}