From 5eff7fdd1c2ea29a98844e649ec0e05f301264d2 Mon Sep 17 00:00:00 2001 From: BelPE Date: Thu, 10 Nov 2022 14:05:09 +0800 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=BE=20=D0=BF=D1=80=D0=BE=D0=B3?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D0=BC=D0=B5=20=D1=82=D1=80=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=BE=D0=BA;=20=D1=84=D0=B8=D0=BA=D1=81=20?= =?UTF-8?q?=D1=81=D1=82=D0=B8=D0=BB=D0=B5=D0=B9;=20=D1=81=D0=BE=D0=B7?= =?UTF-8?q?=D0=B4=D0=B0=D0=BD=D0=B0=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=86=D0=B0=20=D1=80=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- login.html | 4 +-- servers.html | 4 +-- signin.html | 50 ++++++++++++++++++++++++++++++ src/scripts/signin.js | 21 +++++++++++++ src/styles/style.css | 63 ++++++++++++++++++++++++-------------- src/styles/styleMobile.css | 38 ++++++++++++++++++----- workout.html | 42 ++++++++++++------------- 7 files changed, 166 insertions(+), 56 deletions(-) create mode 100644 signin.html create mode 100644 src/scripts/signin.js diff --git a/login.html b/login.html index 7135e4a..d99b0f3 100644 --- a/login.html +++ b/login.html @@ -4,8 +4,8 @@ Dhaverd - - + + diff --git a/servers.html b/servers.html index ff1fa98..ff053b9 100644 --- a/servers.html +++ b/servers.html @@ -4,8 +4,8 @@ Dhaverd - Servers - - + + diff --git a/signin.html b/signin.html new file mode 100644 index 0000000..8fe3f3f --- /dev/null +++ b/signin.html @@ -0,0 +1,50 @@ + + + + + + Dhaverd + + + + + +
+
+ +
+
+
+
+

Главная

+

Gitea

+

Сервера

+

MyChat

+

Программа тренировок

+
+
+

Регистрация

+
+
+
+
+ + + + + +
+
+
+
+
+
+
+
+

® Dhaverd 2022

