From 3bb449765f90e6e07a38e6ecabc678e26f84ab4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=91=D0=B0=D0=BA=D0=B0?= =?UTF-8?q?=D0=BB=D1=8C=D1=81=D0=BA=D0=B0=D1=8F?= Date: Wed, 1 May 2024 14:47:46 +0400 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=D0=B0=20?= =?UTF-8?q?=D1=84=D0=BE=D1=80=D0=BC=D1=83=20=D0=BF=D0=BE=D0=BB=D1=83=D1=87?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=BA=D1=83=D1=80=D1=81=D0=BE=D0=B2=20=D0=BF=D0=BE=20=D0=BF?= =?UTF-8?q?=D1=80=D0=BE=D1=86=D0=B5=D0=B4=D1=83=D1=80=D0=B0=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/HomeController.cs | 5 ++ .../PolyclinicWebAppSuretor/SiteMenuItems.cs | 3 +- .../Views/Home/ListCoursesByProcedures.cshtml | 53 +++++++++++++++++++ .../wwwroot/css/site.css | 31 ++++++++++- 4 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 Polyclinic/PolyclinicWebAppSuretor/Views/Home/ListCoursesByProcedures.cshtml diff --git a/Polyclinic/PolyclinicWebAppSuretor/Controllers/HomeController.cs b/Polyclinic/PolyclinicWebAppSuretor/Controllers/HomeController.cs index c373b91..57869ac 100644 --- a/Polyclinic/PolyclinicWebAppSuretor/Controllers/HomeController.cs +++ b/Polyclinic/PolyclinicWebAppSuretor/Controllers/HomeController.cs @@ -52,6 +52,11 @@ namespace PolyclinicWebAppSuretor.Controllers { return View(); } + + public IActionResult ListCoursesByProcedures() + { + return View(); + } [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] public IActionResult Error() diff --git a/Polyclinic/PolyclinicWebAppSuretor/SiteMenuItems.cs b/Polyclinic/PolyclinicWebAppSuretor/SiteMenuItems.cs index db5bdbb..3c0d84c 100644 --- a/Polyclinic/PolyclinicWebAppSuretor/SiteMenuItems.cs +++ b/Polyclinic/PolyclinicWebAppSuretor/SiteMenuItems.cs @@ -7,10 +7,11 @@ public static (string Url, string Title) Procedures = ("Procedures", "Процедуры"); public static (string Url, string Title) Recipes = ("Recipes", "Рецепты"); public static (string Url, string Title) Users = ("Users", "Пользователи"); + public static (string Url, string Title) ListCoursesByProcedures = ("ListCoursesByProcedures", "Список курсов приема препаратов"); public static List<(string Url, string Title)> MenuItemsOrder = new List<(string Url, string Title)> { - Index, Medicaments, Procedures, Recipes, Users + Index, Medicaments, Procedures, Recipes, Users, ListCoursesByProcedures }; } } diff --git a/Polyclinic/PolyclinicWebAppSuretor/Views/Home/ListCoursesByProcedures.cshtml b/Polyclinic/PolyclinicWebAppSuretor/Views/Home/ListCoursesByProcedures.cshtml new file mode 100644 index 0000000..b6a68f1 --- /dev/null +++ b/Polyclinic/PolyclinicWebAppSuretor/Views/Home/ListCoursesByProcedures.cshtml @@ -0,0 +1,53 @@ +@using PolyclinicContracts.ViewModels +@{ + ViewData["Title"] = "ListCoursesByProcedures"; +} +
+

Список курсов приема препаратов по выбранным процедурам

+
+ +
+ +
+

+ Выберите процедуры из списка +

+
+
    + @{ + int count = 20; + for (int i = 1; i <= count; i++) + { +
  • + + +
  • + } + } +
+
+
+ +
+

+ В каком формате сохранить файл? +

+ +
+ + + + +
+ +

+ Как назовем файл? +

+ + + +
+ +
+
+
diff --git a/Polyclinic/PolyclinicWebAppSuretor/wwwroot/css/site.css b/Polyclinic/PolyclinicWebAppSuretor/wwwroot/css/site.css index 646955c..3595f39 100644 --- a/Polyclinic/PolyclinicWebAppSuretor/wwwroot/css/site.css +++ b/Polyclinic/PolyclinicWebAppSuretor/wwwroot/css/site.css @@ -78,7 +78,7 @@ body { background-color: rgb(6, 25, 16); } -.form-create-procedure{ +.form-create-procedure { color: white; background-color: rgb(149, 100, 197) } @@ -129,3 +129,32 @@ body { .medicament-info { text-shadow: 0px 4px 8px rgba(26, 67, 71, 1); /* , , , */ } + +.head-list-courses { + font-size: 4vh; + font-style: oblique; +} + +.form-list-courses { + background-color: rgb(190, 179, 112); + color: rgb(53, 47, 13); +} + +.list-procedures { + height: 40vh; +} + +.button-save-list-courses { + width: 20vh; + height: 8vh; + color: white; + transition: transform 0.3s; + background-color: rgb(90, 80, 19); + box-shadow: 0px 4px 8px rgb(60, 53, 7); /* , , , */ +} + + .button-save-list-courses:hover { + color: white; + background-color: rgb(60, 53, 7); + transform: scale(1.2); + }