From 75fad1018b080ee204bff07a45f4a6d9f19aa732 Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Tue, 30 Apr 2024 21:36:34 +0400 Subject: [PATCH 01/13] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=BE=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20=D0=B1=D0=BE=D0=BB=D0=B5=D0=B7=D0=BD?= =?UTF-8?q?=D0=B8=20=D0=B2=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B5=20=D0=BA=D1=83=D1=80=D1=81=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Polyclinic/PolyclinicWebAppImplementer/Views/Home/Course.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Course.cshtml b/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Course.cshtml index 71f4bc9..da0ce0a 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Course.cshtml +++ b/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Course.cshtml @@ -33,7 +33,7 @@
Болезни
- @{ count = 10; From 1186721b8c683b0ff2e9151910eb60e627e2fc00 Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Tue, 30 Apr 2024 21:37:19 +0400 Subject: [PATCH 02/13] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=BE=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20=D0=B1=D0=BE=D0=BB=D0=B5=D0=B7=D0=BD?= =?UTF-8?q?=D0=B8=20=D0=B2=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B5=20=D1=81=D0=B8=D0=BC=D0=BF=D1=82=D0=BE=D0=BC=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PolyclinicWebAppImplementer/Views/Home/Symptom.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Symptom.cshtml b/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Symptom.cshtml index 8f7a493..52689f3 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Symptom.cshtml +++ b/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Symptom.cshtml @@ -14,7 +14,7 @@
Болезни
- @{ int count = 10; From 62696615f286bad297cc9f7b27a688bfd2df5f6a Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Tue, 30 Apr 2024 21:55:00 +0400 Subject: [PATCH 03/13] =?UTF-8?q?=D0=A0=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BB=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=86=D1=83=20=D0=BB=D0=BE=D0=B3=D0=B8=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/HomeController.cs | 11 +++++++++- .../Views/Home/Login.cshtml | 20 +++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/Polyclinic/PolyclinicWebAppImplementer/Controllers/HomeController.cs b/Polyclinic/PolyclinicWebAppImplementer/Controllers/HomeController.cs index 0850100..84262f6 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/Controllers/HomeController.cs +++ b/Polyclinic/PolyclinicWebAppImplementer/Controllers/HomeController.cs @@ -71,9 +71,18 @@ namespace PolyclinicWebAppImplementer.Controllers return View(); } + [HttpGet] + [HttpPost] public IActionResult Login() { - return View(); + if (HttpContext.Request.Method == "POST") + { + return Redirect("~/"); + } + else + { + return View(); + } } public IActionResult Register() diff --git a/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Login.cshtml b/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Login.cshtml index 9948ff3..af47f75 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Login.cshtml +++ b/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Login.cshtml @@ -1,3 +1,23 @@ @{ ViewBag.SelectedSiteMenuItem = SiteMenuItems.Login; } +
+
+

Вход

+
+ + +
+
+ + +
+ +
+
\ No newline at end of file From 43f26ab242014ba59f9e5ab835f06901b4137d51 Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Tue, 30 Apr 2024 22:02:20 +0400 Subject: [PATCH 04/13] =?UTF-8?q?=D0=A0=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BB=20=D1=84=D0=BE=D1=80=D0=BC=D1=83=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D1=80=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80?= =?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 --- .../Views/Home/Register.cshtml | 48 ++++++++++--------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Register.cshtml b/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Register.cshtml index 6a21190..959393c 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Register.cshtml +++ b/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Register.cshtml @@ -1,27 +1,29 @@ @{ ViewBag.SelectedSiteMenuItem = SiteMenuItems.Register; } -
-

Регистрация

-
-
-
-
Email:
-
-
-
-
Пароль:
-
-
-
-
ФИО:
-
-
-
-
-
- +
+ +

Регистрация

+
+ +
-
- \ No newline at end of file +
+ + +
+
+ + +
+ + +
\ No newline at end of file From f52a3d782ef573bbfce4bedc38ee69fb7835c64e Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Tue, 30 Apr 2024 22:02:40 +0400 Subject: [PATCH 05/13] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=B8=D0=BB=20=D0=BF=D0=BE=D0=BB=D0=B5=20email=20=D0=BD=D0=B0?= =?UTF-8?q?=20=D1=84=D0=BE=D1=80=D0=BC=D0=B5=20=D0=BB=D0=BE=D0=B3=D0=B8?= =?UTF-8?q?=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Polyclinic/PolyclinicWebAppImplementer/Views/Home/Login.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Login.cshtml b/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Login.cshtml index af47f75..e6b14f7 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Login.cshtml +++ b/Polyclinic/PolyclinicWebAppImplementer/Views/Home/Login.cshtml @@ -8,7 +8,7 @@ - +
- +
- +
- +