remade boykisser license to be easier to modify and update
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
CURRENT_PAGE = PAGES.LICENSE
|
||||
|
||||
|
||||
function loadingScreenLicense() {
|
||||
setLoadingProgress("Preparing license...")
|
||||
|
||||
const VMAP = {
|
||||
title: "titleValue",
|
||||
user: "authorValue",
|
||||
issued: "createdValue",
|
||||
expires: "expireValue",
|
||||
identity: "genderValue",
|
||||
signature: "signatureValue",
|
||||
img: "picValue"
|
||||
}
|
||||
|
||||
function getE(e) { return document.getElementById(e) }
|
||||
|
||||
license.titleE = getE(VMAP.title)
|
||||
license.userE = getE(VMAP.user)
|
||||
license.issuedE = getE(VMAP.issued)
|
||||
license.expiresE = getE(VMAP.expires)
|
||||
license.identityE = getE(VMAP.identity)
|
||||
license.signatureE = getE(VMAP.signature)
|
||||
license.imgE = getE(VMAP.img)
|
||||
|
||||
for (let i = 0; i < 10; i++) {
|
||||
license.sillyValues.push(document.getElementById(`sillyValue${i}`))
|
||||
}
|
||||
|
||||
setLoadingProgress("Preparing options...")
|
||||
prepInputs()
|
||||
updLicense();
|
||||
scaleDisplayLicense();
|
||||
}
|
||||
Reference in New Issue
Block a user