Изменение Index и ShapingDinnerIntoRooms

This commit is contained in:
Кашин Максим 2023-04-06 22:33:29 +04:00
parent fcbe1b8477
commit 29b8e7d4ac
3 changed files with 42 additions and 45 deletions

View File

@ -42,7 +42,12 @@ namespace HostrelHeadwaiterApp.Controllers
{
return View();
}
public IActionResult ShapingDinnerIntoRooms()
{
return View();
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]

View File

@ -19,49 +19,5 @@
<h3 class="display-4">Авторизируйтесь</h3>
return;
}
<p>
<a asp-action="Create">Создать заказ</a>
</p>
<table class="table">
<thead>
<tr>
<th>
Номер
</th>
<th>
Изделие
</th>
<th>
Дата создания
</th>
<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.DinnetPrice)
</td>
</tr>
}
</tbody>
</table>
}
</div>

View File

@ -0,0 +1,36 @@
@{
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>
<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>