From badb5f719103e9d73ccc8dba900e63a55455a716 Mon Sep 17 00:00:00 2001 From: Laura Porter Date: Tue, 2 Aug 2022 10:51:24 +0100 Subject: [PATCH] Remove phase banner from Editor UI Trello: https://trello.com/c/dwjOmcZn/798-remove-alpha-banner-from-eui Remove the phase banner and all its assets from the application. --- CHANGELOG.md | 1 + .../sass/includes/_phase_banner.scss | 34 ------------------- ds_caselaw_editor_ui/sass/main.scss | 1 - ds_caselaw_editor_ui/templates/base.html | 1 - .../templates/includes/phase_banner.html | 12 ------- .../templates/layout_judgment_html.html | 1 - .../templates/pages/home.html | 1 - 7 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 ds_caselaw_editor_ui/sass/includes/_phase_banner.scss delete mode 100644 ds_caselaw_editor_ui/templates/includes/phase_banner.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 05a0eb392..bdbecc246 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog 1.0.0]. ## [Unreleased] +- Remove phase banner from application [unreleased]: TODO [keep a changelog 1.0.0]: https://keepachangelog.com/en/1.0.0/ diff --git a/ds_caselaw_editor_ui/sass/includes/_phase_banner.scss b/ds_caselaw_editor_ui/sass/includes/_phase_banner.scss deleted file mode 100644 index 29827fafa..000000000 --- a/ds_caselaw_editor_ui/sass/includes/_phase_banner.scss +++ /dev/null @@ -1,34 +0,0 @@ -.phase-banner { - background-color: $color__black; - color: $color__white; - padding: calc($spacer__unit / 2) calc($spacer__unit * 2); - border-bottom: 0.125rem dotted $color__dark-grey; - - &__notice { - padding: 0.3em 0; - - a { - color: $color__white; - font-weight: bold; - - &:focus { - outline: 0.125rem solid $color__black; - background-color: $color__white; - } - } - } - - &__phase { - background-color: $color__white; - color: $color__black; - text-transform: uppercase; - padding: 0 calc($spacer__unit / 4); - margin-right: $spacer__unit; - font-weight: 700; - } - - &__message { - margin: 0; - display: inline; - } -} diff --git a/ds_caselaw_editor_ui/sass/main.scss b/ds_caselaw_editor_ui/sass/main.scss index ca09f7b1a..01c354c17 100644 --- a/ds_caselaw_editor_ui/sass/main.scss +++ b/ds_caselaw_editor_ui/sass/main.scss @@ -13,7 +13,6 @@ @import "includes/results_search_component"; @import "includes/result_controls"; @import "includes/pagination"; -@import "includes/phase_banner"; @import "includes/footer"; @import "includes/header"; @import "includes/judgment_text"; diff --git a/ds_caselaw_editor_ui/templates/base.html b/ds_caselaw_editor_ui/templates/base.html index cf48dc1a0..dfea0fba0 100644 --- a/ds_caselaw_editor_ui/templates/base.html +++ b/ds_caselaw_editor_ui/templates/base.html @@ -23,7 +23,6 @@ {% translate "skiplink" %} - {% include 'includes/phase_banner.html' %} {% block header %} {% endblock header %}
diff --git a/ds_caselaw_editor_ui/templates/includes/phase_banner.html b/ds_caselaw_editor_ui/templates/includes/phase_banner.html deleted file mode 100644 index fcdba33cf..000000000 --- a/ds_caselaw_editor_ui/templates/includes/phase_banner.html +++ /dev/null @@ -1,12 +0,0 @@ -
-
-
- BETA -

- This is a new service – your - feedback - will help us to improve it. -

-
-
-
diff --git a/ds_caselaw_editor_ui/templates/layout_judgment_html.html b/ds_caselaw_editor_ui/templates/layout_judgment_html.html index 9f823dd2f..a861c1de5 100644 --- a/ds_caselaw_editor_ui/templates/layout_judgment_html.html +++ b/ds_caselaw_editor_ui/templates/layout_judgment_html.html @@ -23,7 +23,6 @@ {% translate "skiplink" %} -{% include 'includes/phase_banner.html' %}