Закончил приложением администратра

This commit is contained in:
Extrimal 2024-04-30 22:51:43 +04:00
parent 4b59d843aa
commit 968d175443
27 changed files with 483 additions and 579 deletions

View File

@ -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();
}

View File

@ -2,39 +2,7 @@
ViewData["Title"] = "AddDinnerRoomToFiles";
}
<head>
<style>
.buttons-create-file {
display: flex;
justify-content: center;
}
.button-action {
display: flex;
width: 130px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content: center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
}
.button-action:hover {
background-color: #D2D3D3;
color: #393939;
}
.table {
text-align: center;
}
.text-center {
margin-bottom: 30px;
}
</style>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1">Отчет (word/excel)</h2>

View File

@ -0,0 +1,37 @@
@{
ViewData["Title"] = "AddDinnerToConferenceBooking";
}
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Добавить обед в бронь по конференциям</h2>
</div>
<form method="post">
<div class="form-group">
<label for="room">Выберите бронь</label>
<select id="room" name="room" class="form-control">
</select>
</div>
<div class="form-group">
<label class="list-words-add">Выберите обеды</label>
<table class="table">
<thead>
<tr>
<th>Наименование</th>
<th>Калорийность</th>
<th>Цена</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<br>
<div class="button">
<button class="button-action">Сохранить</button>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="ConferenceBookings" class="button-action">Назад</a>
</div>
</form>

View File

@ -2,27 +2,7 @@
ViewData["Title"] = "AddDinnerToFile";
}
<head>
<style>
.button-action {
display: flex;
width: 300px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content: center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
margin-bottom:10px;
}
.button-action:hover {
background-color: #D2D3D3;
color: #393939;
}
</style>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">

View File

@ -1,5 +1,38 @@
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
@{
ViewData["Title"] = "AddDinnerToRoom";
}
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Добавить обед в комнату</h2>
</div>
<form method="post">
<div class="form-group">
<label for="room">Выберите номер</label>
<select id="room" name="room" class="form-control">
</select>
</div>
<div class="form-group">
<label class="list-words-add">Выберите обеды</label>
<table class="table">
<thead>
<tr>
<th>Наименование</th>
<th>Калорийность</th>
<th>Цена</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<br>
<div class="button">
<button class="button-action">Сохранить</button>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="Rooms" class="button-action">Назад</a>
</div>
</form>

View File

@ -1,39 +1,10 @@
@{
ViewData["Title"] = "AddNumberToMealPlan";
}
<style>
.text-center {
margin-bottom: 30px;
}
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
.button-action {
display: flex;
width: 300px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content: center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
margin-bottom: 10px;
}
input {
margin-bottom: 20px;
}
.button-action:hover {
background-color: #D2D3D3;
color: #393939;
}
.spisok {
margin-bottom: 20px;
}
</style>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1">Привязка номера с планом питания</h2>
</div>

View File

@ -3,39 +3,7 @@
}
<head>
<style>
.buttons-action-with-conferencebooking {
display: flex;
justify-content: space-between;
}
.button-action {
display: flex;
width: 130px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content: center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
}
.button-action:hover {
background-color: #D2D3D3;
color: #393939;
}
.table {
text-align: center;
}
.text-center {
margin-bottom: 30px;
}
</style>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Список броней по конференциям</h2>
@ -61,16 +29,16 @@
</table>
<div class="buttons-action-with-conferencebooking">
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="CreateConferenceBooking" class="button-action">Добавить</a>
<a asp-area="" asp-controller="Home" asp-action="CreateConferenceBooking" class="button-action" style="width: 130px">Добавить</a>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="UpdateConferenceBooking" class="button-action">Изменить</a>
<a asp-area="" asp-controller="Home" asp-action="UpdateConferenceBooking" class="button-action" style="width: 130px">Изменить</a>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="DeleteConferenceBooking" class="button-action">Удалить</a>
<a asp-area="" asp-controller="Home" asp-action="DeleteConferenceBooking" class="button-action" style="width: 130px">Удалить</a>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="AddDinnerToConferenceBooking" class="button-action">Добавить обед</a>
<a asp-area="" asp-controller="Home" asp-action="AddDinnerToConferenceBooking" class="button-action" style="width: 130px">Добавить обед</a>
</div>
</div>
</div>

