diff --git a/dashboard-ui/css/materialize.css b/dashboard-ui/css/materialize.css index 732e84d8f0..434872489a 100644 --- a/dashboard-ui/css/materialize.css +++ b/dashboard-ui/css/materialize.css @@ -56,6 +56,7 @@ -ms-transition: 0.2s ease-out; transition: 0.2s ease-out; cursor: pointer; + position: relative; } .btn-floating { @@ -185,7 +186,7 @@ button.btn:not(.btn-inline),button.btn-large:not(.btn-inline) { .btn i { position: absolute; - left: 24px; + left: 10px; } .btn-large i { diff --git a/dashboard-ui/scripts/connectlogin.js b/dashboard-ui/scripts/connectlogin.js index b715605db8..03975e9ab3 100644 --- a/dashboard-ui/scripts/connectlogin.js +++ b/dashboard-ui/scripts/connectlogin.js @@ -2,9 +2,7 @@ function onLoggedIn() { - // Need to switch from https to http - - window.location = getWindowUrl().replace(/https/gi, 'http').replace(/connectlogin/gi, 'selectserver'); + Dashboard.navigate('selectserver.html'); } function login(page, username, password) { @@ -36,7 +34,6 @@ var password = $('#txtManualPassword', page).val(); login(page, user, password); - } window.ConnectLoginPage = { diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index eac84a0c1a..8012e46c54 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1361,6 +1361,13 @@ lines.push(itemCountHtml); } + if (options.textLines) { + var additionalLines = options.textLines(item); + for (var i = 0, length = additionalLines.length; i < length; i++) { + lines.push(additionalLines[i]); + } + } + if (options.showSongCount) { var songLine = ''; diff --git a/dashboard-ui/scripts/librarymenu.js b/dashboard-ui/scripts/librarymenu.js index f493645765..b892ae55a9 100644 --- a/dashboard-ui/scripts/librarymenu.js +++ b/dashboard-ui/scripts/librarymenu.js @@ -15,13 +15,15 @@ html += ''; html += '