Refactoring for nix

This commit is contained in:
Eoghan Conlon 2023-06-21 21:54:39 +01:00
parent 3e0564a756
commit 492226c000
3 changed files with 2 additions and 2 deletions

33
src/SignUp/index.html Normal file
View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en-ie">
<head>
<meta charset="UTF-8" />
<title>Skynet Sign-up</title>
</head>
<body>
<h1>Sign-up</h1>
<p>
Welcome to the Skynet sign-up tool. Below is the form to fill out to get your free Skynet account provided that you
are a current member of the UL Computer Society. Please fill out your details below.
</p>
<form action="temp_success.html">
<label for="uid">Username</label>
<input type="text" id="uid" name="uid" /> <br />
<label for="cn">First name</label>
<input type="text" id="cn" name="cn" /> <br />
<label for="sn">Surname</label>
<input type="text" id="sn" name="sn" /> <br />
<label for="mail">Email</label>
<input type="text" id="mail" name="mail" /> <br />
<label for="skDiscord">Discord Username</label>
<input type="text" id="skDiscord" name="skDiscord" /> <br />
<input type="Submit" value="Submit" />
</form>
<footer>
UL Computer Society 2023-<span id="year">2023</span>
</footer>
</body>
<script>
document.getElementById('year').textContent = new Date().getFullYear().toString()
</script>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<!-- This file is only temporary for the purposes of testing the form and will be removed from the final product -->
<html lang="en-ie">
<head>
<meta charset="UTF-8" />
<title>Skynet Sign-up</title>
</head>
<body>
SUCCESS!!
<footer>
UL Computer Society 2023-<span id="year">2023</span>
</footer>
</body>
<script>
document.getElementById('year').textContent = new Date().getFullYear().toString()
</script>
</html>

18
src/index.html Normal file
View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en-ie">
<head>
<meta charset="UTF-8" />
<title>Skynet</title>
</head>
<body>
<h1>Skynet Password Reset & Sign-up service</h1>
<h2><a href="SignUp/index.html"> Account Signup</a></h2>
<p>Please use this service if you haven't gotten a skynet account already</p>
<footer>
UL Computer Society 2023-<span id="year">2023</span>
</footer>
</body>
<script>
document.getElementById('year').textContent = new Date().getFullYear().toString()
</script>
</html>