View File

@ -0,0 +1,20 @@
@{
ViewData["Title"] = "CreateConferenceBooking";
}
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Добавить бронь по конференциям</h2>
</div>
<form method="post">
<input style="margin-bottom: 20px" type="text" placeholder="Введите место конференции" class="form-control" />
<label class="u-label u-text-custom-color-1 u-label-1" >Дата бронирования:</label>
<input type="datetime-local" class="form-control" style="margin-bottom: 20px">
<div class="button">
<button class="button-action">Сохранить</button>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="ConferenceBookings" class="button-action">Назад</a>
</div>
</form>

View File

@ -1,39 +1,16 @@
@{
ViewData["Title"] = "CreateDinner";
}
<style>
.text-center {
margin-bottom: 30px;
}
.button-action {
display: flex;
width: 300px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content: center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
margin-bottom: 10px;
}
input{
margin-bottom:20px;
}
.button-action:hover {
background-color: #D2D3D3;
color: #393939;
}
</style>
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Добавить обед</h2>
</div>
<form method="post">
<input type="text" placeholder="Введите название обеда" class="form-control" />
<input type="text" placeholder="Введите калорийность обеда" class="form-control" />
<input type="number" placeholder="Введите стоимость обеда" class="form-control" step="1" />
<input style="margin-bottom: 20px" type="text" placeholder="Введите название обеда" class="form-control" />
<input style="margin-bottom: 20px" type="text" placeholder="Введите калорийность обеда" class="form-control" />
<input style="margin-bottom: 20px" type="number" placeholder="Введите стоимость обеда" class="form-control" step="1" />
<div class="button">
<button class="button-action">Сохранить</button>
</div>

View File

@ -1,42 +1,16 @@
@{
ViewData["Title"] = "CreateRoom";
}
<style>
.text-center {
margin-bottom: 30px;
}
.button-action {
display: flex;
width: 300px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content: center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
margin-bottom: 10px;
}
input {
margin-bottom: 20px;
}
.button-action:hover {
background-color: #D2D3D3;
color: #393939;
}
</style>
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Добавить комнату</h2>
</div>
<form method="post">
<input type="text" placeholder="Введите название комнаты" class="form-control" />
<input type="number" placeholder="Введите кол. спальных мест" class="form-control" step="1" />
<input type="number" placeholder="Введите стоимость комнаты" class="form-control" step="1" />
<input style="margin-bottom: 20px" type="text" placeholder="Введите название комнаты" class="form-control" />
<input style="margin-bottom: 20px" type="number" placeholder="Введите кол. спальных мест" class="form-control" step="1" />
<input style="margin-bottom: 20px" type="number" placeholder="Введите стоимость комнаты" class="form-control" step="1" />
<div class="button">
<button class="button-action">Сохранить</button>
</div>

View File

@ -0,0 +1,22 @@
@{
ViewData["Title"] = "DeleteConferenceBooking";
}
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Удалить бронь по конференциям</h2>
</div>
<form method="post">
<div class="spisok">
<label class="u-label u-text-custom-color-1 u-label-1">Место конференции: </label>
<select class="form-control"></select>
</div>
<div class="button">
<button class="button-action">Сохранить</button>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="ConferenceBookings" class="button-action">Назад</a>
</div>
</form>

View File

@ -1,35 +1,10 @@
@{
ViewData["Title"] = "DeleteDinner";
}
<style>
.text-center {
margin-bottom: 30px;
}
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
.button-action {
display: flex;
width: 300px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content: center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
margin-bottom: 10px;
}
.button-action:hover {
background-color: #D2D3D3;
color: #393939;
}
.spisok {
margin-bottom: 20px;
}
</style>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Удалить обед</h2>
</div>

