-
Notifications
You must be signed in to change notification settings - Fork 0
/
reco.html
48 lines (45 loc) · 1.1 KB
/
reco.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
<!DOCTYPE html>
<html>
<head>
<title>Positive Locations</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f5f5f5;
color: #333;
}
h1 {
margin-top: 20px;
color: #C1038B;
text-align: center;
}
ul {
list-style: none;
padding: 0;
margin-top: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
li {
background-color: #fff;
padding: 10px;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-bottom: 10px;
width: 300px;
text-align: center;
}
</style>
</head>
<body>
<h1>Positive Locations</h1>
<ul>
{% for post in positive_posts %}
<li>{{ post.location.name }} (Sentiment: {{ post.sentiment }})</li>
{% endfor %}
</ul>
</body>
</html>