${OptionDisableForDevelopmentHelp}
diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css
index 8f2897f44f..180b8e646a 100644
--- a/dashboard-ui/css/site.css
+++ b/dashboard-ui/css/site.css
@@ -347,35 +347,35 @@ h1 .imageLink {
padding-bottom: 50px;
}
- .sidebarLinks a {
- display: block;
- padding: .6em 20px .6em 0;
- text-decoration: none;
- color: inherit !important;
- text-shadow: none !important;
- font-weight: 500 !important;
- font-size: 14px;
- vertical-align: middle;
+.sidebarLink {
+ display: block;
+ padding: .6em 20px .6em 0;
+ text-decoration: none;
+ color: inherit !important;
+ text-shadow: none !important;
+ font-weight: 500 !important;
+ font-size: 14px;
+ vertical-align: middle;
+}
+
+ .sidebarLink:hover {
+ background: #f2f2f2;
}
- .sidebarLinks a:hover {
- background: #f2f2f2;
- }
+ .sidebarLink.selectedSidebarLink {
+ margin-right: 0;
+ }
- .sidebarLinks a.selectedSidebarLink {
- margin-right: 0;
- }
-
-.ui-page-theme-a .sidebarLinks a.selectedSidebarLink {
+.ui-page-theme-a .selectedSidebarLink {
background: #f2f2f2 !important;
}
-.ui-page-theme-b .sidebarLinks a.selectedSidebarLink {
+.ui-page-theme-b .selectedSidebarLink {
background: #38c !important;
color: #fff !important;
}
-.sidebarLinks .sidebarLinkIcon {
+.sidebarLinkIcon {
font-size: 17px;
width: 66px;
text-align: center;
@@ -393,9 +393,6 @@ h1 .imageLink {
border-radius: 0;
}
-.sidebarLinkText, .sidebarLinkIcon {
-}
-
.sidebarHeader {
padding-left: 20px;
margin: 1em 0;
@@ -413,42 +410,14 @@ h1 .imageLink {
/* Tabs (e.g. advanced metadata page) */
.localnav {
- margin-bottom: 40px !important;
+ margin-bottom: 30px !important;
}
- .localnav + form {
- margin-top: -10px;
- }
-
.page > .ui-content {
/* Need this so that the audio player doesn't cover content, but also for unveil lazy loading. */
padding-bottom: 160px;
}
-.dashboardPanelDivider {
- height: 1px;
- background: #ddd;
- margin: .25em 0;
-}
-
-.dashboardPanelLink {
- padding: .7em .5em .7em 1.25em;
- display: block;
- text-decoration: none;
- color: #000 !important;
- font-weight: normal !important;
-}
-
- .dashboardPanelLink:hover {
- background: #52B54B;
- color: #fff !important;
- }
-
-.selectedDashboardPanelLink {
- background: #38c;
- color: #fff !important;
-}
-
.dashboardPanel .ui-panel-inner {
padding: 0;
}
diff --git a/dashboard-ui/dashboard.html b/dashboard-ui/dashboard.html
index 2b120724d3..33bfa5add4 100644
--- a/dashboard-ui/dashboard.html
+++ b/dashboard-ui/dashboard.html
@@ -21,6 +21,9 @@
+
@@ -46,9 +49,8 @@
+
-
-
diff --git a/dashboard-ui/dashboardgeneral.html b/dashboard-ui/dashboardgeneral.html
index f7fb46eeac..d9b50eab5b 100644
--- a/dashboard-ui/dashboardgeneral.html
+++ b/dashboard-ui/dashboardgeneral.html
@@ -39,43 +39,6 @@
${HeaderAdvanced}
';
// content-secondary
@@ -715,29 +717,10 @@ var Dashboard = {
html += '';
- for (i = 0, length = items.length; i < length; i++) {
-
- item = items[i];
-
- if (!user.Policy.IsAdministrator) {
- break;
- }
-
- if (item.divider) {
- html += "
";
- }
-
- if (item.href) {
-
- if (item.selected) {
- html += '
' + item.name + '';
- } else {
- html += '
' + item.name + '';
- }
-
- }
- }
-
+ html += '';
html += '
';
$('.content-primary', page).before(html);
@@ -1483,6 +1466,11 @@ $(document).on('pagecreate', ".page", function () {
var page = $(this);
+ var current = page.data('theme');
+ if (current) {
+ return;
+ }
+
var newTheme;
if (page.hasClass('libraryPage')) {
@@ -1491,7 +1479,7 @@ $(document).on('pagecreate', ".page", function () {
newTheme = 'a';
}
- var current = page.page("option", "theme");
+ current = page.page("option", "theme");
if (current && current != newTheme) {
page.page("option", "theme", newTheme);
diff --git a/dashboard-ui/serversecurity.html b/dashboard-ui/serversecurity.html
index d34398e1bb..60a949b313 100644
--- a/dashboard-ui/serversecurity.html
+++ b/dashboard-ui/serversecurity.html
@@ -11,10 +11,11 @@
-
+
${HeaderApiKeys}