Spaces:
Running
Running
Upload index.html
Browse files- templates/index.html +16 -0
templates/index.html
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<title>Home Page</title>
|
6 |
+
</head>
|
7 |
+
<body>
|
8 |
+
<h1>Welcome to the Mai Bhi Singer main page</h1>
|
9 |
+
{% if logged_in %}
|
10 |
+
<p>You are logged in. Visit the <a href="{{ url_for('create_song') }}">Try samples</a>.</p>
|
11 |
+
<p><a href="{{ url_for('logout') }}">Logout</a></p>
|
12 |
+
{% else %}
|
13 |
+
<p>You are not logged in. <a href="{{ url_for('google.login') }}">Login with Google</a></p>
|
14 |
+
{% endif %}
|
15 |
+
</body>
|
16 |
+
</html>
|