From 968d1754438ea6dc413c0bd30c5f8c1eef0fc16e Mon Sep 17 00:00:00 2001 From: Extrimal Date: Tue, 30 Apr 2024 22:51:43 +0400 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=BA=D0=BE=D0=BD=D1=87=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BF=D1=80=D0=B8=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=D0=BC=20=D0=B0=D0=B4=D0=BC=D0=B8=D0=BD=D0=B8=D1=81=D1=82?= =?UTF-8?q?=D1=80=D0=B0=D1=82=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/HomeController.cs | 18 +++- .../Views/Home/AddDinnerRoomToFiles.cshtml | 34 +------- .../Home/AddDinnerToConferenceBooking.cshtml | 37 ++++++++ .../Views/Home/AddDinnerToFile.cshtml | 22 +---- .../Views/Home/AddDinnerToRoom.cshtml | 41 ++++++++- ...alPlan.cshtml => AddRoomToMealPlan.cshtml} | 35 +------- .../Views/Home/ConferenceBookings.cshtml | 42 ++------- .../Views/Home/CreateConferenceBooking.cshtml | 20 +++++ .../Views/Home/CreateDinner.cshtml | 35 ++------ .../Views/Home/CreateRoom.cshtml | 38 ++------- .../Views/Home/DeleteConferenceBooking.cshtml | 22 +++++ .../Views/Home/DeleteDinner.cshtml | 31 +------ .../Views/Home/DeleteRoom.cshtml | 31 +------ .../Views/Home/Dinners.cshtml | 39 ++------- .../Views/Home/Enter.cshtml | 85 +------------------ .../Views/Home/Index.cshtml | 5 +- .../Views/Home/Privacy.cshtml | 53 +++++++----- .../Views/Home/Register.cshtml | 77 +---------------- .../Views/Home/Rooms.cshtml | 43 ++-------- .../Views/Home/UpdateConferenceBooking.cshtml | 49 +++++++++++ .../Views/Home/UpdateDinner.cshtml | 42 ++------- .../Views/Home/UpdateRoom.cshtml | 53 ++---------- .../Views/Shared/_Layout.cshtml | 2 +- .../wwwroot/css/enter.css | 78 +++++++++++++++++ .../wwwroot/css/register.css | 73 ++++++++++++++++ .../wwwroot/css/style.css | 56 ++++++++++++ .../Controllers/MainController.cs | 1 - 27 files changed, 483 insertions(+), 579 deletions(-) create mode 100644 Hotel/HotelAdministratorApp/Views/Home/AddDinnerToConferenceBooking.cshtml rename Hotel/HotelAdministratorApp/Views/Home/{AddNumberToMealPlan.cshtml => AddRoomToMealPlan.cshtml} (52%) create mode 100644 Hotel/HotelAdministratorApp/Views/Home/CreateConferenceBooking.cshtml create mode 100644 Hotel/HotelAdministratorApp/Views/Home/DeleteConferenceBooking.cshtml create mode 100644 Hotel/HotelAdministratorApp/Views/Home/UpdateConferenceBooking.cshtml create mode 100644 Hotel/HotelAdministratorApp/wwwroot/css/enter.css create mode 100644 Hotel/HotelAdministratorApp/wwwroot/css/register.css create mode 100644 Hotel/HotelAdministratorApp/wwwroot/css/style.css diff --git a/Hotel/HotelAdministratorApp/Controllers/HomeController.cs b/Hotel/HotelAdministratorApp/Controllers/HomeController.cs index 829c064..57d9c78 100644 --- a/Hotel/HotelAdministratorApp/Controllers/HomeController.cs +++ b/Hotel/HotelAdministratorApp/Controllers/HomeController.cs @@ -79,11 +79,27 @@ namespace HotelAdministratorApp.Controllers { return View(); } + public IActionResult CreateConferenceBooking() + { + return View(); + } + public IActionResult UpdateConferenceBooking() + { + return View(); + } + public IActionResult DeleteConferenceBooking() + { + return View(); + } public IActionResult AddDinnerToRoom() { return View(); } - public IActionResult AddNumberToMealPlan() + public IActionResult AddDinnerToConferenceBooking() + { + return View(); + } + public IActionResult AddRoomToMealPlan() { return View(); } diff --git a/Hotel/HotelAdministratorApp/Views/Home/AddDinnerRoomToFiles.cshtml b/Hotel/HotelAdministratorApp/Views/Home/AddDinnerRoomToFiles.cshtml index ea9336f..30b9e81 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/AddDinnerRoomToFiles.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/AddDinnerRoomToFiles.cshtml @@ -2,39 +2,7 @@ ViewData["Title"] = "AddDinnerRoomToFiles"; } - +

Отчет (word/excel)

diff --git a/Hotel/HotelAdministratorApp/Views/Home/AddDinnerToConferenceBooking.cshtml b/Hotel/HotelAdministratorApp/Views/Home/AddDinnerToConferenceBooking.cshtml new file mode 100644 index 0000000..48b7833 --- /dev/null +++ b/Hotel/HotelAdministratorApp/Views/Home/AddDinnerToConferenceBooking.cshtml @@ -0,0 +1,37 @@ +@{ + ViewData["Title"] = "AddDinnerToConferenceBooking"; +} + + + +
+