View File

@ -1,35 +1,10 @@
@{
ViewData["Title"] = "DeleteRoom";
}
<style>
.text-center {
margin-bottom: 30px;
}
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
.button-action {
display: flex;
width: 300px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content: center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
margin-bottom: 10px;
}
.button-action:hover {
background-color: #D2D3D3;
color: #393939;
}
.spisok {
margin-bottom: 20px;
}
</style>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Удалить комнату</h2>
</div>

View File

@ -3,38 +3,9 @@
}
<head>
<style>
.buttons-action-with-dinner {
display: flex;
justify-content: space-between;
}
.button-action{
display: flex;
width: 130px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content:center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
}
.button-action:hover{
background-color: #D2D3D3;
color: #393939;
}
.table{
text-align:center;
}
.text-center{
margin-bottom: 30px;
}
</style>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Список обедов</h2>
</div>
@ -63,13 +34,13 @@
</table>
<div class="buttons-action-with-dinner">
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="CreateDinner" class="button-action">Добавить</a>
<a asp-area="" asp-controller="Home" asp-action="CreateDinner" class="button-action" style="width: 130px">Добавить</a>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="UpdateDinner" class="button-action">Изменить</a>
<a asp-area="" asp-controller="Home" asp-action="UpdateDinner" class="button-action" style="width: 130px">Изменить</a>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="DeleteDinner" class="button-action">Удалить</a>
<a asp-area="" asp-controller="Home" asp-action="DeleteDinner" class="button-action" style="width: 130px">Удалить</a>
</div>
</div>
</div>

View File

@ -2,88 +2,9 @@
ViewData["Title"] = "Enter";
}
<head>
<style>
.main {
margin-top: 50px;
display: flex;
align-items: center;
justify-content: center;
}
.main_wrapper {
width: 430px;
display: flex;
justify-content: center;
text-align: center;
}
.main_block {
margin-top: 35px;
}
.main_fields {
margin-top: 18px;
}
input {
height: 53px;
width: 100%;
font-size: 20px;
line-height: 16px;
border: 1px solid #000000;
border-radius: 30px;
padding-left: 31px;
}
.main_field_one {
margin-bottom: 17px;
width: 100%;
}
.class_login {
width: 100%;
display: flex;
justify-content: center;
margin-top: 84px;
}
.button_login {
background-color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
width: 216px;
height: 39px;
border-radius: 30px;
border: 1px solid #000000;
font-size: 20px;
line-height: 39px;
transition: 0.2s ease;
cursor: pointer;
}
.button_login:hover {
background: #E3E3E3;
}
.down_word {
width: 100%;
margin-top: 23px;
font-size: 15px;
}
.word_registr {
text-decoration: none;
color: #18BDF1;
transition: color 0.2s ease;
}
.word_registr:hover {
color: #91F0FD;
}
</style>
<link rel="stylesheet" href="~/css/enter.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Вход в приложение</h2>
</div>
@ -100,7 +21,7 @@
</div>
</div>
<div class="class_login">
<button class="button_login" type="submit">
<button class="button_login">
Вход
</button>
</div>

View File

@ -2,7 +2,8 @@
ViewData["Title"] = "Home Page";
}
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<style>
.main {
background-repeat: no-repeat;
@ -30,7 +31,7 @@
margin: 0;
}
</style>
</head>
<form method="post">
<div class="main">
<div class="container-fluid">

View File

