From eedc19dd4fd1bc74c114bb11168540faa54c6674 Mon Sep 17 00:00:00 2001 From: Ranganath Pathak Date: Wed, 25 Oct 2017 21:33:27 -0700 Subject: [PATCH] user interface improvements of left nav and main title added icon to patient dashdoard menu item in left nav, main title in frame view has font-awesome icons on top right. Made suitable adjustments to all stylesheets --- interface/globals.php | 4 +- interface/main/left_nav.php | 29 ++++++------- interface/main/main_title.php | 69 +++++++++++++++++++++++-------- interface/themes/style_ash_blue.css | 6 +++ interface/themes/style_burgundy.css | 6 +++ interface/themes/style_cadmium_yellow.css | 6 +++ interface/themes/style_chocolate.css | 6 +++ interface/themes/style_cobalt_blue.css | 6 +++ interface/themes/style_coral.css | 6 +++ interface/themes/style_deep_purple.css | 6 +++ interface/themes/style_dune.css | 6 +++ interface/themes/style_emerald.css | 6 +++ interface/themes/style_forest_green.css | 6 +++ interface/themes/style_light.css | 10 +++-- interface/themes/style_manila.css | 11 ++--- interface/themes/style_mauve.css | 6 +++ interface/themes/style_mustard_green.css | 6 +++ interface/themes/style_olive.css | 6 +++ interface/themes/style_pink.css | 6 +++ interface/themes/style_powder_blue.css | 6 +++ interface/themes/style_red.css | 6 +++ interface/themes/style_sienna.css | 6 +++ interface/themes/style_tangerine.css | 6 +++ library/globals.inc.php | 2 +- 24 files changed, 190 insertions(+), 43 deletions(-) diff --git a/interface/globals.php b/interface/globals.php index f2f6a17f6..4e6d0cb06 100644 --- a/interface/globals.php +++ b/interface/globals.php @@ -496,7 +496,7 @@ $GLOBALS['logoBarHeight'] = 110; // The height in pixels of the Navigation bar: $GLOBALS['navBarHeight'] = 22; // The height in pixels of the Title bar: -$GLOBALS['titleBarHeight'] = 40; +$GLOBALS['titleBarHeight'] = 50; // The assistant word, MORE printed next to titles that can be clicked: // Note this label gets translated here via the xl function @@ -565,7 +565,7 @@ if (!$ignoreAuth) { // This is the background color to apply to form fields that are searchable. // Currently it is applicable only to the "Search or Add Patient" form. -$GLOBALS['layout_search_color'] = '#ffff55'; +$GLOBALS['layout_search_color'] = '#ff9919'; //EMAIL SETTINGS $SMTP_Auth = !empty($GLOBALS['SMTP_USER']); diff --git a/interface/main/left_nav.php b/interface/main/left_nav.php index 9f126c612..1500398cd 100644 --- a/interface/main/left_nav.php +++ b/interface/main/left_nav.php @@ -1053,19 +1053,20 @@ $(document).ready(function(){ $("#navigation-slide > li > ul > li > a.expanded").next("ul").find("li > a.expanded_lv3").not(this).toggleClass("expanded_lv3").toggleClass("collapsed_lv3").parent().find('> ul').slideToggle("medium"); $(this).toggleClass("expanded_lv2").toggleClass("collapsed_lv2").parent().find('> ul').slideToggle("medium"); }); - $("#navigation-slide > li > a#cal0").prepend(' '); - $("#navigation-slide > li > a#pfb0").prepend(' '); - $("#navigation-slide > li > a#msg0").prepend(' '); - $("#navigation-slide > li > a#app0").prepend(' '); - $("#navigation-slide > li > a#ppo0").prepend(' '); - $("#navigation-slide > li > a#repimg").prepend(' '); - $("#navigation-slide > li > a#feeimg").prepend(' '); - $("#navigation-slide > li > a#adm0").prepend(' '); - $("#navigation-slide > li > a#invimg").prepend(' '); - $("#navigation-slide > li > a#admimg").prepend(' '); - $("#navigation-slide > li > a#misimg").prepend(' '); - $("#navigation-slide > li > a#proimg").prepend(' '); - $("#navigation-slide > li > a#modimg").prepend(' '); + $("#navigation-slide > li > a#cal0").prepend(' '); + $("#navigation-slide > li > a#pfb0").prepend(' '); + $("#navigation-slide > li > a#msg0").prepend(' '); + $("#navigation-slide > li > a#app0").prepend(' '); + $("#navigation-slide > li > a#aop0").prepend(' '); + $("#navigation-slide > li > a#ppo0").prepend(' '); + $("#navigation-slide > li > a#repimg").prepend(' '); + $("#navigation-slide > li > a#feeimg").prepend(' '); + $("#navigation-slide > li > a#adm0").prepend(' '); + $("#navigation-slide > li > a#invimg").prepend(' '); + $("#navigation-slide > li > a#admimg").prepend(' '); + $("#navigation-slide > li > a#misimg").prepend(' '); + $("#navigation-slide > li > a#proimg").prepend(' '); + $("#navigation-slide > li > a#modimg").prepend(' '); $("#navigation-slide > li").each(function(index) { if($(" > ul > li", this).size() == 0){ $(" > a", this).addClass("collapsed"); @@ -1155,7 +1156,7 @@ if ($GLOBALS['gbl_portal_cms_enable'] && acl_check('patientportal', 'portal')) { } ?> -
  •   +