updated ui
This commit is contained in:
parent
6e4a01cc51
commit
bbcff16dd6
9 changed files with 83 additions and 17 deletions
|
|
@ -1,11 +1,21 @@
|
|||
$(() => {
|
||||
let backup; let manual_backup;
|
||||
$("#backup").click(() => {
|
||||
const checked = $("#backup").prop("checked");
|
||||
backup = $("#backup").prop("checked");
|
||||
const nextButton = $("#next-button");
|
||||
if (checked) {
|
||||
if (backup || manual_backup) {
|
||||
nextButton.removeClass("hidden-button");
|
||||
} else {
|
||||
nextButton.addClass("hidden-button");
|
||||
}
|
||||
});
|
||||
$("#manual-backup").click(()=>{
|
||||
manual_backup = $('#manual-backup').prop("checked");
|
||||
const nextButton = $("#next-button");
|
||||
if(backup || manual_backup) {
|
||||
nextButton.removeClass("hidden-button");
|
||||
} else {
|
||||
nextButton.addClass("hidden-button");
|
||||
};
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -3,6 +3,10 @@ $(() => {
|
|||
$("#seed-box-container").removeClass("blur-filter");
|
||||
});
|
||||
|
||||
$("#seed-box-container").click(() => {
|
||||
$("#seed-box-container").removeClass("blur-filter");
|
||||
});
|
||||
|
||||
$('#copied').click(() => {
|
||||
const checked = $("#copied").prop('checked');
|
||||
const nextButton = $("#next-button");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue