From c92df33741aac5070325d5fba798cb4ce847f659 Mon Sep 17 00:00:00 2001 From: Anton Kamalov Date: Thu, 24 Oct 2024 16:52:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=91=D1=80=D1=81=D1=82=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D0=B0=D0=B2=D1=82=D0=BE=D1=80=D0=B8=D0=B7?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/Auth/templates/auth.html | 11 ++++++----- App/Auth/templates/error.html | 1 + App/static/css/main.css | 10 ++++++++++ 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/App/Auth/templates/auth.html b/App/Auth/templates/auth.html index 7d155f8..5e27a4e 100644 --- a/App/Auth/templates/auth.html +++ b/App/Auth/templates/auth.html @@ -3,14 +3,15 @@ Авторизация + -
- -
- + + + +
- +
diff --git a/App/Auth/templates/error.html b/App/Auth/templates/error.html index 553b510..7162296 100644 --- a/App/Auth/templates/error.html +++ b/App/Auth/templates/error.html @@ -3,6 +3,7 @@ Ошибка +

Сожалеем

diff --git a/App/static/css/main.css b/App/static/css/main.css index 33d2f6e..ff00f00 100644 --- a/App/static/css/main.css +++ b/App/static/css/main.css @@ -4,6 +4,16 @@ h1,h2 { body { background-color: #87CEEB; } +form[name="auth"] { + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); +} +form[name="auth"] input[type="submit"] { + display: block; + margin: 5px auto; +} button { background-color: #067936; border-radius: 10px;