Added Backup Update

This commit is contained in:
2022-05-24 15:07:31 -05:00
parent eab7a20533
commit 880b858d01
5 changed files with 80 additions and 7 deletions

View File

@@ -1,19 +1,24 @@
<!DOCTYPE html>
<header>
<title>Rod Biren</title>
<title>Rod</title>
</header>
<body>
<p id="console"> Why Hello There</p>
<button id="update" type="button" onclick="update()">Update</button>
<button id="update" type="button">Update</button>
<form method="get" action="backup.zip">
<button type="submit">Download!</button>
</form>
</body>
<script>
let update_button = document.getElementById("update")
let start_button = document.getElementById("start")
let console = document.getElementById("console")
update_button.addEventListener("click",update)
update_button.addEventListener("click", update)
async function update() {
update_button.disabled = true
console.innerText = "Updating"