diff options
Diffstat (limited to 'app/templates')
| -rw-r--r-- | app/templates/index.html | 11 | ||||
| -rw-r--r-- | app/templates/register.html | 14 |
2 files changed, 25 insertions, 0 deletions
diff --git a/app/templates/index.html b/app/templates/index.html new file mode 100644 index 0000000..b4869d6 --- /dev/null +++ b/app/templates/index.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html lang="fr"> + <head> + <meta charset="UTF-8"> + <title>Hello {{ name }}</title> + </head> + <body> + <h1>Hello {{ name }}</h1> + <p>From {{ host }}</p> + </body> +</html> diff --git a/app/templates/register.html b/app/templates/register.html new file mode 100644 index 0000000..bd39bdf --- /dev/null +++ b/app/templates/register.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html lang="fr"> +<head> + <meta charset="UTF-8"> + <title>Register</title> +</head> +<body> + <h1>Register</h1> + <form action="{{ url_for('index') }}" method="POST"> + <input type="text" name="username" placeholder="Username" required> + <button type="submit">Valider</button> + </form> +</body> +</html> |
