2023-08-07 18:08:54 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en-ie">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8"/>
|
|
|
|
<title>Skynet Sign-up</title>
|
|
|
|
<link rel="icon" type="image/png" href="images/favicon/favicon-16x16.png"/>
|
|
|
|
</head>
|
|
|
|
<body>
|
2023-08-07 18:19:36 +01:00
|
|
|
<h2>Welcome to Skynet</h2>
|
|
|
|
<p>
|
|
|
|
Skynet is a server cluster that the UL Computer Society runs. If you previously had an account and need to activate it
|
|
|
|
please click <a href="./modify.html">here</a> to set a contact email address for your account. IF you are a new user,
|
|
|
|
please fill in the form below with the email that you use on ul wolves.
|
|
|
|
</p>
|
2023-08-07 18:19:15 +01:00
|
|
|
<form id="register">
|
|
|
|
<label for="mail">Email address</label>
|
2023-08-07 18:24:20 +01:00
|
|
|
<input type="email" id="mail" name="email" /> <br />
|
|
|
|
<input type="submit" value="Submit" />
|
2023-08-07 18:19:15 +01:00
|
|
|
</form>
|
2023-08-07 18:08:54 +01:00
|
|
|
<footer>
|
|
|
|
UL Computer Society 2023-<span id="year">2023</span>
|
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
<script>
|
|
|
|
document.getElementById('year').textContent = new Date().getFullYear().toString()
|
|
|
|
</script>
|
2023-08-07 18:23:20 +01:00
|
|
|
<script>
|
|
|
|
const formEl = document.getElementById('register');
|
|
|
|
formEl.addEventListener('submit', (listener) => formHandler(listener));
|
|
|
|
|
|
|
|
function formHandler(listener){
|
|
|
|
listener.preventDefault();
|
|
|
|
alert("this works");
|
|
|
|
}
|
|
|
|
</script>
|
2023-08-07 18:08:54 +01:00
|
|
|
</html>
|