-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.html
73 lines (64 loc) · 1.92 KB
/
base.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html>
<head>
<title>{% block title %}My App{% endblock %}</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f5f5f5; /* Light gray background */
color: #333; /* Dark gray text color */
}
nav {
background-color: #C1038B; /* Your brand color */
color: white; /* White text color for links */
padding: 10px 0;
}
nav ul {
list-style-type: none;
padding: 0;
display: flex;
justify-content: space-around;
}
nav li {
display: inline;
margin-right: 20px;
}
nav a {
text-decoration: none;
color: white;
font-weight: bold;
}
.flashes {
background-color: #FFE5E5; /* Light pink background for flash messages */
padding: 10px;
margin: 10px 0;
border: 1px solid #FFB3B3; /* Lighter pink border */
}
/* Add more custom styles as needed */
</style>
<!-- ... other head elements ... -->
</head>
<body>
<nav>
<ul>
<li><a href="{{ url_for('index') }}">Home</a></li>
<li><a href="{{ url_for('feed') }}">Feed</a></li>
<li><a href="{{ url_for('reco') }}">Recommended Safe Places</a></li>
<li><a href="{{ url_for('signup') }}"></a><b>Signup</b></li>
</ul>
</nav>
<div>
{% if messages %}
<ul class="flashes">
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
</div>
{% block content %}{% endblock %}
<!-- ... other body elements ... -->
</body>
</html>