diff --git a/dashboard-ui/css/detailtable.css b/dashboard-ui/css/detailtable.css index 9567146ba..4d5543194 100644 --- a/dashboard-ui/css/detailtable.css +++ b/dashboard-ui/css/detailtable.css @@ -1,13 +1,16 @@ -.detailTable { - border-collapse: collapse; - border-spacing: 0; +.detailTableContainer { width: 100%; max-width: 1200px; - text-align: left; + text-align: center; + margin: 0 auto; } -.centeredDetailTable { - margin: auto; +.detailTable { + border-collapse: collapse; + border-spacing: 0; + text-align: left; + width: 100%; + margin: 0 auto; } .stretchedDetailTable { @@ -36,6 +39,7 @@ font-weight: normal; text-align: left; vertical-align: top; + white-space: nowrap; } .detailTable .imgUserItemRating { diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 23a4b54ca..c9624e4eb 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -293,7 +293,7 @@ } .libraryTabs .ui-btn-inner { - padding: 1em 20px!important; + padding: .5em 15px!important; } } diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index bf96fd99d..224c26492 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -125,6 +125,15 @@ pre, textarea.pre { right: 10px; } +.headerSearch { + display: none; + margin-right: 2em; +} + + .headerSearch input { + width: 200px; + } + .header .imageLink { display: inline-block; } @@ -265,6 +274,10 @@ form, .readOnlyContent { @media all and (min-width: 650px) { + .headerSearch { + display: inline-block; + } + .imgLogoIcon { height: 50px; } diff --git a/dashboard-ui/itembynamedetails.html b/dashboard-ui/itembynamedetails.html index 29ca54b29..874d54f02 100644 --- a/dashboard-ui/itembynamedetails.html +++ b/dashboard-ui/itembynamedetails.html @@ -112,9 +112,16 @@
- - +| Album | '; } if (options.showArtist) { - html += 'Artists | '; + html += 'Artist | '; } html += 'Duration | '; @@ -254,8 +250,11 @@ if (options.showArtist) { - if (item.Artist) { - html += '' + item.Artist + ' | '; + if (item.Artists && item.Artists.length) { + + var artist = item.Artists[0]; + + html += '' + artist + ' | '; } else { html += ''; } @@ -272,7 +271,7 @@ html += ' |
|---|
').insertBefore('.btnTools', header);
}
});
},
+
+ onSearchSubmit: function() {
+
+ Dashboard.alert('Coming soon.');
+
+ return false;
+ },
+
+ getSearchHtml: function() {
+
+ var html = '';
+
+ return html;
+ },
ensureToolsMenu: function (page) {
@@ -1087,16 +1110,7 @@ $(function () {
Dashboard.jQueryMobileInit();
-$(document).on('pagebeforeshow', ".page", function () {
-
- Dashboard.refreshSystemInfoFromServer();
-
- var page = $(this);
-
- Dashboard.ensureHeader(page);
- Dashboard.ensurePageTitle(page);
-
-}).on('pageinit', ".page", function () {
+$(document).on('pageinit', ".page", function () {
var page = $(this);
@@ -1120,4 +1134,14 @@ $(document).on('pagebeforeshow', ".page", function () {
}
});
}
+
+}).on('pagebeforeshow', ".page", function () {
+
+ Dashboard.refreshSystemInfoFromServer();
+
+ var page = $(this);
+
+ Dashboard.ensureHeader(page);
+ Dashboard.ensurePageTitle(page);
+
});
\ No newline at end of file
diff --git a/dashboard-ui/scripts/songs.js b/dashboard-ui/scripts/songs.js
index 2118f5a58..3874e0860 100644
--- a/dashboard-ui/scripts/songs.js
+++ b/dashboard-ui/scripts/songs.js
@@ -24,9 +24,7 @@
html += LibraryBrowser.getSongTableHtml(result.Items, {
showAlbum: true,
- showArtist: true,
- center: true,
- strech: true
+ showArtist: true
});
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);