+
+
+ + + + \ No newline at end of file diff --git a/src/scripts/signin.js b/src/scripts/signin.js new file mode 100644 index 0000000..2c3f77e --- /dev/null +++ b/src/scripts/signin.js @@ -0,0 +1,21 @@ +$("#form").on("submit", function(){ + $.ajax({ + url: '/src/login.php', + method: 'post', + dataType: 'html', + data: $(this).serialize(), + success: function(data){ + $('#message').html(data); + } + }); +}); + +$('body').on('click', '#password-checkbox', function(){ + if ($(this).is(':checked')){ + $('#password').attr('type', 'text'); + $('#password2').attr('type', 'text'); + } else { + $('#password').attr('type', 'password'); + $('#password2').attr('type', 'password'); + } +}); \ No newline at end of file diff --git a/src/styles/style.css b/src/styles/style.css index 864ddb0..27e0c4a 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -139,14 +139,12 @@ h2 { .zomboid { width: 50%; + border-radius: 10%; } .image-content { text-align: center; } -.image-content img { - border-radius: 10%; -} .default { background-color: #424242; @@ -158,6 +156,7 @@ h2 { .minecraft-vanilla { width: 50%; + border-radius: 10%; } .fixed nav a:hover { @@ -187,7 +186,7 @@ h2 { margin: 10px; table-layout: auto; width: 98%; - height: 80%; + height: 40%; border-collapse: collapse; border: 1px solid black; } @@ -254,16 +253,7 @@ h2 { width: 50%; } -#leha { - font-size: 16px; - text-align: center; - border: 1px solid black; - padding-left: 10px; - padding-bottom: 2px; - width: 10%; -} - -#plov { +#leha, #plov, #leha2, #plov2 { font-size: 16px; text-align: center; border: 1px solid black; @@ -295,22 +285,26 @@ h2 { } .index-main-content { - height: 200px; + /*height: 200px;*/ + height: auto; padding-bottom: 10px; } .servers-main-content { - height: 850px; + /*height: 850px;*/ + height: auto; padding-bottom: 10px; } .mychat-main-content { - height: 450px; + /*height: 450px;*/ + height: auto; padding-bottom: 10px; } .workout-main-content { - height: 820px; + /*height: 820px;*/ + height: auto; padding-bottom: 10px; } @@ -328,7 +322,7 @@ h2 { text-align:center; } -.login-main-content { +.login-main-content, .signin-main-content { height: auto; padding-bottom: 10px; } @@ -340,18 +334,18 @@ h2 { padding-bottom: 20px; } -#loginh1 { +#loginh1, #signinh1 { padding-top: 20px; } -.login-input { +.login-input, .signin-input { width: 100%; border: none; border-radius: 5px; height: 30px; } -.login-button { +.login-button, .signin-button { background-color: #609A21; border: none; border-radius: 5px; @@ -384,7 +378,7 @@ h2 { font-size: 16px; } -#password { +#password, #password2 { margin-bottom: 10px; font-family: Arial; font-size: 16px; @@ -394,4 +388,27 @@ h2 { font-family: segoe print; font-size: 14px; color: #E0E0E0; +} + +.signin-main { + padding-left: 10px; + width: 97%; + display: grid; + grid-template-columns: 35% 60% 5%; + grid-template-areas: "signin-left signin-form signin-right"; +} + +.signin-left { + grid-area: signin-left; +} + +.signin-right { + grid-area: signin-right; +} + +.signin-form { + width: 50%; + text-align: center; + grid-area: signin-form; + padding-bottom: 20px; } \ No newline at end of file diff --git a/src/styles/styleMobile.css b/src/styles/styleMobile.css index 8596539..be66e26 100644 --- a/src/styles/styleMobile.css +++ b/src/styles/styleMobile.css @@ -126,15 +126,13 @@ h2 { .zomboid { width: 50%; + border-radius: 10%; } .image-content { text-align: center; height: 20%; } -.image-content img { - border-radius: 10%; -} .default { background-color: #424242; @@ -146,6 +144,7 @@ h2 { .minecraft-vanilla { width: 50%; + border-radius: 10%; } .default nav a:hover { @@ -305,7 +304,7 @@ h2 { text-align:center; } -.login-main-content { +.login-main-content, .signin-main-content { height: auto; padding-bottom: 10px; } @@ -317,18 +316,18 @@ h2 { padding-bottom: 20px; } -#loginh1 { +#loginh1, #signinh1 { padding-top: 20px; } -.login-input { +.login-input, .signin-input { width: 100%; border: none; border-radius: 5px; height: 30px; } -.login-button { +.login-button, .signin-button { background-color: #609A21; border: none; border-radius: 5px; @@ -361,7 +360,7 @@ h2 { font-size: 16px; } -#password { +#password, #password2 { margin-bottom: 10px; font-family: Arial; font-size: 16px; @@ -371,4 +370,27 @@ h2 { font-family: segoe print; font-size: 14px; color: #E0E0E0; +} + +.signin-main { + padding-left: 10px; + width: 97%; + display: grid; + grid-template-columns: 35% 60% 5%; + grid-template-areas: "signin-left signin-form signin-right"; +} + +.signin-left { + grid-area: signin-left; +} + +.signin-right { + grid-area: signin-right; +} + +.signin-form { + width: 50%; + text-align: center; + grid-area: signin-form; + padding-bottom: 20px; } \ No newline at end of file diff --git a/workout.html b/workout.html index ab92ba7..7b930d9 100644 --- a/workout.html +++ b/workout.html @@ -4,8 +4,8 @@ Dhaverd - - + + @@ -218,21 +218,21 @@ Тяга вертикального блока широким хватом Спина/Дельты - 4x15 + 4x12 25кг 25кг Жим гантелей сидя на скамье 90гр Спина/Дельты - 4x15 + 4x12 8кг 8кг Разведения с гантелями через стороны Спина/Дельты - 4x15 + 4x12 4кг 4кг @@ -256,30 +256,30 @@ Жим гантелей лежа Грудь - 4x15 - ?кг - ?кг + 4x12 + 8кг + 9кг Сведение рук в Пэк Дэк Грудь - 4x15 - ?кг - ?кг + 4x12 + 30кг + 30кг Подъем гантелей на бицепс стоя Бицепс - 4x15 - ?кг - ?кг + 4x12 + 6кг + 6кг Разгибания с прямой рукоятью в кроссовере Бицепс - 4x15 - ?кг - ?кг + 4x12 + 15кг + 15кг Эллипсоид @@ -301,28 +301,28 @@ Жим платформы ногами Ноги - 4x15 + 4x12 ?кг ?кг Икроножные стоя в Гакке Ноги - 3x15 + 3x12 ?кг ?кг Тяга шт. к подбородку Дельты - 4x15 + 4x12 ?кг ?кг Пэк Дэк разведения Дельты - 4x15 + 4x12 ?кг ?кг