-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (48 loc) · 2.21 KB
/
index.html
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
65
66
67
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Dive Book - Home</title>
<meta name="description" content="The place Divers go to meet"/>
<meta name="author" content="up730418"/>
<link rel="stylesheet" href="main.css"/>
</head>
<body>
<div id = "topbar">
<!--<img src="logo.jpg" >-->
<input type="text" name="test" placeholder="Search">
<button onclick="window.location='home.html';"> Home </button>
<button onclick="window.location='diveLogs.html';"> Logs</button>
<button onclick="window.location='sites.html';"> Dive Sites</button>
<button onclick="window.location='kit.html';"> Kit</button>
<button onclick="logOut()"> Logout</button>
</div>
<div id="login">
<form id="loginInput" onsubmit="logIn()">
<input type="text" name= "user" placeholder="Enter Username">
<input type="password" name= "password" placeholder="Enter Password">
<input type="button" onclick="logIn()" value="Submit" >
<input type="button" onclick="showAccount()" value="Create Account">
</form>
<form id="accountInput" enctype="multipart/form-data">
<div id="uploadBox">
<p> Drag files onto this page to upload them</p>
</div>
<div id="message"> </div>
<div id="imgUpload" ></div>
<input type="file" name="image" id="image" onchange="loadFile(event,1)">
<input type="email" name= "email" placeholder="Email">
<input type="text" name= "user" placeholder="Enter Username">
<input type="password" name= "password" placeholder="Enter Password">
<input type="password" name= "rePassword" placeholder="Re-Type Password">
<input type="button" onclick="createAccount()" value="Submit" >
<input type="button" onclick="cancel()" value="Cancel">
</form>
<div id="errormessage"></div>
</div>
</body>
<script src="js/getData.js"> </script>
<script src="js/addData.js"> </script>
<script src="js/login.js"> </script>
<script src="js/fileUpload.js"></script>
</html>