[Pass-reset] Fix. Indentation + out of context changes with js experiment

This commit is contained in:
eoghan.conlon 2023-07-27 17:52:35 +01:00
parent d1397bc967
commit f592d18ac2

View file

@ -1,29 +1,27 @@
<!DOCTYPE html>
<html lang="en-ie">
<head>
<meta charset="UTF-8" />
<title>Password reset</title>
<script src="formHandler.js"></script>
</head>
<body>
<div>
<form name ="myForm" action="" method="get" id="form">
<label for="uid">Username</label>
<input type="text" id="uid" name="uid" /> <br />
<label for="oldPw">Old Password</label>
<input type="password" id="oldPw" name="oldPW" /> <br />
<label for="newPW1">New Password</label>
<input type="password" id="newPW1" name="newPW" /> <br />
<label for="newPW2">Confirm</label>
<input type="password" id="newPW2" name="newPWConfirm" /> <br />
<input type="Button" value="Submit" onclick="handleSubmit(this.form)" />
</form>
</div>
<footer>
UL Computer Society 2023-<span id="year">2023</span>
</footer>
</body>
<script>
document.getElementById('year').textContent = new Date().getFullYear().toString();
</script>
<head>
<meta charset="UTF-8" />
<title>Password reset</title>
</head>
<body>
<form id="reset">
<label for="uid">Username</label>
<input type="text" id="uid" name="uid" /> <br />
<label for="oldPw">Old Password</label>
<input type="password" id="oldPw" name="oldPW" /> <br />
<label for="newPW1">New Password</label>
<input type="password" id="newPW1" name="newPW" /> <br />
<label for="newPW2">Confirm</label>
<input type="password" id="newPW2" name="newPWConfirm" /> <br />
<input type="Submit" value="Submit" />
</form>
<footer>
UL Computer Society 2023-<span id="year">2023</span>
</footer>
<script src="formHandler.js"></script>
</body>
<script>
document.getElementById('year').textContent = new Date().getFullYear().toString();
</script>
</html>