mirror of
https://github.com/Jackzmc/storage.git
synced 2025-05-06 20:03:20 +00:00
More UI polishing
This commit is contained in:
parent
f54cbbc8bd
commit
a1d740aa05
9 changed files with 190 additions and 64 deletions
|
@ -1,6 +1,16 @@
|
|||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const addDropdown = document.getElementById("add-dropdown")
|
||||
addDropdown.classList.remove("is-hidden")
|
||||
document.querySelector("#file-checkbox-all").addEventListener("input", (e) => {
|
||||
const checked = e.target.checked
|
||||
console.log("checked", checked)
|
||||
document.querySelectorAll(".file-checkbox").forEach(el => {
|
||||
el.checked = checked
|
||||
})
|
||||
})
|
||||
|
||||
const readyhiddenItems = document.getElementsByClassName("readyhidden");
|
||||
for (let i = 0; i < readyhiddenItems.length; i++) {
|
||||
readyhiddenItems.item(i).classList.remove("readyhidden")
|
||||
}
|
||||
|
||||
document.getElementById("modal-prompt-form")
|
||||
|
||||
|
@ -72,4 +82,4 @@ async function touchSubmit(event) {
|
|||
}
|
||||
function upload(type) {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue