mirror of
https://github.com/csd4ni3l/loginween.git
synced 2025-11-05 05:58:10 +01:00
Compare commits
4 Commits
5942061b16
...
e08062a732
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e08062a732 | ||
|
|
78592cb848 | ||
|
|
8c334a89e2 | ||
|
|
294c30d7e7 |
2
app.py
2
app.py
@@ -121,6 +121,8 @@ def login():
|
||||
flask_login.login_user(user, remember=True)
|
||||
|
||||
return redirect(url_for("main"))
|
||||
else:
|
||||
return Response("Incorrect pattern.", 403)
|
||||
|
||||
@app.route("/register", methods=["GET", "POST"])
|
||||
def register():
|
||||
|
||||
@@ -30,20 +30,20 @@
|
||||
z-index: 1;
|
||||
}
|
||||
* {
|
||||
font-family: 'Creepster', cursive !important;
|
||||
font-family: 'New Rocker', cursive !important;
|
||||
}
|
||||
|
||||
body {
|
||||
background: linear-gradient(135deg, #0d0618 0%, #1a0b2e 50%, #2d1b4e 100%);
|
||||
}
|
||||
</style>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Creepster&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=New Rocker&display=swap" rel="stylesheet">
|
||||
{% block head %} {% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg bg-body-tertiary">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="/" style="font-size: 2rem; font-family: 'Creepster', cursive; color: orange;">🎃 LoginWeen</a>
|
||||
<a class="navbar-brand" href="/" style="font-size: 2rem; font-family: 'New Rocker', cursive; color: orange;">🎃 LoginWeen</a>
|
||||
|
||||
<button class="navbar-toggler" type="button", data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
|
||||
@@ -26,9 +26,6 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" aria-current="page" href="/countdown">Countdown</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/logout">Logout</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -12,9 +12,6 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/countdown">Countdown</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/logout">Logout</a>
|
||||
</li>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
@@ -12,9 +12,6 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/countdown">Countdown</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/logout">Logout</a>
|
||||
</li>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
Reference in New Issue
Block a user