YNICTE/BO/Views/croom/edub2bs.cshtml

55 lines
2.1 KiB
Plaintext
Raw Normal View History

2020-10-12 14:39:23 +09:00
@model NP.Model.VMLect
<form id="mform" method="post">
<div class="tar buttonbox">
@Html.Partial("./Partial/pagerow", new ViewDataDictionary { { "tbodyid", "tbody1" }, { "searchmethod", "submit()" }, { "pagesize", Model.pagerowcount } })
</div>
<section class="panel panel-default">
<div class="table-responsive" id="excel1">
<table class="table table-striped b-t b-light">
<thead>
<tr>
<th width="20">No</th>
<th>신청자(ID)</th>
<th>신청교육</th>
<th>신청기관</th>
<th>신청일</th>
<th>참석인원</th>
<th>희망교육일시</th>
</tr>
</thead>
<tbody class="data" id="tbody1">
@foreach (var d in Model.EduB2Bs)
{
<tr>
<td>@d.rnorvt</td>
<td>@(d.username)(@(d.userid))</td>
<td class="link text-center"><a href="#" onclick="view(@d.eduno)">@d.etypename</a></td>
<td>@d.asname</td>
<td>@d.cdtymd</td>
<td>@d.ecount</td>
<td>@d.edateymd</td>
</tr>
}
</tbody>
</table>
</div>
@Html.Pager((int)Model.pagenum, 10, Model.pagerowcount, Model.pagetotalcount)
</section>
</form>
<form id="dform" method="post" action="/croom/edub2b">
@Html.Partial("./Partial/dform", Model, new ViewDataDictionary { { "preform", 1 } })
</form>
@section scriptsHeader{
}
@section scripts{
<script>
$(document).ready(function () {
});
function view(eduno) {
setv("dform_intval", eduno);
$("#dform").submit();
}
</script>
}