@ -5,28 +5,43 @@
@{
ViewData["Title"] = "Privacy";
}
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<style>
input {
margin-bottom: 20px;
max-width: 400px;
}
.pole{
display:flex;
justify-content:center;
}
</style>
<div class="text-center">
<h2 class="display-4">Личные данные</h2>
</div>
<form method="post">
<div class="row">
<div class="col-4">Логин:</div>
<div class="col-8"><input type="text" name="login" /></div>
</div>
<div class="row">
<div class="col-4">Почта:</div>
<div class="col-8"><input type="text" name="email" /></div>
</div>
<div class="row">
<div class="col-4">Пароль:</div>
<div class="col-8"><input type="password" name="password" /></div>
</div>
<div class="row">
<div class="col-4">ФИО:</div>
<div class="col-8"><input type="text" name="fio" /></div>
</div>
<div class="row">
<div class="col-8"></div>
<div class="col-4"><input type="submit" value="Сохранить" class="btn btn-primary" /></div>
<label class="u-label u-text-custom-color-1 u-label-1" style="display:flex;justify-content:center">Логин </label>
<div class="pole">
<input type="text" class="form-control" />
</div>
<label class="u-label u-text-custom-color-1 u-label-1" style="display:flex;justify-content:center">Почта </label>
<div class="pole">
<input type="text" class="form-control" />
</div>
<label class="u-label u-text-custom-color-1 u-label-1" style="display:flex;justify-content:center">Пароль </label>
<div class="pole">
<input type="password" class="form-control" />
</div>
<label class="u-label u-text-custom-color-1 u-label-1" style="display:flex;justify-content:center">ФИО </label>
<div class="pole">
<input type="text" class="form-control" />
</div>
<div class="button" style="display:flex;justify-content:center">
<button class="button-action">Сохранить</button>
</div>
</form>

View File

@ -2,82 +2,9 @@
ViewData["Title"] = "Register";
}
<head>
<style>
.up_word {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 10px;
}
.main_text {
font-size: 17px;
}
.main {
display: flex;
align-items: center;
justify-content: center;
}
.main_wrapper {
width: 430px;
display: flex;
justify-content: center;
text-align: center;
}
.main_block {
margin-top: 20px;
}
.main_fields {
margin-top: 15px;
}
input {
height: 53px;
width: 100%;
font-size: 20px;
line-height: 16px;
border: 1px solid #000000;
border-radius: 30px;
padding-left: 31px;
}
.main_field {
margin-bottom: 10px;
width: 100%;
}
.class_login {
width: 100%;
display: flex;
justify-content: center;
margin-top: 55px;
}
.button_login {
background-color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
width: 216px;
height: 39px;
border-radius: 30px;
border: 1px solid #000000;
font-size: 20px;
line-height: 39px;
transition: 0.2s ease;
cursor: pointer;
}
.button_login:hover {
background: #E3E3E3;
}
</style>
<link rel="stylesheet" href="~/css/register.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1">Регистрация в приложении</h2>
</div>

View File

@ -3,40 +3,9 @@
}
<head>
<style>
.buttons-action-with-room {
display: flex;
justify-content: space-between;
}
.button-action {
display: flex;
width: 130px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content: center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
}
.button-action:hover {
background-color: #D2D3D3;
color: #393939;
}
.table {
text-align: center;
}
.text-center {
margin-bottom: 30px;
}
</style>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Список комнат</h2>
</div>
@ -64,16 +33,16 @@
</table>
<div class="buttons-action-with-room">
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="CreateRoom" class="button-action">Добавить</a>
<a asp-area="" asp-controller="Home" asp-action="CreateRoom" class="button-action" style="width: 130px">Добавить</a>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="UpdateRoom" class="button-action">Изменить</a>
<a asp-area="" asp-controller="Home" asp-action="UpdateRoom" class="button-action" style="width: 130px">Изменить</a>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="DeleteRoom" class="button-action">Удалить</a>
<a asp-area="" asp-controller="Home" asp-action="DeleteRoom" class="button-action" style="width: 130px">Удалить</a>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="AddDinnerToRoom" class="button-action">Добавить обед</a>
<a asp-area="" asp-controller="Home" asp-action="AddDinnerToRoom" class="button-action" style="width: 130px">Добавить обед</a>
</div>
</div>
</div>

