60 lines
1.8 KiB
Plaintext
60 lines
1.8 KiB
Plaintext
@using HotelContracts.ViewModels
|
|
|
|
@model ParticipantViewModel
|
|
|
|
@{
|
|
ViewData["Title"] = "CreateConference";
|
|
}
|
|
<style>
|
|
.text-center {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.general_style {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.button_action {
|
|
display: flex;
|
|
background-color: #5a9ad6;
|
|
}
|
|
|
|
.button_action:hover {
|
|
background-color: #225df2;
|
|
color: white;
|
|
}
|
|
|
|
input {
|
|
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>
|
|
<form method="post">
|
|
<input type="text" name="conferenceName" placeholder="Введите название конференции" class="form-control" />
|
|
<input type="text" name="subject" placeholder="Введите тематику конференции" class="form-control" />
|
|
<div class="form-control">
|
|
<label class="form-control">Начало</label>
|
|
<input type="datetime-local"
|
|
placeholder="Выберите дату начала"
|
|
name="startDate"
|
|
class="form-control" />
|
|
</div>
|
|
<div class="spisok">
|
|
<label class="u-label u-text-custom-color-1 u-label-1">Участники: </label>
|
|
<div>
|
|
@Html.ListBox("participants", (MultiSelectList)ViewBag.Participants, new { @class = "form-control", size = "10" })
|
|
</div>
|
|
</div>
|
|
<div class="general_style">
|
|
<div class="button">
|
|
<button type="submit" class="btn button_action">Сохранить</button>
|
|
</div>
|
|
<div class="button">
|
|
<a asp-area="" asp-controller="Home" asp-action="Conferences" class="btn button_action">Назад</a>
|
|
</div>
|
|
</div>
|
|
</form> |