Добавил отображение и изменения метрдотеля (ну и слово конечно)
This commit is contained in:
parent
ac56ec3ec6
commit
6820d3e03e
@ -1,58 +0,0 @@
|
|||||||
@using HotelContracts.ViewModels
|
|
||||||
|
|
||||||
|
|
||||||
@model List<DinnerViewModel>
|
|
||||||
|
|
||||||
@{
|
|
||||||
ViewData["Title"] = "FormationDinner";
|
|
||||||
}
|
|
||||||
|
|
||||||
<div class="text-center">
|
|
||||||
<h1 class="display-4">Форматирование обедов</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="text-center">
|
|
||||||
@{
|
|
||||||
if (Model == null)
|
|
||||||
{
|
|
||||||
<h3 class="display-4">Авторизируйтесь</h3>
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a asp-action="Create">Создать заказ</a>
|
|
||||||
</p>
|
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>
|
|
||||||
Номер
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
Имя
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
Цена
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@foreach (var item in Model)
|
|
||||||
{
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.Id)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.DinnerName)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
@Html.DisplayFor(modelItem => item.DinnerPrice)
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
}
|
|
||||||
</div>
|
|
@ -1,43 +0,0 @@
|
|||||||
@{
|
|
||||||
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>
|
|
||||||
<button type="button" class="btn btn-lg btn-primary" disabled>>></button>
|
|
||||||
<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>
|
|
||||||
<button type="button" class="btn btn-lg btn-primary" disabled>>></button>
|
|
||||||
<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>
|
|
73
Hotel/HostrelHeadwaiterApp/Views/Home/Privacy.cshtml
Normal file
73
Hotel/HostrelHeadwaiterApp/Views/Home/Privacy.cshtml
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
@using HotelContracts.ViewModels
|
||||||
|
|
||||||
|
@model HeadwaiterViewModel
|
||||||
|
|
||||||
|
@{
|
||||||
|
ViewData["Title"] = "Privacy";
|
||||||
|
}
|
||||||
|
<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="container d-flex justify-content-center align-items-center">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="u-label u-text-custom-color-1 u-label-1">Логин</label>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
placeholder="Введите логин"
|
||||||
|
name="login"
|
||||||
|
value="@Model.HeadwaiterLogin"
|
||||||
|
class="form-control"/>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="u-form-email u-form-group u-label-top">
|
||||||
|
<label class="u-label u-text-custom-color-1 u-label-2">Электронная почта</label>
|
||||||
|
<input
|
||||||
|
type="email"
|
||||||
|
placeholder="Введите электронную почту"
|
||||||
|
name="email"
|
||||||
|
value="@Model.HeadwaiterEmail"
|
||||||
|
class="form-control"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="u-form-group u-label-top u-form-group-3">
|
||||||
|
<label class="u-label u-text-custom-color-1 u-label-3">ФИО</label>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
placeholder="Введите ФИО"
|
||||||
|
name="fio"
|
||||||
|
value="@Model.HeadwaiterFIO"
|
||||||
|
class="form-control"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="u-form-group u-label-top u-form-group-4">
|
||||||
|
<label class="u-label u-text-custom-color-1 u-label-4">Номер телефона</label>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
name="telephone"
|
||||||
|
class="form-control"
|
||||||
|
value="@Model.HeadwaiterNumber"
|
||||||
|
placeholder="Введите номер телефона"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="u-form-group u-label-top u-form-group-5">
|
||||||
|
<label class="u-label u-text-custom-color-1 u-label-5">Пароль</label>
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
placeholder="Введите пароль"
|
||||||
|
name="password"
|
||||||
|
value="@Model.HeadwaiterPassword"
|
||||||
|
class="form-control"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<div class="u-container-layout u-container-layout-2">
|
||||||
|
<input type="submit" value="Изменить" class="btn btn-outline-dark text-center d-flex justify-content-md-center" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
@ -1,47 +0,0 @@
|
|||||||
@{
|
|
||||||
ViewData["Title"] = "Report";
|
|
||||||
}
|
|
||||||
|
|
||||||
<div class="text-center">
|
|
||||||
<h2 class="display-4">Создание отчёта</h2>
|
|
||||||
</div>
|
|
||||||
<form method="post">
|
|
||||||
<div class="container px-4">
|
|
||||||
<div class="row gx-5">
|
|
||||||
<div class="col">
|
|
||||||
<div class="p-3">С</div>
|
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
<div class="p-3 btn-group">
|
|
||||||
<button class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" padding="10">
|
|
||||||
Начало периода
|
|
||||||
</button>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
...
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
<div class="p-3">по</div>
|
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
<div class="p-3 btn-group">
|
|
||||||
<button class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" padding="10">
|
|
||||||
Конец периода
|
|
||||||
</button>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
...
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
<div class="p-3">
|
|
||||||
<button type="button" class="btn btn-primary з-3">Создать</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-4">Отчёт:</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
@ -1,38 +0,0 @@
|
|||||||
@{
|
|
||||||
ViewData["Title"] = "ShapingDinnerIntoRooms";
|
|
||||||
}
|
|
||||||
|
|
||||||
<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>
|
|
||||||
<button type="button" class="btn btn-lg btn-primary" disabled>>></button>
|
|
||||||
<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>
|
|
||||||
<button type="button" class="btn btn-lg btn-primary" disabled>>></button>
|
|
||||||
<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>
|
|
@ -21,22 +21,22 @@
|
|||||||
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||||||
<div class="navbar-nav">
|
<div class="navbar-nav">
|
||||||
|
|
||||||
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="Register">Регистрация</a>
|
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="Index">Главное меню</a>
|
||||||
|
|
||||||
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="Enter">Аутентификация </a>
|
|
||||||
|
|
||||||
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="Index">Главное меню</a>
|
|
||||||
|
|
||||||
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="ListDinners">Обеды</a>
|
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="ListDinners">Обеды</a>
|
||||||
|
|
||||||
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="ListRooms">Комнаты</a>
|
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="ListRooms">Комнаты</a>
|
||||||
|
|
||||||
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="FormationOfDinnerInConferenceBookings">Бронирование конференций</a>
|
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="Privacy">Метрдотель</a>
|
||||||
|
|
||||||
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="ListOfMealPlans">Список планов питания</a>
|
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="ListOfMealPlans">Список планов питания</a>
|
||||||
|
|
||||||
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="Report">Отчет по обедам</a>
|
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="Report">Отчет по обедам</a>
|
||||||
|
|
||||||
|
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="Register">Регистрация</a>
|
||||||
|
|
||||||
|
<a class="nav-link " asp-area="" asp-controller="Home" asp-action="Enter">Аутентификация </a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user