adicionado /register /login

This commit is contained in:
bacalhau 2026-03-03 19:05:11 +00:00
parent 8c1eb7dee8
commit 9d3efaadfe
8 changed files with 76 additions and 22 deletions

View file

@ -1,13 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>onions</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<header><h1>onions</h1><p><h2>find the onion of your life!</h2></p></header>
<nav><a href="/register">register</a> / <a href="/login">login</a> / <a href="/search">search</a></nav>
<body>
<h1>Welcome!</h1>
<p>WIP<p>
</body>
</html>
{% extends "page.html" %}
{% block content %}
<h2>Home</h2>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
{% endblock %}

15
src/templates/login.html Normal file
View file

@ -0,0 +1,15 @@
{% extends "page.html" %}
{% block content %}
<h2>Login</h2>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
{% endblock %}

16
src/templates/page.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<title>Dating Website</title>
<link rel="stylesheet" href="{{ url_for('static', filename='drip.css') }}">
</head>
<header><h1>Dating Website</h1></header>
<nav><a href="/">home</a> / <a href="/register">register</a> / <a href="login">login</a></nav>
<body>
{% block content %}{% endblock %}
<footer>Dating Website</footer>
</body>
</html>

View file

@ -0,0 +1,15 @@
{% extends "page.html" %}
{% block content %}
<h2>Register</h2>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
<p>Page text</p>
{% endblock %}