-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (52 loc) · 1.97 KB
/
index.html
File metadata and controls
64 lines (52 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Room Booking</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="styles.css" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<script src="main.js"></script>
</head>
<body>
<div class="container" >
<h1>Room Booking</h1>
<h2>With Hull University</h2>
<br>
<br>
<form class="form" action= "Login.php" id ="Login" method="post" name="Login">
<fieldset class="form-fieldset ui-input __first">
<input type="Number" min="0" placeholder="ID" name="IDform" id = "formID2" required/>
<label for="repeat-new-password">
<span data-text="Repeat New Password">ID</span>
</label>
</fieldset>
<fieldset class="form-fieldset ui-input __second">
<input type="password" placeholder="Password" name="Passwordform" maxlength="20" id = "username" required/>
<label for="repeat-new-password">
<span data-text="Repeat New Password">Password</span>
</label>
</fieldset>
<div class="form-footer">
<button class="btn" onclick= "fetch()">Submit</button>
</div>
</form>
</div>
<script>
var fetch = function(){
var x = document.getElementById("Login").elements.namedItem("IDform").value;
localStorage.setItem("LoginID",x);
}
</script>
<div class="mainmessage">
<a href="FetchPass.php">Usernames and Passwords (For Testing)</a>
</div>
</body>
</html>