финальный коммит по view organiser

This commit is contained in:
Salikh 2024-05-01 01:21:12 +04:00
parent f035cd92f8
commit 162e98d166
8 changed files with 321 additions and 7 deletions

View File

@ -93,6 +93,31 @@ namespace HotelOrganiserApp.Controllers
return View();
}
public IActionResult AddParticipantToConferences()
{
return View();
}
public IActionResult AddParticipantToMealPlan()
{
return View();
}
public IActionResult AddConferenceBookingToConference()
{
return View();
}
public IActionResult ListParticipantToPdfFile()
{
return View();
}
public IActionResult ListParticipantConferenceToFile()
{
return View();
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{

View File

@ -0,0 +1,41 @@
@{
ViewData["Title"] = "AddConferenceBookingToConference";
}
<head>
<style>
.button_action {
display: flex;
background-color: #5a9ad6;
}
.button_action:hover {
background-color: #225df2;
color: white;
}
.spisok {
margin-bottom: 20px;
}
</style>
</head>
<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="spisok">
<label class="u-label u-text-custom-color-1 u-label-1">Наименование конференции: </label>
<select class="form-control"></select>
</div>
<div class="spisok">
<label class="u-label u-text-custom-color-1 u-label-1">Место конференции: </label>
<select class="form-control"></select>
</div>
<div class="spisok">
<label class="u-label u-text-custom-color-1 u-label-1">Начало: </label>
<input type="datetime-local" placeholder="Выберите дату начала" name="dateСonference" class="form-control" />
</div>
<div class="button">
<button class="btn button_action">Добавить привязку</button>
</div>
</form>

View File

@ -1,5 +1,66 @@
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
@{
ViewData["Title"] = "AddParticipantToConferences";
}
<head>
<style>
.general_style {
display: flex;
justify-content: space-between;
}
.button_action {
display: flex;
background-color: #5a9ad6;
}
.button_action:hover {
background-color: #225df2;
color: white;
}
.text-center {
margin-bottom: 30px;
}
.ord{
display: flex;
justify-content: center !important;
font-size: 20px;
}
.list-words-add{
margin-top: 30px;
}
</style>
</head>
<div class="text-center">
<h2 class="ord"> Добавить участника в конференцию</h2>
</div>
<form method="post">
<div class="form-group">
<label for="room">Выберите конференцию</label>
<select id="room" name="room" class="form-control">
</select>
</div>
<div class="form-group">
<label class="list-words-add">Выберите участника</label>
<table class="table">
<thead>
<tr>
<th>ФИО участника</th>
<th>Номер телефона</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<br>
<div class="general_style">
<div class="button">
<button 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>

View File

@ -0,0 +1,67 @@
@{
ViewData["Title"] = "AddParticipantToMealPlan";
}
<head>
<style>
.general_style {
display: flex;
justify-content: space-between;
}
.button_action {
display: flex;
background-color: #5a9ad6;
}
.button_action:hover {
background-color: #225df2;
color: white;
}
.text-center {
margin-bottom: 30px;
}
.ord {
display: flex;
justify-content: center !important;
font-size: 20px;
}
.list-words-add {
margin-top: 30px;
}
</style>
</head>
<div class="text-center">
<h2 class="ord"> Добавить участника в план питания</h2>
</div>
<form method="post">
<div class="form-group">
<label for="room">Выберите план питания</label>
<select id="room" name="room" class="form-control">
</select>
</div>
<div class="form-group">
<label class="list-words-add">Выберите участника</label>
<table class="table">
<thead>
<tr>
<th>ФИО участника</th>
<th>Номер телефона</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<br>
<div class="general_style">
<div class="button">
<button class="btn button_action">Сохранить</button>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="MealPlans" class="btn button_action">Назад</a>
</div>
</div>
</form>

View File

@ -59,6 +59,10 @@
<a asp-area="" asp-controller="Home" asp-action="AddParticipantToConferences"
class="btn button_action">Добавить участника</a>
</div>
<div class="button">
<a asp-area="" asp-controller="Home" asp-action="AddConferenceBookingToConference"
class="btn button_action">Привязка к брони по конференции</a>
</div>
</div>
</div>
</section>

View File

@ -0,0 +1,59 @@
@{
ViewData["Title"] = "ListParticipantConferenceToFile";
}
<head>
<style>
.general_style {
display: flex;
justify-content: space-between;
}
.button_action {
display: flex;
background-color: #5a9ad6;
}
.button_action:hover {
background-color: #225df2;
color: white;
}
.form-check {
margin-bottom: 20px;
}
</style>
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1">Отчет (word/excel)</h2>
</div>
<form method="post">
<div class="file-format">
<label class="form-label">Формат файла:</label>
<div class="radio-buttons">
<input class="form-check-input" type="radio" name="type" id="docx">
<label class="label-word" for="docx">Word-файл</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="type" id="xlsx" checked>
<label class="label-exel" for="xlsx">Excel-файл</label>
</div>
</div>
<table class="table">
<thead>
<tr>
<th>
ФИО
</th>
<th>
Номер телефона
</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<br>
<div class="general_style">
<button class="btn button_action">Создать</button>
</div>
</form>

View File

@ -0,0 +1,57 @@
@{
ViewData["Title"] = "ListParticipantToPdfFile";
}
<head>
<style>
.general_style {
display: flex;
justify-content: space-between;
}
.button_action {
display: flex;
background-color: #5a9ad6;
}
.button_action:hover {
background-color: #225df2;
color: white;
}
.form-group {
margin-bottom: 20px;
}
</style>
</head>
<div class="text-center">
<h2 class="u-text u-text-custom-color-1 u-text-default u-text-1"> Отчет (pdf)</h2>
</div>
<form method="post">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="dateFrom" class="form-label text-custom-color-1">Начало периода:</label>
<input type="datetime-local" id="dateFrom" name="dateFrom" class="form-control" placeholder="Выберите дату начала периода">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="dateTo" class="form-label text-custom-color-1">Окончание периода:</label>
<input type="datetime-local" id="dateTo" name="dateTo" class="form-control" placeholder="Выберите дату окончания периода">
</div>
</div>
</div>
<div class="form-group mb-4">
<label for="organiserEmail" class="form-label text-custom-color-1">Введите почту:</label>
<input type="email" id="organiserEmail" name="organiserEmail" class="form-control" placeholder="Введите вашу почту">
</div>
<div class="general_style">
<div class="button">
<button class="btn button_action">На почту</button>
</div>
<div class="button">
<button class="btn button_action">Показать</button>
</div>
</div>
</form>

View File

@ -97,10 +97,10 @@
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li class="nav-item">
<a class="nav-link" asparea="" asp-controller="Home" asp-action="ListMemberConferenceToFile">Список участников (word/excel)</a>
<a class="nav-link" asparea="" asp-controller="Home" asp-action="ListParticipantConferenceToFile">Список участников (word/excel)</a>
</li>
<li class="nav-item">
<a class="nav-link " asparea="" asp-controller="Home" asp-action="ListMembersToPdfFile">Список участников (pdf) </a>
<a class="nav-link " asparea="" asp-controller="Home" asp-action="ListParticipantToPdfFile">Список участников (pdf) </a>
</li>
</ul>
</li>
@ -142,7 +142,7 @@
<footer class="border-top footer text-muted">
<div class="container special">
&copy; 2024 - Hotel - <a asp-area="" asp-controller="Home" asp-action="Privacy">Личные данные</a>
&copy; 2024 - Hotel - <a asp-area="" asp-controller="Home">Главная страница</a>
</div>
</footer>
<script src="~/lib/jquery/dist/jquery.min.js"></script>