View File

@ -0,0 +1,49 @@
@{
ViewData["Title"] = "UpdateConferenceBooking";
}
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Обновить бронь по конференциям</h2>
</div>
<form method="post">
<div class="spisok">
<label class="u-label u-text-custom-color-1 u-label-1">Бронь по конференциям: </label>
<select class="form-control"></select>
</div>
<div class="form-group">
<input style="margin-bottom: 20px" type="text" placeholder="Введите место конференции" class="form-control" />
</div>
<div class="form-group">
<input type="datetime-local" class="form-control">
</div>
<label class="word-dinner">Обеды </label>
<table class="table">
<thead>
<tr>
<th>
Номер
</th>
<th>
Название
</th>
<th>
Калорийность
</th>
<th>
Цена
</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div class="button">
<button class="button-action">Сохранить</button>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="ConferenceBookings" class="button-action">Назад</a>
</div>
</form>

View File

@ -1,39 +1,9 @@
@{
ViewData["Title"] = "UpdateDinner";
}
<style>
.text-center {
margin-bottom: 30px;
}
.button-action {
display: flex;
width: 300px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content: center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
margin-bottom: 10px;
}
input {
margin-bottom: 20px;
}
.button-action:hover {
background-color: #D2D3D3;
color: #393939;
}
.spisok{
margin-bottom:20px;
}
</style>
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Обновить обед</h2>
</div>
@ -43,13 +13,13 @@
<select class="form-control"></select>
</div>
<div class="form-group">
<input type="text" placeholder="Введите название обеда" class="form-control" />
<input style="margin-bottom: 20px" type="text" placeholder="Введите название обеда" class="form-control" />
</div>
<div class="form-group">
<input type="text" placeholder="Введите калорийность обеда" class="form-control" />
<input style="margin-bottom: 20px" type="text" placeholder="Введите калорийность обеда" class="form-control" />
</div>
<div class="form-group">
<input type="number" placeholder="Введите стоимость обеда" class="form-control" step="1" />
<input style="margin-bottom: 20px" type="number" placeholder="Введите стоимость обеда" class="form-control" step="1" />
</div>
<div class="button">
<button class="button-action">Сохранить</button>

View File

@ -1,50 +1,9 @@
@{
ViewData["Title"] = "UpdateRoom";
}
<style>
.text-center {
margin-bottom: 30px;
}
.button-action {
display: flex;
width: 300px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content: center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
margin-bottom: 10px;
}
input {
margin-bottom: 20px;
}
.button-action:hover {
background-color: #D2D3D3;
color: #393939;
}
.spisok {
margin-bottom: 20px;
}
.word-dinner{
font-size: 25px;
display: flex;
justify-content:center;
}
.table {
text-align: center;
}
</style>
<head>
<link rel="stylesheet" href="~/css/style.css" asp-append-version="true" />
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Обновить комнату</h2>
</div>
@ -54,13 +13,13 @@
<select class="form-control"></select>
</div>
<div class="form-group">
<input type="text" placeholder="Введите номер комнаты" class="form-control" />
<input style="margin-bottom: 20px" type="text" placeholder="Введите номер комнаты" class="form-control" />
</div>
<div class="form-group">
<input type="number" placeholder="Введите кол. спальных мест" class="form-control" step="1" />
<input style="margin-bottom: 20px" type="number" placeholder="Введите кол. спальных мест" class="form-control" step="1" />
</div>
<div class="form-group">
<input type="number" placeholder="Введите стоимость комнаты" class="form-control" step="1" />
<input style="margin-bottom: 20px" type="number" placeholder="Введите стоимость комнаты" class="form-control" step="1" />
</div>
<label class="word-dinner">Обеды </label>
<table class="table">

View File