Добавить обед в бронь по конференциям

+
+
+
+ + +
+
+ + + + + + + + + + + +
НаименованиеКалорийностьЦена
+
+
+
+ +
+ +
\ No newline at end of file diff --git a/Hotel/HotelAdministratorApp/Views/Home/AddDinnerToFile.cshtml b/Hotel/HotelAdministratorApp/Views/Home/AddDinnerToFile.cshtml index c1b7524..bb93718 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/AddDinnerToFile.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/AddDinnerToFile.cshtml @@ -2,27 +2,7 @@ ViewData["Title"] = "AddDinnerToFile"; } - +
diff --git a/Hotel/HotelAdministratorApp/Views/Home/AddDinnerToRoom.cshtml b/Hotel/HotelAdministratorApp/Views/Home/AddDinnerToRoom.cshtml index e1dd794..1df4fca 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/AddDinnerToRoom.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/AddDinnerToRoom.cshtml @@ -1,5 +1,38 @@ -@* - For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 -*@ -@{ +@{ + ViewData["Title"] = "AddDinnerToRoom"; } + + + +
+

Добавить обед в комнату

+
+
+
+ + +
+
+ + + + + + + + + + + +
НаименованиеКалорийностьЦена
+
+
+
+ +
+ +
\ No newline at end of file diff --git a/Hotel/HotelAdministratorApp/Views/Home/AddNumberToMealPlan.cshtml b/Hotel/HotelAdministratorApp/Views/Home/AddRoomToMealPlan.cshtml similarity index 52% rename from Hotel/HotelAdministratorApp/Views/Home/AddNumberToMealPlan.cshtml rename to Hotel/HotelAdministratorApp/Views/Home/AddRoomToMealPlan.cshtml index 93f956e..4bad7c1 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/AddNumberToMealPlan.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/AddRoomToMealPlan.cshtml @@ -1,39 +1,10 @@ @{ ViewData["Title"] = "AddNumberToMealPlan"; } -

Привязка номера с планом питания

diff --git a/Hotel/HotelAdministratorApp/Views/Home/ConferenceBookings.cshtml b/Hotel/HotelAdministratorApp/Views/Home/ConferenceBookings.cshtml index 5f2de2f..e46bde0 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/ConferenceBookings.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/ConferenceBookings.cshtml @@ -3,39 +3,7 @@ } - +

Список броней по конференциям

@@ -61,16 +29,16 @@
diff --git a/Hotel/HotelAdministratorApp/Views/Home/CreateConferenceBooking.cshtml b/Hotel/HotelAdministratorApp/Views/Home/CreateConferenceBooking.cshtml new file mode 100644 index 0000000..ff3eb38 --- /dev/null +++ b/Hotel/HotelAdministratorApp/Views/Home/CreateConferenceBooking.cshtml @@ -0,0 +1,20 @@ +@{ + ViewData["Title"] = "CreateConferenceBooking"; +} + + + +
+

Добавить бронь по конференциям

+
+
+ + + +
+ +
+ +
diff --git a/Hotel/HotelAdministratorApp/Views/Home/CreateDinner.cshtml b/Hotel/HotelAdministratorApp/Views/Home/CreateDinner.cshtml index d983fa5..10402a0 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/CreateDinner.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/CreateDinner.cshtml @@ -1,39 +1,16 @@ @{ ViewData["Title"] = "CreateDinner"; } - + + +

Добавить обед

- - - + + +
diff --git a/Hotel/HotelAdministratorApp/Views/Home/CreateRoom.cshtml b/Hotel/HotelAdministratorApp/Views/Home/CreateRoom.cshtml index eefcf9a..67b9a6f 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/CreateRoom.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/CreateRoom.cshtml @@ -1,42 +1,16 @@ @{ ViewData["Title"] = "CreateRoom"; } - + + +

Добавить комнату

- - - + + +
diff --git a/Hotel/HotelAdministratorApp/Views/Home/DeleteConferenceBooking.cshtml b/Hotel/HotelAdministratorApp/Views/Home/DeleteConferenceBooking.cshtml new file mode 100644 index 0000000..54aa340 --- /dev/null +++ b/Hotel/HotelAdministratorApp/Views/Home/DeleteConferenceBooking.cshtml @@ -0,0 +1,22 @@ +@{ + ViewData["Title"] = "DeleteConferenceBooking"; +} + + + + +
+

Удалить бронь по конференциям

+
+ +
+ + +
+
+ +
+ +
diff --git a/Hotel/HotelAdministratorApp/Views/Home/DeleteDinner.cshtml b/Hotel/HotelAdministratorApp/Views/Home/DeleteDinner.cshtml index 5cba694..4456e7b 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/DeleteDinner.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/DeleteDinner.cshtml @@ -1,35 +1,10 @@ @{ ViewData["Title"] = "DeleteDinner"; } -

