Добавление - FormationOfDinnerInConferenceBooking и ListOfMealPlans. Исправление Layout. Логика отсутсвует

This commit is contained in:
Кашин Максим 2023-04-06 23:44:20 +04:00
parent 29b8e7d4ac
commit 9d68cddd28
4 changed files with 101 additions and 34 deletions

View File

@ -48,9 +48,19 @@ namespace HostrelHeadwaiterApp.Controllers
return View(); return View();
} }
public IActionResult FormationOfDinnerInConferenceBookings()
{
return View();
}
public IActionResult ListOfMealPlans()
{
return View();
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error() public IActionResult Error()
{ {
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier }); return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });

View File

@ -0,0 +1,41 @@
@{
ViewData["Title"] = "FormationOfDinnerInConferenceBookings";
}
<div class="text-center">
<h1 class="display-4">Формирование обеда в брони по конференциям</h1>
</div>
<div class="form-group">
<label for="exampleFormControlSelect2">Данные по бронирований конференций</label>
<select multiple class="form-control" id="exampleFormControlSelect2">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
<div class="form-group">
<label for="exampleFormControlSelect2">Выбранный обед</label>
<select multiple class="form-control" id="exampleFormControlSelect2">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
<div class="form-group">
<label for="exampleFormControlSelect2">Доступный для выбора обед</label>
<select multiple class="form-control" id="exampleFormControlSelect2">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
<button type="button" class="btn btn-lg btn-primary" disabled>Сохранить</button>
<button type="button" class="btn btn-secondary btn-lg" disabled>Отмена</button>

View File

@ -0,0 +1,25 @@

@{
ViewData["Title"] = "ListOfMealPlans";
}
<div class="text-center">
<h1 class="display-4">Заказы</h1>
</div>
<form method="post">
<div class="form-group">
<label for="exampleFormControlSelect2">Доступный для выбора обед</label>
<select multiple class="form-control" id="exampleFormControlSelect2">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
<button type="button" class="btn btn-lg btn-primary" disabled>Word</button>
<button type="button" class="btn btn-lg btn-primary" disabled>Excel</button>
<button type="button" class="btn btn-secondary btn-lg" disabled>Отмена</button>
</form>

View File

@ -10,43 +10,34 @@
</head> </head>
<body> <body>
<header> <header>
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3"> <nav class="navbar navbar-expand-lg navbar-light">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">Hotel</a> <a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">Hotel</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarSupportedContent" <i class="fa-brands fa-elementor"></i>
aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
<div class="navbar-collapse collapse d-sm-inline-flex flex-sm-row-reverse"> <div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav flex-grow-1"> <div class="navbar-nav">
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Register">Регистрация</a> <a class="nav-link " asp-area="" asp-controller="Home" asp-action="Register">Регистрация</a>
</li>
<li class="nav-item"> <a class="nav-link " asp-area="" asp-controller="Home" asp-action="Enter">Аутентификация </a>
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Enter">Аутентификация </a>
</li> <a class="nav-link " asp-area="" asp-controller="Home" asp-action="Index">Главное меню</a>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Главное меню</a> <a class="nav-link " asp-area="" asp-controller="Home" asp-action="FormationDinner">Обед</a>
</li>
<li class="nav-item"> <a class="nav-link " asp-area="" asp-controller="Home" asp-action="ShapingDinnerIntoRooms">Комната</a>
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="FormationDinner">Формирование обеда</a>
</li> <a class="nav-link " asp-area="" asp-controller="Home" asp-action="FormationOfDinnerInConferenceBookings">Бронирование конференций</a>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="ShapingDinnerIntoRooms">Формирование обеда в комнаты</a> <a class="nav-link " asp-area="" asp-controller="Home" asp-action="ListOfMealPlans">Список планов питания</a>
</li>
<li class="nav-item"> <a class="nav-link " asp-area="" asp-controller="Home" asp-action="Report">Отчет по обедам</a>
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="FormationOfLunchInConferenceBookings">Формирование обеда в брони по конференциям</a>
</li> </div>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="ListOfMealPlans">Список планов питания</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="BindingConferenceBindingAndConference">Привязка брони по конференциям и конференции</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Report">Отчет</a>
</li>
</ul>
</div> </div>
</div> </div>
</nav> </nav>