From a230039ed01e1858a7611c8f1e26b493ad4be1a7 Mon Sep 17 00:00:00 2001 From: Leozillo73 <76777036+Leozillo73@users.noreply.github.com> Date: Fri, 31 May 2024 14:29:42 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B5=D0=BC=D0=BD=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=B0=D0=BF=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Home/CreateRoute.cshtml | 49 ++++++++++++ .../ZooClientApp/Views/Home/Index.cshtml | 78 +++---------------- .../ZooClientApp/Views/Home/IndexRoute.cshtml | 56 +++++++++++++ 3 files changed, 115 insertions(+), 68 deletions(-) create mode 100644 git/JurasicZoo/ZooClientApp/Views/Home/CreateRoute.cshtml create mode 100644 git/JurasicZoo/ZooClientApp/Views/Home/IndexRoute.cshtml diff --git a/git/JurasicZoo/ZooClientApp/Views/Home/CreateRoute.cshtml b/git/JurasicZoo/ZooClientApp/Views/Home/CreateRoute.cshtml new file mode 100644 index 0000000..a4ff1d8 --- /dev/null +++ b/git/JurasicZoo/ZooClientApp/Views/Home/CreateRoute.cshtml @@ -0,0 +1,49 @@ +@{ + ViewData["Title"] = "CreateRoute"; +} + +
+

Создание маршрута

+
+
+
+
Название:
+
+ +
+
+
+
Заповедники:
+
+ +
+
+
+
Дата:
+
+ +
+
+
+
+
+ +
+
+
+@section Scripts + { + +} \ No newline at end of file diff --git a/git/JurasicZoo/ZooClientApp/Views/Home/Index.cshtml b/git/JurasicZoo/ZooClientApp/Views/Home/Index.cshtml index 5c85796..ce53f9b 100644 --- a/git/JurasicZoo/ZooClientApp/Views/Home/Index.cshtml +++ b/git/JurasicZoo/ZooClientApp/Views/Home/Index.cshtml @@ -4,72 +4,14 @@ ViewData["Title"] = "Home Page"; }
-

Маршруты

-
-
- @{ - if (Model == null) - { -

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

- return; - } -

- Создать Маршруты -

- - - - - - - - - - - - - @foreach (var item in Model) - { - - - - - - - - - } - -
- Номер - - Изделие - - Дата начала - - Дата окончания - - Цена - - Статус -
- @Html.DisplayFor(modelItem => - item.Id) - - @Html.DisplayFor(modelItem => - item.RouteName) - - @Html.DisplayFor(modelItem => - item.DateStart) - - @Html.DisplayFor(modelItem => - item.DateFinish) - - @Html.DisplayFor(modelItem => - item.RoutePrice) - - @Html.DisplayFor(modelItem => - item.Status) -
- } +

Приложение "Зоопарк "Юрский период". Клиент"

+
+ + Посещения врача + Покупки лекарств + Политика + Отчеты + Вход + Регистрация +
\ No newline at end of file diff --git a/git/JurasicZoo/ZooClientApp/Views/Home/IndexRoute.cshtml b/git/JurasicZoo/ZooClientApp/Views/Home/IndexRoute.cshtml new file mode 100644 index 0000000..8e94b8c --- /dev/null +++ b/git/JurasicZoo/ZooClientApp/Views/Home/IndexRoute.cshtml @@ -0,0 +1,56 @@ +@using ZooContracts.ViewModels + +@model List + +@{ + ViewData["Title"] = "Routes"; +} + +
+

Маршруты

+
+ + +
+ @{ + if (Model == null) + { +

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

+ return; + } +

+ Создать маршрут +

+ + + + + + + + + + @foreach (var item in Model) + { + + + + + + } + +
+ Номер + + Маршрут + + Дата начала +
+ @Html.DisplayFor(modelItem => item.Id) + + @Html.DisplayFor(modelItem => item.RoutePrice) + + @Html.DisplayFor(modelItem => item.DateStart) +
+ } +
\ No newline at end of file