81 lines
3.6 KiB
Plaintext
81 lines
3.6 KiB
Plaintext
@model NP.Model.VMCM
|
|
<div>
|
|
<ul class="pagination pagination-md" style="margin: 0;">
|
|
<li class=""><a href="#" onclick="gotab(1);" data-toggle="tab">학습콘텐츠</a></li>
|
|
<li class=""><a href="#" onclick="gotab(0);" data-toggle="tab">그룹코드관리</a></li>
|
|
<li class=""><a href="#" onclick="gotab(2);" data-toggle="tab">문제</a></li>
|
|
<li class="active"><a href="#" data-toggle="tab">설문지</a></li>
|
|
</ul>
|
|
</div>
|
|
<br />
|
|
<form id="mform" method="post">
|
|
<section class="panel panel-default clearfix devsearch">
|
|
@Html.Partial("./Partial/SearchCaption")
|
|
<div class="step-content">
|
|
<div class="step-pane active form-inline" style="line-height: 5px;">
|
|
@Html.Partial("./Partial/Select", Model.CMs, new ViewDataDictionary { {"valuetext","0:강의평가;1:사전설문" }, { "name", "stringval" }, { "selected", Model.stringval }, { "cssclass", "searchcon " }, { "df", ":-설문유형" } })
|
|
@Html.Partial("./Partial/Text", Model.stringval2, Helpers.DicText(new NP.Model.TextDic() { Name = "stringval2", Value = Model.stringval2, CssClass="ff", PH="설문명을 입력하세요." }))
|
|
@Html.Partial("./Partial/Button", new NP.Model.Button() { Special = "search" })
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<div class="tar buttonbox"><a href="#" onclick="javascript:reg(0);" class="btn btn-s-xs btn-info">설문추가</a></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="40">No</th>
|
|
<th width="40">Code</th>
|
|
<th>유형</th>
|
|
<th>설문명</th>
|
|
<th>수정일</th>
|
|
<th>사용여부</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="data" id="tbody1">
|
|
@foreach (var item in Model.RSCs)
|
|
{
|
|
<tr>
|
|
<td>@item.rnorvt</td>
|
|
<td>@item.rscno</td>
|
|
<td>@item.rstypename</td>
|
|
<td class="link" style="max-width: 300px; overflow: hidden;"><a class="link" href="#" onclick="reg(@item.rscno);" style="white-space: nowrap; max-width: 300px; overflow: hidden;">@item.rscname</a></td>
|
|
<td>@item.udtymd2</td>
|
|
<td>@item.isuseyn</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
@Html.Pager((int)Model.pagenum, 10, Model.pagerowcount, Model.pagetotalcount)
|
|
</section>
|
|
</form>
|
|
<form id="dform" method="post" action="/cm/rscr">
|
|
@Html.Partial("./Partial/DForm", Model, new ViewDataDictionary { { "preform", 1 } })
|
|
</form>
|
|
@section styles{
|
|
<style type="text/css">
|
|
|
|
</style>
|
|
}
|
|
@section scripts{
|
|
<script>
|
|
$(document).ready(function () {
|
|
focus("searchtext");
|
|
});
|
|
function reg(no) {
|
|
showramemainlayer("/cm/rr?intval=" + no);
|
|
}
|
|
function gotab(idx, t) {
|
|
bglayer();
|
|
t = t || 0;
|
|
setTimeout(function () {
|
|
if (idx == 0) { location.href = "/cm/cc"; }
|
|
else if (idx == 1) { location.href = "/cm/cts"; }
|
|
else if (idx == 2) { location.href = "/cm/qs"; }
|
|
else if (idx == 3) { location.href = "/cm/rs"; }
|
|
}, t);
|
|
}
|
|
</script>
|
|
} |