diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 886bf7988d..f238a462b4 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -347,6 +347,12 @@ a.itemTag:hover { margin-top: -30px; } + .itemDetailImage:hover { + -moz-box-shadow: 0 0 20px 3px #2572EB; + -webkit-box-shadow: 0 0 20px 3px #2572EB; + box-shadow: 0 0 20px 3px #2572EB; + } + .parentName { padding: .5em; text-align: center; diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index 854d383dad..a4226703bf 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -64,6 +64,15 @@ h2 { font-size: 20pt; } +h1 a { + font-weight: normal; + text-decoration: none; +} + + h1 a:hover { + text-decoration: underline; + } + @media all and (min-width: 750px) { h1 { font-size: 28pt; diff --git a/dashboard-ui/dashboard.html b/dashboard-ui/dashboard.html index dec9d4c913..5dbf1b2e5f 100644 --- a/dashboard-ui/dashboard.html +++ b/dashboard-ui/dashboard.html @@ -9,6 +9,7 @@
+

Server Information

diff --git a/dashboard-ui/index.html b/dashboard-ui/index.html index 672f5fdba5..59d316ac3c 100644 --- a/dashboard-ui/index.html +++ b/dashboard-ui/index.html @@ -15,7 +15,7 @@
-

Collections

+

Collections

diff --git a/dashboard-ui/scripts/itemlistpage.js b/dashboard-ui/scripts/itemlistpage.js index 0ac60d6941..2ecc5b1784 100644 --- a/dashboard-ui/scripts/itemlistpage.js +++ b/dashboard-ui/scripts/itemlistpage.js @@ -11,6 +11,8 @@ StartIndex: 0 }; + var currentItem; + function reloadItems(page) { Dashboard.showLoadingMsg(); @@ -66,7 +68,11 @@ Dashboard.hideLoadingMsg(); }); - ApiClient.getItem(userId, query.ParentId).done(function (item) { + var promise = query.ParentId ? ApiClient.getItem(userId, query.ParentId) : ApiClient.getRootFolder(userId); + + promise.done(function (item) { + + currentItem = item; var name = item.Name; @@ -140,7 +146,7 @@ $('#btnEdit', page).on('click', function () { - Dashboard.navigate("edititemmetadata.html?id=" + query.ParentId); + Dashboard.navigate("edititemmetadata.html?id=" + currentItem.Id); }); }).on('pageshow', "#itemListPage", function () { @@ -177,6 +183,11 @@ }).checkboxradio('refresh'); $('#selectView', this).val(view).selectmenu('refresh'); + + }).on('pagehide', "#itemListPage", function () { + + currentItem = null; + }); })(jQuery, document); \ No newline at end of file