inital commit
This commit is contained in:
33
templates/base.html
Normal file
33
templates/base.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% block title %}Demo Sites Builder{% endblock %}</title>
|
||||
<link rel="stylesheet" href="/static/styles/main.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="topbar">
|
||||
<div class="container row between">
|
||||
<a href="/" class="brand">DemoSites AI</a>
|
||||
<nav class="row gap">
|
||||
{% if user.is_authenticated %}
|
||||
<a href="/dashboard/">Dashboard</a>
|
||||
<a href="/logout/">Logout</a>
|
||||
{% else %}
|
||||
<a href="/login/">Login</a>
|
||||
<a href="/signup/">Sign up</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
<main class="container">
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
<div class="flash">{{ message }}</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user