From 113836c04a00af1a560229bc6bcde0e31d333488 Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Thu, 27 Jul 2023 12:01:55 -0400 Subject: [PATCH] Clean up menu and IA to remove unavailable features and placeholders (CFM-90) --- app/resources/locales/en_US/menu.po | 7 ++-- app/templates/element/menuMain.php | 2 +- app/templates/element/menuPanel.php | 56 ++++++++++++----------------- app/webroot/css/co-base.css | 9 ----- app/webroot/css/co-responsive.css | 2 +- 5 files changed, 27 insertions(+), 49 deletions(-) diff --git a/app/resources/locales/en_US/menu.po b/app/resources/locales/en_US/menu.po index a4b519e3a..2512352b0 100644 --- a/app/resources/locales/en_US/menu.po +++ b/app/resources/locales/en_US/menu.po @@ -39,15 +39,12 @@ msgstr "Attributes" msgid "co.configuration" msgstr "Configuration" -msgid "co.configuration.az" -msgstr "A-Z Config" +msgid "co.configuration.short" +msgstr "Config" msgid "co.configuration.char" msgstr "C" -msgid "co.configuration.panel.az" -msgstr "A-Z Listing" - msgid "co.configuration.panel.title" msgstr "Configuration" diff --git a/app/templates/element/menuMain.php b/app/templates/element/menuMain.php index 4aad6a912..7d5a3ea1c 100644 --- a/app/templates/element/menuMain.php +++ b/app/templates/element/menuMain.php @@ -122,7 +122,7 @@ ], [ 'permission' => 'configuration', - 'label' => __d('menu', 'co.configuration.az'), + 'label' => __d('menu', 'co.configuration.short'), 'char' => __d('menu', 'co.configuration.char'), 'controller' => 'dashboards', 'action' => 'configuration' diff --git a/app/templates/element/menuPanel.php b/app/templates/element/menuPanel.php index 2a1b6004f..fd519e7c2 100644 --- a/app/templates/element/menuPanel.php +++ b/app/templates/element/menuPanel.php @@ -74,16 +74,18 @@ */ ?> + - - */ - ?> + * / + ? > + */ ?> @@ -161,16 +164,8 @@ - */ ?> + */ ?> - @@ -246,7 +241,10 @@ -
  • +
  • + Url->build( ['plugin' => null, @@ -265,26 +263,12 @@ - - + */ ?> +

    -
    diff --git a/app/webroot/css/co-base.css b/app/webroot/css/co-base.css index 07bf585d0..f0447caa9 100644 --- a/app/webroot/css/co-base.css +++ b/app/webroot/css/co-base.css @@ -585,15 +585,6 @@ ul.form-list li.alert-banner .co-alert { .menu-panel-link-desc { color: var(--cmg-color-body-txt); } -.menu-panel .az-link { - position: absolute; - right: 6em; - top: 2em; - font-size: 1.1em; -} -#main-menu .az-link a { - padding: 0; -} .menu-panel-sidepanel { padding: 0 1em 2em 1.25em; } diff --git a/app/webroot/css/co-responsive.css b/app/webroot/css/co-responsive.css index 6017d137a..4dd0791c2 100644 --- a/app/webroot/css/co-responsive.css +++ b/app/webroot/css/co-responsive.css @@ -262,7 +262,7 @@ .menu-panel { left: calc(100% + 1px); padding: 1rem 1.5rem; - width: 80vw; + width: 70vw; min-height: 520px; border-right: 1px solid var(--cmg-color-bg-006); border-bottom: 1px solid var(--cmg-color-bg-006);