@ -67,7 +67,7 @@
</ul>
</li>
<li class="nav-item">
<a class="nav-link" asparea="" asp-controller="Home" asp-action="AddNumberToMealPlan">Привязка</a>
<a class="nav-link" asparea="" asp-controller="Home" asp-action="AddRoomToMealPlan">Привязка</a>
</li>
<li class="nav-item">
<a class="nav-link" asparea="" asp-controller="Home" asp-action="Privacy">Администратор</a>

View File

@ -0,0 +1,78 @@
.main {
margin-top: 50px;
display: flex;
align-items: center;
justify-content: center;
}
.main_wrapper {
width: 430px;
display: flex;
justify-content: center;
text-align: center;
}
.main_block {
margin-top: 35px;
}
.main_fields {
margin-top: 18px;
}
input {
height: 53px;
width: 100%;
font-size: 20px;
line-height: 16px;
border: 1px solid #000000;
border-radius: 30px;
padding-left: 31px;
}
.main_field_one {
margin-bottom: 17px;
width: 100%;
}
.class_login {
width: 100%;
display: flex;
justify-content: center;
margin-top: 84px;
}
.button_login {
background-color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
width: 216px;
height: 39px;
border-radius: 30px;
border: 1px solid #000000;
font-size: 20px;
line-height: 39px;
transition: 0.2s ease;
cursor: pointer;
}
.button_login:hover {
background: #E3E3E3;
}
.down_word {
width: 100%;
margin-top: 23px;
font-size: 15px;
}
.word_registr {
text-decoration: none;
color: #18BDF1;
transition: color 0.2s ease;
}
.word_registr:hover {
color: #91F0FD;
}

View File

@ -0,0 +1,73 @@
.up_word {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 10px;
}
.main_text {
font-size: 17px;
}
.main {
display: flex;
align-items: center;
justify-content: center;
}
.main_wrapper {
width: 430px;
display: flex;
justify-content: center;
text-align: center;
}
.main_block {
margin-top: 20px;
}
.main_fields {
margin-top: 15px;
}
input {
height: 53px;
width: 100%;
font-size: 20px;
line-height: 16px;
border: 1px solid #000000;
border-radius: 30px;
padding-left: 31px;
}
.main_field {
margin-bottom: 10px;
width: 100%;
}
.class_login {
width: 100%;
display: flex;
justify-content: center;
margin-top: 55px;
}
.button_login {
background-color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
width: 216px;
height: 39px;
border-radius: 30px;
border: 1px solid #000000;
font-size: 20px;
line-height: 39px;
transition: 0.2s ease;
cursor: pointer;
}
.button_login:hover {
background: #E3E3E3;
}

View File

@ -0,0 +1,56 @@
.text-center {
margin-bottom: 30px;
}
.list-words-add {
display: flex;
justify-content: center;
font-size: 20px;
margin-top: 20px;
margin-bottom: 20px;
font-weight: bold;
}
.table {
text-align: center;
}
.spisok {
margin-bottom: 20px;
}
.word-dinner {
font-size: 25px;
display: flex;
justify-content: center;
}
.button-action {
display: flex;
width: 300px;
height: 40px;
border-radius: 10px;
border: 1px solid #000000;
align-items: center;
justify-content: center;
background-color: #BDBDBD;
text-decoration: none;
color: #000000;
transition: 0.2s ease;
margin-bottom: 10px;
}
.button-action:hover {
background-color: #D2D3D3;
color: #393939;
}
.buttons-create-file {
display: flex;
justify-content: center;
}
.buttons-action-with-conferencebooking {
display: flex;
justify-content: space-between;
}
.buttons-action-with-dinner {
display: flex;
justify-content: space-between;
}
.buttons-action-with-room {
display: flex;
justify-content: space-between;
}

View File

@ -323,7 +323,6 @@ namespace HotelRestApi.Controllers
}
}
[HttpPost]
public void CreateMealPlan(MealPlanBindingModel model)
{