Spaces:
Runtime error
Runtime error
Commit ·
0e16885
1
Parent(s): a9082a1
feat: add index and profile HTML templates for user interface
Browse files- app/templates/index.html +12 -0
- app/templates/profile.html +12 -0
app/templates/index.html
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<title>Home</title>
|
| 5 |
+
</head>
|
| 6 |
+
<body>
|
| 7 |
+
<h1>Welcome to PoraHobeBot</h1>
|
| 8 |
+
<p>You are logged in!</p>
|
| 9 |
+
<a href="{{ url_for('main.profile') }}">View Profile</a>
|
| 10 |
+
<a href="{{ url_for('main.logout') }}">Logout</a>
|
| 11 |
+
</body>
|
| 12 |
+
</html>
|
app/templates/profile.html
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<title>Profile</title>
|
| 5 |
+
</head>
|
| 6 |
+
<body>
|
| 7 |
+
<h1>Your Profile</h1>
|
| 8 |
+
<p>Name: {{ user.name }}</p>
|
| 9 |
+
<p>Email: {{ user.email }}</p>
|
| 10 |
+
<a href="{{ url_for('main.index') }}">Back to Home</a>
|
| 11 |
+
</body>
|
| 12 |
+
</html>
|