diff --git a/CarShowroom/CarShowroomManagerApp/Views/Home/ClientCreate.cshtml b/CarShowroom/CarShowroomManagerApp/Views/Home/ClientCreate.cshtml new file mode 100644 index 0000000..ebfa163 --- /dev/null +++ b/CarShowroom/CarShowroomManagerApp/Views/Home/ClientCreate.cshtml @@ -0,0 +1,24 @@ +@{ + ViewData["Title"] = "ClientCreate"; +} + +
+

Регистрация

+
+
+
+
Номер телефона:
+
+
+
+
ФИО:
+
+
+
+
+
+ +
+
+
diff --git a/CarShowroom/CarShowroomManagerApp/Views/Home/ClientUpdate.cshtml b/CarShowroom/CarShowroomManagerApp/Views/Home/ClientUpdate.cshtml new file mode 100644 index 0000000..3df884a --- /dev/null +++ b/CarShowroom/CarShowroomManagerApp/Views/Home/ClientUpdate.cshtml @@ -0,0 +1,47 @@ +@using CarShowroomDataModels.Views +@{ + ViewData["Title"] = "ClientUpdate"; +} +
+

Редактирование данных клиента

+
+
+
+
Номер телефона:
+
+
+
+
ФИО:
+
+
+
+
+
+ +
+
+
+ +@section Scripts +{ + +} \ No newline at end of file diff --git a/CarShowroom/CarShowroomManagerApp/Views/Home/Clients.cshtml b/CarShowroom/CarShowroomManagerApp/Views/Home/Clients.cshtml new file mode 100644 index 0000000..1bb97b8 --- /dev/null +++ b/CarShowroom/CarShowroomManagerApp/Views/Home/Clients.cshtml @@ -0,0 +1,49 @@ +@using CarShowroomDataModels.Views +@model List +@{ + ViewData["Title"] = "Clients"; +} +
+

Клиенты

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

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

+ return; + } +

+ Создать перевод + Обновить перевод +

+ + + + + + + + + + @foreach (var item in Model) + { + + + + + + } + +
НомерФИОНомер телефона
+ @Html.DisplayFor(modelItem => + item.Id) + + @Html.DisplayFor(modelItem => + item.Name) + + @Html.DisplayFor(modelItem => + item.PhoneNumber) +
+ } +
\ No newline at end of file diff --git a/CarShowroom/CarShowroomManagerApp/Views/Home/Enter.cshtml b/CarShowroom/CarShowroomManagerApp/Views/Home/Enter.cshtml new file mode 100644 index 0000000..53ca16d --- /dev/null +++ b/CarShowroom/CarShowroomManagerApp/Views/Home/Enter.cshtml @@ -0,0 +1,20 @@ +@{ + ViewData["Title"] = "Enter"; +} +
+

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

+
+
+
+
Логин:
+
+
+
+
Пароль:
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/CarShowroom/CarShowroomManagerApp/Views/Home/Index.cshtml b/CarShowroom/CarShowroomManagerApp/Views/Home/Index.cshtml index d2d19bd..0c8d03a 100644 --- a/CarShowroom/CarShowroomManagerApp/Views/Home/Index.cshtml +++ b/CarShowroom/CarShowroomManagerApp/Views/Home/Index.cshtml @@ -1,8 +1,54 @@ -@{ - ViewData["Title"] = "Home Page"; +@using CarShowroomDataModels.Views +@model List +@{ + ViewData["Title"] = "Sales"; } -
-

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.Cost) + + @Html.DisplayFor(modelItem => + item.EmployeeName) + + @Html.DisplayFor(modelItem => + item.ClientName) +
+ }
diff --git a/CarShowroom/CarShowroomManagerApp/Views/Home/Privacy.cshtml b/CarShowroom/CarShowroomManagerApp/Views/Home/Privacy.cshtml index af4fb19..8e20918 100644 --- a/CarShowroom/CarShowroomManagerApp/Views/Home/Privacy.cshtml +++ b/CarShowroom/CarShowroomManagerApp/Views/Home/Privacy.cshtml @@ -1,6 +1,31 @@ -@{ +@using CarShowroomDataModels.Views +@model EmployeeView +@{ ViewData["Title"] = "Privacy Policy"; } -

@ViewData["Title"]

- -

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

+
+

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

+
+
+
+
Логин:
+
+ +
+
+
+
Пароль:
+
+ +
+
+
+
ФИО:
+
+ +
+
+
diff --git a/CarShowroom/CarShowroomManagerApp/Views/Home/SaleCreate.cshtml b/CarShowroom/CarShowroomManagerApp/Views/Home/SaleCreate.cshtml new file mode 100644 index 0000000..927e3e6 --- /dev/null +++ b/CarShowroom/CarShowroomManagerApp/Views/Home/SaleCreate.cshtml @@ -0,0 +1,42 @@ +@{ + ViewData["Title"] = "SaleCreate"; +} +
+

Продажа

+
+
+
+
Сумма:
+
+ +
+
+
+
Автомобили:
+
+ +
+
+
+
Услуги:
+
+ +
+
+
+
+
+ +
+
+
diff --git a/CarShowroom/CarShowroomManagerApp/Views/Home/SaleDelete.cshtml b/CarShowroom/CarShowroomManagerApp/Views/Home/SaleDelete.cshtml new file mode 100644 index 0000000..88983f4 --- /dev/null +++ b/CarShowroom/CarShowroomManagerApp/Views/Home/SaleDelete.cshtml @@ -0,0 +1,18 @@ +@{ + ViewData["Title"] = "SaleDelete"; +} +
+

Удаление продажи

+
+
+
+
Продажа:
+
+ +
+
+
+
+
+
+
\ No newline at end of file diff --git a/CarShowroom/CarShowroomManagerApp/Views/Shared/_Layout.cshtml b/CarShowroom/CarShowroomManagerApp/Views/Shared/_Layout.cshtml index 8742bb3..e39c4ea 100644 --- a/CarShowroom/CarShowroomManagerApp/Views/Shared/_Layout.cshtml +++ b/CarShowroom/CarShowroomManagerApp/Views/Shared/_Layout.cshtml @@ -18,12 +18,18 @@