-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (57 loc) · 1.9 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>User Login</title>
<link rel="stylesheet" type="text/css" href="./css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="./css/style.css">
</head>
<body>
<div id="user-verify">
<form id="login-form">
<h2>Log In</h2>
<input type="text" id="login-username" placeholder="username">
<input type="password" id="login-password" placeholder="password">
<input type="button" id="login" value="Log in">
</form>
<form id="signup-form">
<h2>Sign Up</h2>
<input type="text" id="signup-username" placeholder="username">
<input type="password" id="signup-password" placeholder="password">
<input type="button" id="signup" value="Sign up">
</form>
</div>
<div id="user-info" style="display:none">
<nav>
<h2>User Info</h2>
<span id="user-name">username</span>
<input type="button" id="logout" value="Log out">
<div id="main">
<h3>Uploads</h3>
<!-- Please select an image file<br> -->
<input type="file" id="FileUpload"/><br>
<input type="text" class="form-control" id="title" placeholder="title"><br>
<input type="text" class="form-control" id="comment" placeholder="comment"><br>
<input type="button" class="btn" id="submit" value="submit" /><br>
</div>
</nav>
<div id="display">
<h3>Posts</h3>
<table class='table table-hover'>
<thead>
<tr>
<th class='span3'>image</th>
<th class='span3'>user</th>
<th class='span3'>title</th>
<th>comment</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<script src="./js/jquery-2.0.3.js"></script>
<script type="text/javascript" src="http://www.parsecdn.com/js/parse-1.2.15.min.js"></script>
<script type="text/javascript" src="./js/user.js"></script>
</body>
</html>