From 9fb2d76a049b05172acc7b42800bdd6be120aaa3 Mon Sep 17 00:00:00 2001 From: Tadhg O'Higgins <2626258+tadhg-ohiggins@users.noreply.github.com> Date: Thu, 22 Jun 2023 10:34:53 -0700 Subject: [PATCH 1/2] Add quotation marks to self in Django settings.py for Content Security Policy. --- backend/config/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config/settings.py b/backend/config/settings.py index 28fd0a6dad..561d63f884 100644 --- a/backend/config/settings.py +++ b/backend/config/settings.py @@ -287,7 +287,7 @@ # see settings options https://django-csp.readthedocs.io/en/latest/configuration.html#configuration-chapter bucket = f"{STATIC_URL}" allowed_sources = ( - "self", + "'self'", bucket, "https://idp.int.identitysandbox.gov/", "https://dap.digitalgov.gov", From cfc55117ab76270c600fc0eb44dbaef69064e86f Mon Sep 17 00:00:00 2001 From: Matt Henry Date: Thu, 22 Jun 2023 13:40:25 -0400 Subject: [PATCH 2/2] Add testing banner --- backend/static/scss/_header.scss | 6 ++++++ backend/templates/includes/header.html | 3 +++ 2 files changed, 9 insertions(+) diff --git a/backend/static/scss/_header.scss b/backend/static/scss/_header.scss index deffe5e635..cd997c1864 100644 --- a/backend/static/scss/_header.scss +++ b/backend/static/scss/_header.scss @@ -107,3 +107,9 @@ } } } + +.fac-beta-banner { + background-color: color('gold-5v'); + font-size: .88rem; + padding-block: .2rem; +} diff --git a/backend/templates/includes/header.html b/backend/templates/includes/header.html index 011de92fa4..d291f77748 100644 --- a/backend/templates/includes/header.html +++ b/backend/templates/includes/header.html @@ -76,6 +76,9 @@ +
+
This application is currently under active development. Thank you for helping to improve the FAC by participating in user testing.
+
{% include "includes/nav_primary.html" %}