diff --git a/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Create.cshtml b/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Create.cshtml index e1dd794..2bf7d61 100644 --- a/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Create.cshtml +++ b/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Create.cshtml @@ -1,5 +1,50 @@ -@* - For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 -*@ -@{ +@{ + ViewData["Title"] = "Create"; } +
+

Создание заказа

+
+
+
+
Изделие:
+
+ +
+
+
+
Количество:
+
+
+
+
Сумма:
+
+
+
+
+
+
+
+ + diff --git a/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Enter.cshtml b/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Enter.cshtml index e1dd794..106d3d5 100644 --- a/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Enter.cshtml +++ b/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Enter.cshtml @@ -1,5 +1,21 @@ -@* - For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 -*@ -@{ +@{ + ViewData["Title"] = "Enter"; } + +
+

Вход в приложение

+
+
+
+
Логин:
+
+
+
+
Пароль:
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Index.cshtml b/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Index.cshtml index d2d19bd..e997b04 100644 --- a/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Index.cshtml +++ b/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Index.cshtml @@ -1,8 +1,79 @@ -@{ +@using PrecastConcretePlantContracts.ViewModels + +@{ ViewData["Title"] = "Home Page"; } +@model List + +@{ + ViewData["Title"] = "Home Page"; +} +
-

Welcome

-

Learn about building Web apps with ASP.NET Core.

+

Заказы

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

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

+ return; + } + +

+ Создать заказ +

+ + + + + + + + + + + + + @foreach (var item in Model) + { + + + + + + + + + } + +
+ Номер + + Изделие + + Дата создания + + Количество + + Сумма + + Статус +
+ @Html.DisplayFor(modelItem => item.Id) + + @Html.DisplayFor(modelItem => item.ReinforcedName) + + @Html.DisplayFor(modelItem => item.DateCreate) + + @Html.DisplayFor(modelItem => item.Count) + + @Html.DisplayFor(modelItem => item.Sum) + + @Html.DisplayFor(modelItem => item.Status) +
+ } +
\ No newline at end of file diff --git a/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Privacy.cshtml b/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Privacy.cshtml index af4fb19..2ec3e0a 100644 --- a/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Privacy.cshtml +++ b/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Privacy.cshtml @@ -1,6 +1,28 @@ -@{ - ViewData["Title"] = "Privacy Policy"; -} -

@ViewData["Title"]

+@using PrecastConcretePlantContracts.ViewModels -

Use this page to detail your site's privacy policy.

+@model ClientViewModel + +@{ + ViewData["Title"] = "Privacy Policy"; +} +
+

Личные данные

+
+
+
+
Логин:
+
+
+
+
Пароль:
+
+
+
+
ФИО:
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Register.cshtml b/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Register.cshtml index e1dd794..398b516 100644 --- a/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Register.cshtml +++ b/PrecastConcretePlant/PrecastConcretePlantShopApp/Views/Home/Register.cshtml @@ -1,5 +1,25 @@ -@* - For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 -*@ -@{ +@{ + ViewData["Title"] = "Register"; } + +
+

Регистрация

+
+
+
+
Логин:
+
+
+
+
Пароль:
+
+
+
+
ФИО:
+
+
+
+
+
+
+
\ No newline at end of file