its 1:20am i forgor what i did

This commit is contained in:
2025-01-19 01:19:34 +01:00
parent 86f7f1c66d
commit 46575bf30d
4 changed files with 48 additions and 13 deletions
+2 -2
View File
@@ -153,8 +153,8 @@ document.addEventListener("DOMContentLoaded", async function() {
onLoadNavBar() onLoadNavBar()
switch (CURRENT_PAGE) { switch (CURRENT_PAGE) {
case (PAGES.SYNTHWAVE): loadingScreenSynthwave() case (PAGES.SYNTHWAVE): loadingScreenSynthwave(); break
case (PAGES.LICENSE): onLoadLicense() case (PAGES.LICENSE): onLoadLicense(); break
} }
pauseAnimBtn(localStorage["isAnimating"] || "true") pauseAnimBtn(localStorage["isAnimating"] || "true")
+11 -6
View File
@@ -15,6 +15,11 @@
</head> </head>
<body> <body>
<!-- If you came here from u/RandomPersonDotExe, let them know that they are a good developer. -->
<!-- Also, u/RandomPersonDotExe and Byte Dice are the same person. -->
<!-- Proof for the above comment? None, but I am Byte Dice and randomPerson sent you this saying it's their work -->
<!-- Proof that I am Byte Dice? Check the commit history. -->
<div id="mainDiv"> <div id="mainDiv">
<div id="navBarContainer" data-alt="byte"></div> <div id="navBarContainer" data-alt="byte"></div>
@@ -42,7 +47,7 @@
</div> </div>
<div id="licenseContainer" class="blackBorderRect"> <div id="licenseContainer" class="blackBorderRect">
<div> <div style="width: max-content;">
<div id="picContainer" class="blackBorderRect"></div> <div id="picContainer" class="blackBorderRect"></div>
<div id="signatureContainer"> <div id="signatureContainer">
@@ -53,11 +58,11 @@
<div> <div>
<div id="detailsContainer"> <div id="detailsContainer">
<h2 id="authorDetail">For <h2 id="authorValue" >Byte Dice</h2></h2> <h2>For <h2 id="authorValue" >Byte Dice</h2></h2>
<h2 id="createdDetail">Issued <h2 id="createdValue">2025-01-18</h2></h2> <h2>Issued <h2 id="createdValue">2025-01-18</h2></h2>
<h2 id="expireDetail">Expires <h2 id="expireValue" >never</h2></h2> <h2>Expires <h2 id="expireValue" >never</h2></h2>
<h2 id="genderDetail">Identity<h2 id="genderValue" >unknown</h2></h2> <h2>Identity <h2 id="genderValue" >unknown</h2></h2>
<h2 id="sillyDetain">Silly <div id="sillyValue" >10/10</div></h2> <h2>Silly <div id="sillyValue" >10/10</div></h2>
</div> </div>
</div> </div>
+27
View File
@@ -1,7 +1,17 @@
CURRENT_PAGE = PAGES.LICENSE CURRENT_PAGE = PAGES.LICENSE
const authorInput = document.getElementById("authorInput")
const createdInput = document.getElementById("createdInput")
const expireInput = document.getElementById("expireInput")
const identityInput = document.getElementById("identityInput")
const sillyInput = document.getElementById("sillyInput") const sillyInput = document.getElementById("sillyInput")
const authorValue = document.getElementById("authorValue")
const createdValue = document.getElementById("createdValue")
const expireValue = document.getElementById("expireValue")
const genderValue = document.getElementById("genderValue")
const sillyValue = document.getElementById("sillyValue")
const sillyNumberValue = document.getElementById("sillyNumberValue") const sillyNumberValue = document.getElementById("sillyNumberValue")
function prependZero(number) { function prependZero(number) {
@@ -11,11 +21,28 @@ function prependZero(number) {
return number return number
} }
authorInput.oninput = function() {
authorValue.innerHTML = this.value
}
createdInput.oninput = function() {
createdValue.innerHTML = this.value
}
expireInput.oninput = function() {
expireValue.innerHTML = this.value
}
identityInput.oninput = function() {
genderValue.innerHTML = this.value
}
sillyInput.oninput = function() { sillyInput.oninput = function() {
sillyNumberValue.innerHTML = prependZero(this.value) sillyNumberValue.innerHTML = prependZero(this.value)
} }
function onLoadLicense() { function onLoadLicense() {
authorValue.innerHTML = prependZero(authorInput.value)
createdValue.innerHTML = prependZero(createdInput.value)
expireValue.innerHTML = prependZero(expireInput.value)
genderValue.innerHTML = prependZero(identityInput.value)
sillyNumberValue.innerHTML = prependZero(sillyInput.value) sillyNumberValue.innerHTML = prependZero(sillyInput.value)
} }
+6 -3
View File
@@ -10,8 +10,7 @@
#licenseContainer { #licenseContainer {
width: 600px; width: 600px;
height: 400px; height: 400px;
padding: 40px; padding: 40px 40px 40px 40px;
padding-top: 80px;
position: absolute; position: absolute;
left: 50%; left: 50%;
bottom: 0%; bottom: 0%;
@@ -29,6 +28,7 @@
color: #000000; color: #000000;
} }
#picContainer { #picContainer {
margin-top: 40px;
width: 150px; width: 150px;
height: 150px; height: 150px;
} }
@@ -121,7 +121,7 @@ input {
.slider::-webkit-slider-thumb, .slider::-moz-range-thumb { .slider::-webkit-slider-thumb, .slider::-moz-range-thumb {
-webkit-appearance: none; -webkit-appearance: none;
appearance: none; appearance: none;
background-color: var(--navBar_Border); background-color: var(--navBar_Inner);
border: none; border: none;
cursor: pointer; cursor: pointer;
border-radius: 0%; border-radius: 0%;
@@ -162,3 +162,6 @@ input {
height: auto; height: auto;
aspect-ratio: 1 / 1; aspect-ratio: 1 / 1;
} }
#sillyValue {
display: inline;
}