-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (46 loc) · 1.41 KB
/
index.html
File metadata and controls
56 lines (46 loc) · 1.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Dear Diary</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.min.css" />
</head>
<body>
<section class="hero is-primary">
<div class="hero-body">
<div class="container">
<h1 class="title">
Dear Diary
</h1>
</div>
</div>
</section>
<section class="section">
<div class="container">
<article class="media">
<div class="media-content">
<div class="content">
<a href="{% url 'add'%}">Add new entry</a>
</div>
</div>
</article>
{% for entry in entries %}
<article class="media">
<div class="media-content">
<div class="content">
<p>
<strong>{{entry.date_posted}}</strong>
<br>{{entry.text}}
</p>
</div>
</div>
</article>
{% endfor %}
</div>
</section>
<footer class="footer">
</footer>
</body>
</html>