✏️ Little visual change on backup config modal

This commit is contained in:
Sebastien Clement 2021-01-09 00:20:58 +01:00
parent fce90f0b6a
commit 5bcd0b4dde
5 changed files with 17 additions and 5 deletions

View File

@ -10670,6 +10670,13 @@ textarea.form-control-lg {
input[type=time]::-webkit-calendar-picker-indicator { input[type=time]::-webkit-calendar-picker-indicator {
filter: invert(63%) sepia(23%) saturate(819%) hue-rotate(358deg) brightness(88%) contrast(91%); filter: invert(63%) sepia(23%) saturate(819%) hue-rotate(358deg) brightness(88%) contrast(91%);
height: 30px;
margin: -12px;
width: 32px;
}
input[type=time]::-webkit-calendar-picker-indicator:hover {
cursor: pointer;
} }
/*# sourceMappingURL=custom_bootstrap.css.map */ /*# sourceMappingURL=custom_bootstrap.css.map */

File diff suppressed because one or more lines are too long

View File

@ -346,9 +346,8 @@ function getBackupSettings() {
$('#cron-drop-day').val(data.settings.cron_weekday); $('#cron-drop-day').val(data.settings.cron_weekday);
let folder_html = "" let folder_html = ""
for (let thisFolder of data.folders) { for (let thisFolder of data.folders) {
//TODO Bug ici ?
let exclude = data.settings.exclude_folder.includes(thisFolder.slug); let exclude = data.settings.exclude_folder.includes(thisFolder.slug);
folder_html += `<li class="list-group-item"><div class="form-check"><input class="form-check-input addons-box" type="checkbox" id="${thisFolder.slug}" ${exclude ? "" : "checked"}><label class="form-label mb-0" for="${thisFolder.slug}">${thisFolder.name}</label></div></li>` folder_html += `<li class="list-group-item"><div class="form-check"><input class="form-check-input folders-box" type="checkbox" id="${thisFolder.slug}" ${exclude ? "" : "checked"}><label class="form-label mb-0" for="${thisFolder.slug}">${thisFolder.name}</label></div></li>`
} }
$("#folders-div").html(folder_html); $("#folders-div").html(folder_html);
@ -407,7 +406,6 @@ function sendBackupSettings() {
let auto_clean_local_keep = $("#local-snap-keep").val(); let auto_clean_local_keep = $("#local-snap-keep").val();
let auto_clean_backup_keep = $("#backup-snap-keep").val(); let auto_clean_backup_keep = $("#backup-snap-keep").val();
let name_template = $('#name-template').val(); let name_template = $('#name-template').val();
//TODO Bug ici ?
let excluded_folders_nodes = document.querySelectorAll('.folders-box:not(:checked)'); let excluded_folders_nodes = document.querySelectorAll('.folders-box:not(:checked)');
let exclude_folder = [""]; let exclude_folder = [""];
for (let i of excluded_folders_nodes) { for (let i of excluded_folders_nodes) {

View File

@ -41,5 +41,12 @@ $alert-color-scale: -100%;
input[type="time"]::-webkit-calendar-picker-indicator { input[type="time"]::-webkit-calendar-picker-indicator {
filter: invert(63%) sepia(23%) saturate(819%) hue-rotate(358deg) brightness(88%) contrast(91%); filter: invert(63%) sepia(23%) saturate(819%) hue-rotate(358deg) brightness(88%) contrast(91%);
height: 30px;
margin: -12px;
width: 32px;
}
input[type="time"]::-webkit-calendar-picker-indicator:hover {
cursor: pointer;
} }

View File

@ -136,7 +136,7 @@
</div> </div>
</div> </div>
<div class="modal-footer blue-grey darken-4"> <div class="modal-footer border-secondary">
<button data-bs-dismiss="modal" class="btn btn-danger"><b>Cancel</b></button> <button data-bs-dismiss="modal" class="btn btn-danger"><b>Cancel</b></button>
<button class="btn btn-success" id="save-backup-settings"><b>Save</b></button> <button class="btn btn-success" id="save-backup-settings"><b>Save</b></button>