|
|
@ -63,6 +63,8 @@ function saveSettingsModal() {
|
|
|
|
|
|
|
|
|
|
|
|
setStorage("color_theme", $("#appOptionsSettings #color_theme option:selected").val());
|
|
|
|
setStorage("color_theme", $("#appOptionsSettings #color_theme option:selected").val());
|
|
|
|
setAppTheme(getStorage("color_theme"));
|
|
|
|
setAppTheme(getStorage("color_theme"));
|
|
|
|
|
|
|
|
setStorage("button_size", $("#appOptionsSettings #button_size option:selected").val());
|
|
|
|
|
|
|
|
setButtonSize(getStorage("button_size"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function initSignaturePad() {
|
|
|
|
function initSignaturePad() {
|
|
|
@ -142,10 +144,16 @@ $("body").on("input change paste", "#notaryProfileSettings input,#notaryProfileS
|
|
|
|
|
|
|
|
|
|
|
|
$("body").on("input change paste", "#appOptionsSettings select", function () {
|
|
|
|
$("body").on("input change paste", "#appOptionsSettings select", function () {
|
|
|
|
setAppTheme($("#appOptionsSettings #color_theme option:selected").val());
|
|
|
|
setAppTheme($("#appOptionsSettings #color_theme option:selected").val());
|
|
|
|
|
|
|
|
setButtonSize($("#appOptionsSettings #button_size option:selected").val());
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
function setAppTheme(theme) {
|
|
|
|
function setAppTheme(theme) {
|
|
|
|
$("body").removeClass().addClass("theme-" + theme);
|
|
|
|
$("body").removeClass().addClass("theme-" + theme);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function setButtonSize(size) {
|
|
|
|
|
|
|
|
$(".btn").removeClass(["btn-sm", "btn-lg", "btn-"]).addClass("btn-" + size);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
setAppTheme(getStorage("color_theme"));
|
|
|
|
setAppTheme(getStorage("color_theme"));
|
|
|
|
|
|
|
|
setButtonSize(getStorage("button_size"));
|