blob: 9628eb4470c7147e3c9dd1338976901caa8377dd (
plain)
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
<!doctype HTML>
<html lang="en">
<head>
<meta charset="utf8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bulma css -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
<!-- chart.js -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/chart.js@3.7.1/dist/chart.min.js"></script>
<!-- FontAwesome4 -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- custom css -->
<link rel="stylesheet" href="/static/css/style.css">
<!-- favicon.io template -->
<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">
<link rel="manifest" href="/static/site.webmanifest">
<title>Strenghty 💪</title>
</head>
<body>
<section class="hero is-info is-fullheight gym-background">
<div class="hero-head">
<nav class="navbar">
<div class="navbar-brand">
<a class="navbar-item" href="/">
<img src="/static/favicon/apple-touch-icon.png" alt="Logo">
</a>
<span class="navbar-burger burger" data-target="nav-menu">
<span></span>
<span></span>
<span></span>
</span>
</div>
<div class="navbar-menu" id="nav-menu">
<div class="navbar-start">
{% if current_user.is_authenticated %}
<span class="navbar-item">
<a class="button is-white is-outlined" href="/home">
<span class="icon">
<i class="fa fa-home"></i>
</span>
<span>Home</span>
</a>
</span>
<span class="navbar-item">
<a class="button is-white is-outlined" href="/workout/record">
<span class="icon">
<i class="fa fa-pencil"></i>
</span>
<span>Record a Workout</span>
</a>
</span>
<span class="navbar-item">
<a class="button is-white is-outlined" href="/workout/create">
<span class="icon">
<i class="fa fa-plus"></i>
</span>
<span>Create a Workout</span>
</a>
</span>
<span class="navbar-item">
<a class="button is-white is-outlined" href="/progress">
<span class="icon">
<i class="fa fa-tasks"></i>
</span>
<span>Your Progress</span>
</a>
</span>
{% endif %}
</div>
<div class="navbar-end">
{% if current_user.is_authenticated %}
<span class="navbar-item">
<a class="button is-white is-outlined" href="/logout">
<span>Log Out</span>
</a>
</span>
{% else %}
<span class="navbar-item">
<a class="button is-white is-outlined" href="/login">
<span class="icon">
<i class="fa fa-user"></i>
</span>
<span>Login</span>
</a>
</span>
<span class="navbar-item">
<a class="button is-white is-outlined" href="/register">
<span class="icon">
<i class="fa fa-pencil"></i>
</span>
<span>Sign Up</span>
</a>
</span>
{% endif %}
</div>
</div>
</nav>
</div>
<div class="hero-body">
{% block content %}{% endblock %}
</div>
</section>
<!-- TODO: footer -->
<script async type="text/javascript" src="/static/js/bulma.js"></script>
</body>
</html>
|