updated some stuff idk i forgor

This commit is contained in:
2025-01-19 11:03:37 +01:00
parent 46575bf30d
commit 006e0edfa0
5 changed files with 24 additions and 15 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
<img class="toyImg" src="/assets/boykisserLicenseEmpty.png"> <img class="toyImg" src="/assets/boykisserLicenseEmpty.png">
<div class="toyTextContainer"> <div class="toyTextContainer">
<h1>Boykisser license generator</h1> <h1>Boykisser license generator</h1>
<p>Automatically generates a "Boykissser license" for you. Free of charge.</p> <p>Automatically generates a "Boykissser license" for you. Free of charge and very silly.</p>
</div> </div>
</button> </button>
</li> </li>
+3 -1
View File
@@ -42,7 +42,9 @@
<div id="sillyNumberValue">03</div> <div id="sillyNumberValue">03</div>
<div class="sliderDiv"> <div class="sliderDiv">
<input type="range" min="0" max="10" value="3" class="slider" id="sillyInput" name="sillyInput"> <input type="range" min="0" max="10" value="3" class="slider" id="sillyInput" name="sillyInput">
</div> </div><br>
<label for="signatureInput">Signature</label>
<input type="text" id="signatureInput" name="signatureInput" value="Byte Dice">
</form> </form>
</div> </div>
+15 -10
View File
@@ -1,16 +1,18 @@
CURRENT_PAGE = PAGES.LICENSE CURRENT_PAGE = PAGES.LICENSE
const authorInput = document.getElementById("authorInput") const authorInput = document.getElementById("authorInput")
const createdInput = document.getElementById("createdInput") const createdInput = document.getElementById("createdInput")
const expireInput = document.getElementById("expireInput") const expireInput = document.getElementById("expireInput")
const identityInput = document.getElementById("identityInput") const identityInput = document.getElementById("identityInput")
const sillyInput = document.getElementById("sillyInput") const sillyInput = document.getElementById("sillyInput")
const signatureInput = document.getElementById("signatureInput")
const authorValue = document.getElementById("authorValue") const authorValue = document.getElementById("authorValue")
const createdValue = document.getElementById("createdValue") const createdValue = document.getElementById("createdValue")
const expireValue = document.getElementById("expireValue") const expireValue = document.getElementById("expireValue")
const genderValue = document.getElementById("genderValue") const genderValue = document.getElementById("genderValue")
const sillyValue = document.getElementById("sillyValue") const sillyValue = document.getElementById("sillyValue")
const signatureValue = document.getElementById("signature")
const sillyNumberValue = document.getElementById("sillyNumberValue") const sillyNumberValue = document.getElementById("sillyNumberValue")
@@ -36,6 +38,9 @@ identityInput.oninput = function() {
sillyInput.oninput = function() { sillyInput.oninput = function() {
sillyNumberValue.innerHTML = prependZero(this.value) sillyNumberValue.innerHTML = prependZero(this.value)
} }
signatureInput.oninput = function() {
signatureValue.innerHTML = this.value
}
function onLoadLicense() { function onLoadLicense() {
+4 -3
View File
@@ -10,7 +10,7 @@
#licenseContainer { #licenseContainer {
width: 600px; width: 600px;
height: 400px; height: 400px;
padding: 40px 40px 40px 40px; padding: 40px 10px 40px 40px;
position: absolute; position: absolute;
left: 50%; left: 50%;
bottom: 0%; bottom: 0%;
@@ -18,7 +18,7 @@
font-size: 0.75rem; font-size: 0.75rem;
box-sizing: border-box; box-sizing: border-box;
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: auto auto;
grid-template-rows: auto auto; grid-template-rows: auto auto;
} }
.blackBorderRect { .blackBorderRect {
@@ -54,10 +54,11 @@
border-top: #000000 solid 6px; border-top: #000000 solid 6px;
margin: 0%; margin: 0%;
padding: 0% 25px; padding: 0% 25px;
text-align: center;
} }
#detailsContainer { #detailsContainer {
display: grid; display: grid;
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, auto);
} }
h2 { h2 {
margin: 5px; margin: 5px;
+1
View File
@@ -5,6 +5,7 @@
display: grid; display: grid;
grid-template-columns: 1fr; grid-template-columns: 1fr;
grid-template-rows: calc(32px * var(--pxDensity)) 1fr; grid-template-rows: calc(32px * var(--pxDensity)) 1fr;
color: inherit;
} }
.toyImg { .toyImg {
image-rendering: pixelated; image-rendering: pixelated;