-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnew-entry.html
59 lines (51 loc) · 2.65 KB
/
new-entry.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"><!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="bootstrap/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="/bootstrap/css/bootstrap-formhelpers.min.css">
<title>{{ title }}</title>
</head>
<body>
{% block content %}
<header>
<nav>
<a href="/login"> Login</a>
</nav>
</header>
{{ message }}
<form action="/new-entry" method="post">
<fieldset>
<p><label>Name: <input type="text" class="form-control" name="name"></label></p>
<p><label>Content: <textarea class="form-control" name="content"></textarea></label></p>
<p><label>Post Path 1: <input type="text" class="form-control" name="post-path"></label></p>
<p><label>Tag 1: <input type="text" class="form-control" name="tag1"></label></p>
<p><label>Tag 2: <input type="text" class="form-control" name="tag2"></label></p>
<p><label>Tag 3: <input type="text" class="form-control" name="tag3"></label></p>
<p><label>Tag 4: <input type="text" class="form-control" name="tag4"></label></p>
<p><label>Tag 5: <input type="text" class="form-control" name="tag5"></label></p>
<p><label>Image Path 1: <input type="text" class="form-control" name="image-path1"></label></p>
<p><label>Image Path 2: <input type="text" class="form-control" name="image-path2"></label></p>
<p><label>Image Path 3: <input type="text" class="form-control" name="image-path3"></label></p>
<p><label>Image Path 4: <input type="text" class="form-control" name="image-path4"></label></p>
<p><label>Image Path 5: <input type="text" class="form-control" name="image-path5"></label></p>
<p><label>Image Path 6: <input type="text" class="form-control" name="image-path6"></label></p>
<p><label>Image Path 7: <input type="text" class="form-control" name="image-path7"></label></p>
<p><label>Image Path 8: <input type="text" class="form-control" name="image-path8"></label></p>
<p><input type="submit" value="new-entry"></p>
</fieldset>
</form>
{% endblock %}
<footer>
<p>Copyright © Thao Huong Nguyen from the University of Michigan<br/>
<a href="thao-huong.herokuapp.com">School of Information</a>.</p>
</footer>
<script src="/bootstrap/js/jquery-3.1.1.min.js"></script>
<script src="/bootstrap/js/bootstrap.min.js"></script>
<script src="/bootstrap/js/bootstrap-formhelpers.js"></script>
</body>
</html>