diff --git a/frappe/public/css/desk.css b/frappe/public/css/desk.css index 36e123707a..8be8a07f03 100644 --- a/frappe/public/css/desk.css +++ b/frappe/public/css/desk.css @@ -386,6 +386,9 @@ textarea.form-control { padding: 7px; font-size: 12px; } +.ui-menu .ui-menu-item a { + text-decoration: none; +} @media (min-width: 768px) { .video-modal { width: 700px; diff --git a/frappe/public/less/desk.less b/frappe/public/less/desk.less index 2f894e71c1..775e694507 100644 --- a/frappe/public/less/desk.less +++ b/frappe/public/less/desk.less @@ -200,6 +200,9 @@ textarea.form-control { .ui-menu .ui-menu-item { padding: 7px; font-size: @text-medium; + a { + text-decoration: none; + } } diff --git a/frappe/templates/includes/list/list.js b/frappe/templates/includes/list/list.js index 40ed20bffa..f9758e43bf 100644 --- a/frappe/templates/includes/list/list.js +++ b/frappe/templates/includes/list/list.js @@ -38,7 +38,7 @@ frappe.ready(function() { } }; - if($('.web-sidebar:visible').length === 0) + if($('.navbar-header .navbar-toggle:visible').length === 1) { $('.page-head h1').addClass('list-head').click(function(){ window.history.back(); diff --git a/frappe/templates/includes/navbar/dropdown_items.html b/frappe/templates/includes/navbar/dropdown_items.html new file mode 100644 index 0000000000..4d7e54c829 --- /dev/null +++ b/frappe/templates/includes/navbar/dropdown_items.html @@ -0,0 +1,17 @@ + diff --git a/frappe/templates/includes/navbar/dropdown_login.html b/frappe/templates/includes/navbar/dropdown_login.html new file mode 100644 index 0000000000..9bd687a106 --- /dev/null +++ b/frappe/templates/includes/navbar/dropdown_login.html @@ -0,0 +1,17 @@ + +{% if not only_static %} +{%- for child in post_login -%} +
  • + {%- if child.url -%} + + {{ child.label }} + + {%- endif -%} +
  • +{%- endfor -%} +{% if not hide_login %} +
  • {{ _("Login") }}
  • +{% endif %} +{% endif %} diff --git a/frappe/templates/includes/navbar/navbar.html b/frappe/templates/includes/navbar/navbar.html index fbb164f9f7..5292c1fc84 100644 --- a/frappe/templates/includes/navbar/navbar.html +++ b/frappe/templates/includes/navbar/navbar.html @@ -4,12 +4,18 @@