diff --git a/UI/Config.js b/UI/Config.js
index f0d8c4722..e5409f25b 100644
--- a/UI/Config.js
+++ b/UI/Config.js
@@ -12,6 +12,10 @@ define(
DefaultRootFolderId: 'DefaultRootFolderId'
},
+ getValueBoolean: function (key, defaultValue) {
+ return this.getValue(key, defaultValue) === 'true';
+ },
+
getValue: function (key, defaultValue) {
var storeValue = localStorage.getItem(key);
@@ -35,6 +39,5 @@ define(
App.vent.trigger(this.Events.ConfigUpdatedEvent, {key: key, value: value});
}
-
};
});
diff --git a/UI/Content/Overrides/bootstrap.toggle-switch.less b/UI/Content/Overrides/bootstrap.toggle-switch.less
index 153ff546d..1c8da8516 100644
--- a/UI/Content/Overrides/bootstrap.toggle-switch.less
+++ b/UI/Content/Overrides/bootstrap.toggle-switch.less
@@ -5,7 +5,7 @@
.slide-button {
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
- &.btn-danger {
+ &.btn-danger, &.btn-warning {
.buttonBackground(@btnInverseBackground, @btnInverseBackgroundHighlight);
}
}
@@ -16,5 +16,9 @@
&.btn-danger {
.buttonBackground(@btnDangerBackground, @btnDangerBackgroundHighlight);
}
+
+ &.btn-warning {
+ .buttonBackground(@btnWarningBackground, @btnWarningBackgroundHighlight);
+ }
}
}
\ No newline at end of file
diff --git a/UI/Settings/General/GeneralTemplate.html b/UI/Settings/General/GeneralTemplate.html
index bb9de7626..01b9c40d1 100644
--- a/UI/Settings/General/GeneralTemplate.html
+++ b/UI/Settings/General/GeneralTemplate.html
@@ -7,11 +7,49 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -29,9 +67,9 @@
-
-
-
+
+
+
@@ -51,7 +89,7 @@
-
+
@@ -91,8 +129,7 @@
- {{#unless_eq branch compare="master"}}
-