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
+12 -7
View File
@@ -15,6 +15,11 @@
</head>
<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="navBarContainer" data-alt="byte"></div>
@@ -42,7 +47,7 @@
</div>
<div id="licenseContainer" class="blackBorderRect">
<div>
<div style="width: max-content;">
<div id="picContainer" class="blackBorderRect"></div>
<div id="signatureContainer">
@@ -50,14 +55,14 @@
<p id="signHere">Sign here</p>
</div>
</div>
<div>
<div id="detailsContainer">
<h2 id="authorDetail">For <h2 id="authorValue" >Byte Dice</h2></h2>
<h2 id="createdDetail">Issued <h2 id="createdValue">2025-01-18</h2></h2>
<h2 id="expireDetail">Expires <h2 id="expireValue" >never</h2></h2>
<h2 id="genderDetail">Identity<h2 id="genderValue" >unknown</h2></h2>
<h2 id="sillyDetain">Silly <div id="sillyValue" >10/10</div></h2>
<h2>For <h2 id="authorValue" >Byte Dice</h2></h2>
<h2>Issued <h2 id="createdValue">2025-01-18</h2></h2>
<h2>Expires <h2 id="expireValue" >never</h2></h2>
<h2>Identity <h2 id="genderValue" >unknown</h2></h2>
<h2>Silly <div id="sillyValue" >10/10</div></h2>
</div>
</div>
+28 -1
View File
@@ -1,6 +1,16 @@
CURRENT_PAGE = PAGES.LICENSE
const sillyInput = document.getElementById("sillyInput")
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 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")
@@ -11,11 +21,28 @@ function prependZero(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() {
sillyNumberValue.innerHTML = prependZero(this.value)
}
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)
}
+6 -3
View File
@@ -10,8 +10,7 @@
#licenseContainer {
width: 600px;
height: 400px;
padding: 40px;
padding-top: 80px;
padding: 40px 40px 40px 40px;
position: absolute;
left: 50%;
bottom: 0%;
@@ -29,6 +28,7 @@
color: #000000;
}
#picContainer {
margin-top: 40px;
width: 150px;
height: 150px;
}
@@ -121,7 +121,7 @@ input {
.slider::-webkit-slider-thumb, .slider::-moz-range-thumb {
-webkit-appearance: none;
appearance: none;
background-color: var(--navBar_Border);
background-color: var(--navBar_Inner);
border: none;
cursor: pointer;
border-radius: 0%;
@@ -161,4 +161,7 @@ input {
width: round(auto, var(--pxDensity));
height: auto;
aspect-ratio: 1 / 1;
}
#sillyValue {
display: inline;
}