CourseWork_CompShop/ComputerShopProvider/OrdererClientApp/Views/Home/CreateOrder.cshtml

28 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-12-02 01:30:33 +04:00
@using ComputerShopContracts.ViewModels;
@using ComputerShopDataModels.Models;
@{
2023-05-19 18:26:38 +04:00
ViewData["Title"] = "CreateOrder";
}
2023-12-02 01:30:33 +04:00
@model Dictionary<int, IAssemblyModel>
2023-05-19 18:26:38 +04:00
<div class="text-center">
<h2 class="display-4">Создание заказа</h2>
</div>
<form method="post">
2023-12-02 01:30:33 +04:00
<div class="u-form-group u-form-name u-label-top">
<label class="u-label u-text-custom-color-1 u-label-1">Выберете сборки для заказа: </label>
<div class="u-input u-input-rectangle">
<select id="assembly" name="assembly" class="form-control" asp-items="@(new SelectList(@ViewBag.Assemblies, "Id", "AssemblyName"))"></select>
</div>
2023-05-19 18:26:38 +04:00
</div>
2023-12-02 01:30:33 +04:00
<div class="u-align-right u-form-group u-form-submit u-label-top">
<div class="col-8"></div>
<div class="col-4"><input type="submit" value="Добавить заказ" class="u-active-custom-color-6 u-border-none u-btn u-btn-submit u-button-style u-custom-color-1 u-hover-custom-color-2 u-btn-1" /></div>
2023-05-19 18:26:38 +04:00
</div>
<div class="row">
<div class="col-8"></div>
<div class="col-4"><input type="submit" value="Создать" class="btn btn-primary" /></div>
</div>
</form>