From 6d832b2699ca8dd3474d8da27d1a84edf468aa25 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 12 Jul 2016 13:17:15 -0400 Subject: [PATCH] update search --- dashboard-ui/devices/ios/ios.css | 18 +++++++++++------- dashboard-ui/scripts/loginpage.js | 3 +++ dashboard-ui/scripts/site.js | 4 ---- dashboard-ui/search.html | 7 +++++++ 4 files changed, 21 insertions(+), 11 deletions(-) diff --git a/dashboard-ui/devices/ios/ios.css b/dashboard-ui/devices/ios/ios.css index a614ed1c85..695249061d 100644 --- a/dashboard-ui/devices/ios/ios.css +++ b/dashboard-ui/devices/ios/ios.css @@ -45,14 +45,14 @@ body:not(.dashboardDocument) .mainDrawerButton { box-shadow: none !important; } - .viewMenuBar.semiTransparent { - background-color: #000; - } +.viewMenuBar.semiTransparent { + background-color: #000; +} - .libraryViewNav .pageTabButton { - font-weight: 400; - text-transform: none; - } +.libraryViewNav .pageTabButton { + font-weight: 400; + text-transform: none; +} .pageTabButton.is-active .pageTabButtonSelectionBar { display: none !important; @@ -163,3 +163,7 @@ h1, h1 a { .searchBackButton { display: none !important; } + +.searchPageSearchButton { + display: inline-flex!important; +} diff --git a/dashboard-ui/scripts/loginpage.js b/dashboard-ui/scripts/loginpage.js index 01b5f7dd51..8ae83d6c16 100644 --- a/dashboard-ui/scripts/loginpage.js +++ b/dashboard-ui/scripts/loginpage.js @@ -184,6 +184,7 @@ var haspw = cardContent.getAttribute('data-haspw'); if (id == 'manual') { + context.querySelector('#txtManualName').value = ''; showManualForm(context, true); } else if (haspw == 'false') { @@ -216,6 +217,7 @@ }); view.querySelector('.btnManual').addEventListener('click', function () { + view.querySelector('#txtManualName').value = ''; showManualForm(view, true); }); @@ -227,6 +229,7 @@ if (!users.length) { + view.querySelector('#txtManualName').value = ''; showManualForm(view, false, false); } else { diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index a7ff9e5d53..ded9049ab1 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -1523,10 +1523,6 @@ var AppInfo = {}; } else { AppInfo.enableSupporterMembership = true; - - if (!isAndroid && !isIOS) { - AppInfo.enableAppLayouts = true; - } } // This doesn't perform well on iOS diff --git a/dashboard-ui/search.html b/dashboard-ui/search.html index fb60807bf9..0be734fe07 100644 --- a/dashboard-ui/search.html +++ b/dashboard-ui/search.html @@ -22,11 +22,18 @@ text-indent: 12.5%; } } + + .searchPageSearchButton { + display: none; + } +