CourseWork_SchoolStudyAgain/SchoolAgainStudy/TeacherWebClient/Views/Home/Reports.cshtml

24 lines
844 B
Plaintext
Raw Normal View History

2023-05-18 23:13:51 +04:00
@{
ViewData["Title"] = "Report";
}
<form id="my_form" asp-action="Reports" method="get" data-ajax="true" data-ajax-method="get" data-ajax-update="#panel" data-ajax-mode='replace' data-ajax-url="@Url.Action("GetPartial","Home")">
<select id="mode" name="mode">
<option>Excel</option>
<option>Word</option>
</select>
<div class="row">
<div class="col-4">Материалы:</div>
<div class="col-8">
@Html.ListBox("materials", (MultiSelectList)ViewBag.Materials)
</div>
</div>
<div class="row">
<div class="col-8"></div>
<div class="col-4"><input type="submit" value="Создать" class="btn btn-primary" /></div>
</div>
</form>
<div class="row pr-3 pl-3" id="panel">
@section scripts{
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-ajax-unobtrusive/3.2.6/jquery.unobtrusive-ajax.min.js"></script>
}