-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.html
42 lines (39 loc) · 1.31 KB
/
example.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
<!DOCTYPE>
<html>
<head>
<link href='http://fonts.googleapis.com/css?family=Nova+Square' rel='stylesheet' type='text/css'>
<link rel='stylesheet' href='/static/exampleStyle.css' type='text/css' />
</head>
<body>
<div class="maintable">
<div class="header" align="center">
<h1> Welcome to the W-ACM Blog! </h1>
</div>
<div class="entries">
{% for blogPost in blogPosts %}
<div class="avatar">
{{ blogPost.owner.nickname() }}
<br>
{{ blogPost.date.month }}/{{ blogPost.date.day }}/{{ blogPost.date.year }} at
{{ blogPost.getFormattedTime() }}
</div>
<div class="entry">
<div class="title">{{ blogPost.title }}</div>
<br>
{{ blogPost.content }}
<br><br>
</div>
<hr>
{% endfor %}
</div>
<div class="submitBox">
<form id="example" action="example" method="post">
<input type="text" name="title" placeholder="Title" col="140"><br>
<textarea name="content"></textarea><br />
Make this post public: <input type="checkbox" name="isPublic" value="true"> <br />
<input type="submit" value="Submit">
</form>
</div>
</div>
</body>
</html>