This commit is contained in:
hyunho 2021-02-01 04:43:57 +00:00
parent 4e3b37f4b7
commit 523f60e705
2 changed files with 10 additions and 9 deletions

View File

@ -13,6 +13,7 @@
var disabled = (ViewData["disabled"] ?? "").ToString() == "" ? "" : "disabled"; var disabled = (ViewData["disabled"] ?? "").ToString() == "" ? "" : "disabled";
var valuetext = (ViewData["valuetext"] ?? "").ToString() == "" ? new string[] { } : (ViewData["valuetext"] ?? "").ToString().Split(';'); var valuetext = (ViewData["valuetext"] ?? "").ToString() == "" ? new string[] { } : (ViewData["valuetext"] ?? "").ToString().Split(';');
var style = (ViewData["style"] ?? "").ToString(); var style = (ViewData["style"] ?? "").ToString();
var formgroupstyle = (ViewData["formgroupstyle"] ?? "").ToString();
} }
@if (name == "PageRowCount") @if (name == "PageRowCount")
{ {
@ -127,7 +128,7 @@ else if (valuetext.Length > 0)
} }
else else
{ {
<div class="form-group"> <div class="form-group" style="@formgroupstyle">
<select @disabled id="@(name.Replace(".", "_"))" name="@(name)" onchange="@(onchange != "" ? onchange : "")" class="form-control dev @(cssclass)" style=" @style"> <select @disabled id="@(name.Replace(".", "_"))" name="@(name)" onchange="@(onchange != "" ? onchange : "")" class="form-control dev @(cssclass)" style=" @style">
@if (df != "") @if (df != "")
{ {

View File

@ -5,7 +5,7 @@
@if (Model.viewname == "user") @if (Model.viewname == "user")
{ {
<li class="@(Model.tabidx == 1 ? "active" : "")"><a href="#" onclick="gotab(1);" data-toggle="tab">교육이력</a></li> <li class="@(Model.tabidx == 1 ? "active" : "")"><a href="#" onclick="gotab(1);" data-toggle="tab">교육이력</a></li>
<li class="@(Model.tabidx == 3 ? "active" : "")"><a href="#" onclick="gotab(3);" data-toggle="tab">교육이력</a></li> <li class="@(Model.tabidx == 3 ? "active" : "")"><a href="#" onclick="gotab(3);" data-toggle="tab">상담이력</a></li>
} }
else if (Model.viewname == "professor") else if (Model.viewname == "professor")
{ {
@ -303,7 +303,7 @@
<div class="form-group"> <div class="form-group">
<label class="col-lg-2 control-label">문의구분</label> <label class="col-lg-2 control-label">문의구분</label>
<div class="col-lg-10"> <div class="col-lg-10">
@Html.Partial("./Partial/Select", Model.ComCodes2, new ViewDataDictionary { {"class","form-control"} ,{ "name", "Councel.bldgcat" }, { "selected", null }, { "style", "width: 30%;padding:3px 5px;" }, { "df", ":선택" } }) @Html.Partial("./Partial/Select", Model.ComCodes2, new ViewDataDictionary { {"class","form-control"} ,{ "name", "Councel.bldgcat" }, { "selected", null }, { "style", "width: 30%;padding:3px 5px;" }, { "df", ":선택" }, { "formgroupstyle", "padding-left:15px" } })
</div> </div>
</div> </div>
<div class="line line-dashed line-lg pull-in"></div> <div class="line line-dashed line-lg pull-in"></div>
@ -337,12 +337,12 @@
<table class="table table-striped b-t b-light"> <table class="table table-striped b-t b-light">
<thead> <thead>
<tr> <tr>
<th width="20">No</th> <th width="5%">No</th>
<th>기수</th> <th width="10%">구분</th>
<th>과정분류</th> <th width="25%">문의내용</th>
<th>강좌명(분반)</th> <th width="30%">답변내용</th>
<th>강의기간</th> <th width="15%">등록일</th>
<th>강의료</th> <th width="15%">상담자</th>
</tr> </tr>
</thead> </thead>
<tbody class="data" id="tbody4"> <tbody class="data" id="tbody4">