diff --git a/Polyclinic/PolyclinicWebAppSuretor/Controllers/HomeController.cs b/Polyclinic/PolyclinicWebAppSuretor/Controllers/HomeController.cs index b1807e8..175cb86 100644 --- a/Polyclinic/PolyclinicWebAppSuretor/Controllers/HomeController.cs +++ b/Polyclinic/PolyclinicWebAppSuretor/Controllers/HomeController.cs @@ -38,6 +38,11 @@ namespace PolyclinicWebAppSuretor.Controllers return View(); } + public IActionResult CreateRecipe() + { + return View(); + } + [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] public IActionResult Error() { diff --git a/Polyclinic/PolyclinicWebAppSuretor/Models/SelectItems.cs b/Polyclinic/PolyclinicWebAppSuretor/Models/SelectItems.cs new file mode 100644 index 0000000..24729ba --- /dev/null +++ b/Polyclinic/PolyclinicWebAppSuretor/Models/SelectItems.cs @@ -0,0 +1,20 @@ +namespace PolyclinicWebAppSuretor.Models +{ + public class SelectItems + { + public List Items + { + get; set; + } + string[] arr = ["1", "2", "3"]; + + public void AddItems() + { + foreach (var item in arr) + { + Items.Add(item); + } + } + + } +} diff --git a/Polyclinic/PolyclinicWebAppSuretor/Views/Home/CreateProcedureModal.cshtml b/Polyclinic/PolyclinicWebAppSuretor/Views/Home/CreateProcedureModal.cshtml new file mode 100644 index 0000000..e1dd794 --- /dev/null +++ b/Polyclinic/PolyclinicWebAppSuretor/Views/Home/CreateProcedureModal.cshtml @@ -0,0 +1,5 @@ +@* + For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 +*@ +@{ +} diff --git a/Polyclinic/PolyclinicWebAppSuretor/Views/Home/CreateRecipe.cshtml b/Polyclinic/PolyclinicWebAppSuretor/Views/Home/CreateRecipe.cshtml new file mode 100644 index 0000000..6100d10 --- /dev/null +++ b/Polyclinic/PolyclinicWebAppSuretor/Views/Home/CreateRecipe.cshtml @@ -0,0 +1,46 @@ +@using PolyclinicContracts.ViewModels +@model List +@{ + ViewData["Title"] = "CreateRecipe"; +} + +
+

Создание рецепта

+
+ +
+ +
+
Количество процедур:
+
+ +
+
+ +
+
Комментарий:
+
+ +
+
+ +
+
Процедуры:
+
+ +
+
+ +
+
+
+ +
+
+
\ No newline at end of file diff --git a/Polyclinic/PolyclinicWebAppSuretor/Views/Home/Recipes.cshtml b/Polyclinic/PolyclinicWebAppSuretor/Views/Home/Recipes.cshtml index 82c52c9..9a12383 100644 --- a/Polyclinic/PolyclinicWebAppSuretor/Views/Home/Recipes.cshtml +++ b/Polyclinic/PolyclinicWebAppSuretor/Views/Home/Recipes.cshtml @@ -14,9 +14,13 @@ //

Авторизируйтесь

// return; // } +

- Создать рецепт + + Открыть модальное окно +

+