Удалить обед

diff --git a/Hotel/HotelAdministratorApp/Views/Home/DeleteRoom.cshtml b/Hotel/HotelAdministratorApp/Views/Home/DeleteRoom.cshtml index eb9494c..98a464d 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/DeleteRoom.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/DeleteRoom.cshtml @@ -1,35 +1,10 @@ @{ ViewData["Title"] = "DeleteRoom"; } -

Удалить комнату

diff --git a/Hotel/HotelAdministratorApp/Views/Home/Dinners.cshtml b/Hotel/HotelAdministratorApp/Views/Home/Dinners.cshtml index 03e4f6d..e13facb 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/Dinners.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/Dinners.cshtml @@ -3,38 +3,9 @@ } - + +

Список обедов

@@ -63,13 +34,13 @@
diff --git a/Hotel/HotelAdministratorApp/Views/Home/Enter.cshtml b/Hotel/HotelAdministratorApp/Views/Home/Enter.cshtml index bafc7fb..2c20d96 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/Enter.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/Enter.cshtml @@ -2,88 +2,9 @@ ViewData["Title"] = "Enter"; } - + +

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

@@ -100,7 +21,7 @@
-
diff --git a/Hotel/HotelAdministratorApp/Views/Home/Index.cshtml b/Hotel/HotelAdministratorApp/Views/Home/Index.cshtml index 2843700..6a6533a 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/Index.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/Index.cshtml @@ -2,7 +2,8 @@ ViewData["Title"] = "Home Page"; } - + + - +
diff --git a/Hotel/HotelAdministratorApp/Views/Home/Privacy.cshtml b/Hotel/HotelAdministratorApp/Views/Home/Privacy.cshtml index a421a83..b7f7940 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/Privacy.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/Privacy.cshtml @@ -5,28 +5,43 @@ @{ ViewData["Title"] = "Privacy"; } + + + +

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

-
-
Логин:
-
-
-
-
Почта:
-
-
-
-
Пароль:
-
-
-
-
ФИО:
-
-
-
-
-
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
\ No newline at end of file diff --git a/Hotel/HotelAdministratorApp/Views/Home/Register.cshtml b/Hotel/HotelAdministratorApp/Views/Home/Register.cshtml index 2edda3f..02aab58 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/Register.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/Register.cshtml @@ -2,82 +2,9 @@ ViewData["Title"] = "Register"; } - + +

Регистрация в приложении

diff --git a/Hotel/HotelAdministratorApp/Views/Home/Rooms.cshtml b/Hotel/HotelAdministratorApp/Views/Home/Rooms.cshtml index 11a0d43..636324e 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/Rooms.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/Rooms.cshtml @@ -3,40 +3,9 @@ } - + +

Список комнат

@@ -64,16 +33,16 @@
diff --git a/Hotel/HotelAdministratorApp/Views/Home/UpdateConferenceBooking.cshtml b/Hotel/HotelAdministratorApp/Views/Home/UpdateConferenceBooking.cshtml new file mode 100644 index 0000000..9063530 --- /dev/null +++ b/Hotel/HotelAdministratorApp/Views/Home/UpdateConferenceBooking.cshtml @@ -0,0 +1,49 @@ +@{ + ViewData["Title"] = "UpdateConferenceBooking"; +} + + + +
+

Обновить бронь по конференциям

+
+
+
+ + +
+
+ +
+
+ +
+ + + + + + + + + + + + +
+ Номер + + Название + + Калорийность + + Цена +
+
+ +
+ + +
\ No newline at end of file diff --git a/Hotel/HotelAdministratorApp/Views/Home/UpdateDinner.cshtml b/Hotel/HotelAdministratorApp/Views/Home/UpdateDinner.cshtml index d2b4bd6..8a1a071 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/UpdateDinner.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/UpdateDinner.cshtml @@ -1,39 +1,9 @@ @{ ViewData["Title"] = "UpdateDinner"; } - + + +

Обновить обед

@@ -43,13 +13,13 @@
- +
- +
- +
diff --git a/Hotel/HotelAdministratorApp/Views/Home/UpdateRoom.cshtml b/Hotel/HotelAdministratorApp/Views/Home/UpdateRoom.cshtml index 6894677..d506a33 100644 --- a/Hotel/HotelAdministratorApp/Views/Home/UpdateRoom.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Home/UpdateRoom.cshtml @@ -1,50 +1,9 @@ @{ ViewData["Title"] = "UpdateRoom"; } - + + +

Обновить комнату

@@ -54,13 +13,13 @@
- +
- +
- +
diff --git a/Hotel/HotelAdministratorApp/Views/Shared/_Layout.cshtml b/Hotel/HotelAdministratorApp/Views/Shared/_Layout.cshtml index 7c8e23e..059c7e6 100644 --- a/Hotel/HotelAdministratorApp/Views/Shared/_Layout.cshtml +++ b/Hotel/HotelAdministratorApp/Views/Shared/_Layout.cshtml @@ -67,7 +67,7 @@