From e4fd79f653f7f4e03ff1b821ed0c90e08c81eb1c Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Wed, 25 Jun 2014 12:59:58 -0400 Subject: [PATCH] 2.0 style changes Fixed drop-down account menu so that it no longer behaves like a drop-down when the menu collapses on small viewports. On large screens added a right margin to the drop-down menu. Moved Logout to the bottom of the submenu. On large screens the drop-down now includes a divider above the logout option. --- awx/ui/static/less/main-layout.less | 17 +++++++++++++++++ awx/ui/templates/ui/index.html | 12 +++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/awx/ui/static/less/main-layout.less b/awx/ui/static/less/main-layout.less index ce2297e3c6..8656a3453e 100644 --- a/awx/ui/static/less/main-layout.less +++ b/awx/ui/static/less/main-layout.less @@ -36,6 +36,9 @@ body { .navbar-collapse { margin-left: 42px; } + .collapsed-option { + display: none; + } } #content-container { @@ -54,7 +57,21 @@ body { display: block; } +#account-submenu { + margin-right: 5px; +} @media (max-width: 1075px) { + + #main-menu-container { + .collapsed-option { + display: block; + } + } + + #account-menu { + display: none; + } + #socket-beacon-div { display: block; position: fixed; diff --git a/awx/ui/templates/ui/index.html b/awx/ui/templates/ui/index.html index 4501a27af8..20c797db91 100644 --- a/awx/ui/templates/ui/index.html +++ b/awx/ui/templates/ui/index.html @@ -193,17 +193,23 @@
  • Inventories
  • Job Templates
  • Jobs
  • +
  • +
  • +
  • View License
  • +
  • Contact Support
  • +
  • Logout