mirror of
https://github.com/Jackzmc/storage.git
synced 2025-05-07 02:03:21 +00:00
More UI polishing
This commit is contained in:
parent
f54cbbc8bd
commit
a1d740aa05
9 changed files with 190 additions and 64 deletions
|
@ -78,4 +78,8 @@ tr.file-list td.filecell-label a {
|
|||
}
|
||||
.login-bg {
|
||||
background-image: linear-gradient(to top, #fbc2eb 0%, #a6c1ee 100%);
|
||||
}
|
||||
}
|
||||
|
||||
.readyhidden, *[x-cloak] {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -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