summaryrefslogtreecommitdiff
path: root/templates/home.html
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2025-08-11 22:24:05 -0700
committerAnson Bridges <bridges.anson@gmail.com>2025-08-11 22:24:05 -0700
commit02284958a1189ffcb10b34a4c3a02417f8136a4d (patch)
tree837aac77184a3435ee686dd33878b9f2715c94b1 /templates/home.html
Initialize git repo from local project filesHEADmaster
Diffstat (limited to 'templates/home.html')
-rw-r--r--templates/home.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/home.html b/templates/home.html
new file mode 100644
index 0000000..d54d2b7
--- /dev/null
+++ b/templates/home.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Photocosm - Home</title>
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/navbar.css') }}">
+ </head>
+ <body style="margin:0px">
+ <div class="topnav">
+ <a class="active" href="#home">Home</a>
+ {% if current_user.is_authenticated %}
+ <a href="/logout" class="split">Logout, {{current_user.name}}</a>
+ {% else %}
+ <a href="/login" class="split">Log In</a>
+ <a href="/signup" class="split">Sign Up</a>
+ {% endif %}
+ </div>
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+ <div class="notification is-danger">
+ {{ messages[0] }}
+ </div>
+ {% endif %}
+ {% endwith %}
+ <div style="margin-left:10%">
+ <h2>Collections</h2>
+ {% for collection in collections %}
+ <a href="editor?collection={{ collection['id'] }}">{{ collection['id'] }}</a> <br>
+ {% endfor %}
+ </div>
+ </body>
+</html> \ No newline at end of file