diff --git a/airsonic-main/src/main/java/org/airsonic/player/controller/TranscodingSettingsController.java b/airsonic-main/src/main/java/org/airsonic/player/controller/TranscodingSettingsController.java index 5009bdf3..d6f4662c 100644 --- a/airsonic-main/src/main/java/org/airsonic/player/controller/TranscodingSettingsController.java +++ b/airsonic-main/src/main/java/org/airsonic/player/controller/TranscodingSettingsController.java @@ -69,9 +69,10 @@ public class TranscodingSettingsController { public String doPost(HttpServletRequest request, RedirectAttributes redirectAttributes) throws Exception { String error = handleParameters(request, redirectAttributes); if (error != null) { + redirectAttributes.addFlashAttribute("error", error); + } else { redirectAttributes.addFlashAttribute("settings_toast", true); } - redirectAttributes.addFlashAttribute("error", error); return "redirect:transcodingSettings.view"; } diff --git a/airsonic-main/src/main/webapp/WEB-INF/jsp/top.jsp b/airsonic-main/src/main/webapp/WEB-INF/jsp/top.jsp index 6b53eb78..36553d45 100644 --- a/airsonic-main/src/main/webapp/WEB-INF/jsp/top.jsp +++ b/airsonic-main/src/main/webapp/WEB-INF/jsp/top.jsp @@ -132,28 +132,29 @@ - - - - - - -
- - - + " target="_top"> + + + + + +
+ + + +
+ + + " alt="logout" height="24"> + + + +
+
+
+ ${fn:escapeXml(logout)}
- - - " alt="logout" height="24"> - - - - + diff --git a/airsonic-main/src/main/webapp/style/default-without-mediaelement.css b/airsonic-main/src/main/webapp/style/default-without-mediaelement.css index 70f95c68..a671bf10 100644 --- a/airsonic-main/src/main/webapp/style/default-without-mediaelement.css +++ b/airsonic-main/src/main/webapp/style/default-without-mediaelement.css @@ -194,6 +194,7 @@ input, textarea, select { padding: 3px; border-radius: 3px; border: 1px solid lightgray; + vertical-align: middle; } input[type=submit], input[type=button] {