105 lines
2.6 KiB
HTML
105 lines
2.6 KiB
HTML
<!doctype html>
|
|
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
body {
|
|
font-family:Arial, Helvetica, sans-serif;
|
|
background:#12232E;
|
|
max-width: 1000px;
|
|
padding:4% 4%;
|
|
margin: auto;
|
|
}
|
|
|
|
h1 {
|
|
font-size:48px;
|
|
color:#EEFBFB;
|
|
text-align:center;
|
|
}
|
|
|
|
#footer {
|
|
color:white;
|
|
width:100%;
|
|
text-align: center;
|
|
}
|
|
|
|
#footer a {
|
|
color: #4DA8DA;
|
|
}
|
|
|
|
input {
|
|
color:white;
|
|
width:100%;
|
|
border-radius:5px;
|
|
transition:all 0.3s;
|
|
box-sizing:border-box;
|
|
}
|
|
|
|
::placeholder {
|
|
font-family:Arial, Helvetica, sans-serif;
|
|
color:#DBDBDB;
|
|
font-weight:500;
|
|
}
|
|
|
|
[type="text"] {
|
|
font-family:Consolas, monaco, monospace;
|
|
font-weight:500;
|
|
font-size:48px;
|
|
line-height:120px;
|
|
|
|
margin-bottom:15px;
|
|
outline:0;
|
|
background-color:#203647;
|
|
border:2px solid #4DA8DA;
|
|
padding:13px;
|
|
}
|
|
|
|
[type="submit"] {
|
|
font-weight:700;
|
|
font-size:36px;
|
|
line-height:120px;
|
|
|
|
margin-top:-4px;
|
|
background:#007CC7;
|
|
border:0;
|
|
cursor:pointer;
|
|
}
|
|
|
|
#password {
|
|
font-weight:bold;
|
|
font-size:56px;
|
|
text-align:center;
|
|
border:2px solid #203647;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<script src="kicpass.js"></script>
|
|
<script>
|
|
function generatePassword() {
|
|
var serial = document.getElementById('serial').value;
|
|
var password = generate_password(serial);
|
|
document.getElementById('password').value = password;
|
|
}
|
|
</script>
|
|
|
|
<h1>Dancing Stage Euromix Internet Challenge Password Generator</h1>
|
|
<br>
|
|
|
|
<form id="passform" action="javascript:generatePassword();">
|
|
<input id="serial" type="text" placeholder="Machine License Key (DASHES REQUIRED)" minlength="6" maxlength="24" required />
|
|
<input type="submit" value="GENERATE" />
|
|
</form>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<input id="password" type="text" placeholder="Password" onfocus="this.select();" readonly />
|
|
<br>
|
|
<br>
|
|
<div id="footer">
|
|
Source code: <a href="https://github.com/987123879113/euromix_irpass">https://github.com/987123879113/euromix_irpass</a>
|
|
</div>
|
|
</body>
|
|
</html> |