init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
142
KretaWeb/Areas/Tanulo/Views/KollegiumTanulo/Edit_SNI_Tab.cshtml
Normal file
142
KretaWeb/Areas/Tanulo/Views/KollegiumTanulo/Edit_SNI_Tab.cshtml
Normal file
|
@ -0,0 +1,142 @@
|
|||
@using Kreta.Resources
|
||||
@using Kreta.Web.Areas.Tanulo.Models
|
||||
@using Kreta.Enums
|
||||
@model TanuloModel
|
||||
|
||||
<div class="container-fluid details">
|
||||
<h4>@TanuloResource.SajatosNevelesiIgeny </h4>
|
||||
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.TanuloSajatosAdatModel.SajatosNevelesu).RenderWithName(3, 3)
|
||||
</div>
|
||||
@*
|
||||
<div id="SNIHiddenInputsDiv" class="displayNone">
|
||||
<div class="row">
|
||||
@Html.KretaNumericFor(x => x.TanuloSajatosAdatModel.TanuloLetszamSulyozasa).RenderWithName(3, 3)
|
||||
@Html.KretaCheckBoxFor(x => x.TanuloSajatosAdatModel.HalmozottanFogyatekos).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.KiallitoIntezmeny).RenderWithName(3, 3)
|
||||
@Html.KretaDatePickerFor(x => x.TanuloSajatosAdatModel.SzuksegesKontrollIdopontja).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaDatePickerFor(x => x.TanuloSajatosAdatModel.OkmanyErvenyessegKezdete).RenderWithName(3, 3)
|
||||
@Html.KretaDatePickerFor(x => x.TanuloSajatosAdatModel.OkmanyErvenyessegVege).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.BNOKod).RenderWithName(3, 3)
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.Meghatarozas).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaComboBoxFor(x => x.TanuloSajatosAdatModel.ErtelmiFogyatekos, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = "GetErtelmiFogyatekosTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.ErtelmiFogyatekosOkmanySzam).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaComboBoxFor(x => x.TanuloSajatosAdatModel.Hallasserult, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = "GetHallasserultTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.HallasserultOkmanySzam).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaComboBoxFor(x => x.TanuloSajatosAdatModel.Latasserult, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = "GetLatasserultTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.LatasserultOkmanySzam).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.MozgasserultOkmanySzam).RenderWithName(3, 3)
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.BeszedfogyatekosOkmanySzam).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.DiszlexiaOkmanySzam).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaEmpty(6)
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.DiszkalkuliaOkmanySzam).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaEmpty(6)
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.DiszgrafiaOkmanySzam).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.ViselkedesOkmanySzam).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.ViselkedesNemOkmanySzam).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.MegismeroFunkciokOkmanySzam).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.MegismeroFunkciokNemOkmanySzam).RenderWithName()
|
||||
</div>
|
||||
|
||||
<h4>@TanuloResource.FejlesztoFoglalkozas</h4>
|
||||
<div class="row">
|
||||
@Html.KretaNumericFor(x => x.TanuloSajatosAdatModel.FejlesztesreForditandoOraszam).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.FejlesztoFoglalkozas).RenderWithName(3, 3)
|
||||
@Html.KretaTextBoxFor(x => x.TanuloSajatosAdatModel.FejlesztesreKijelolt).RenderWithName(3, 3)
|
||||
</div>
|
||||
</div>
|
||||
*@
|
||||
</div>
|
||||
@*
|
||||
<script type="text/javascript">
|
||||
var SniTabHelper = (function () {
|
||||
var sniTabHelper = function () { };
|
||||
|
||||
sniTabHelper.validateErtelmiFogyatekosInput = function () {
|
||||
var ertelmifogyatekosVal = $("#TanuloSajatosAdatModel_ErtelmiFogyatekos").val();
|
||||
if (ertelmifogyatekosVal === "" || ertelmifogyatekosVal === "@((int) ErtelmiFogyatekosTipusEnum.nem_ertelmi_fogyatekos)") {
|
||||
$("#TanuloSajatosAdatModel_ErtelmiFogyatekosOkmanySzam").val("")
|
||||
$("#TanuloSajatosAdatModel_ErtelmiFogyatekosOkmanySzam").attr({ "disabled": "disabled" });
|
||||
|
||||
} else {
|
||||
$("#TanuloSajatosAdatModel_ErtelmiFogyatekosOkmanySzam").removeAttr("disabled");
|
||||
}
|
||||
}
|
||||
sniTabHelper.validateHallasserultInput = function () {
|
||||
var hallasserultVal = $("#TanuloSajatosAdatModel_Hallasserult").val();
|
||||
if (hallasserultVal === "" || hallasserultVal === "@((int) HallasserultTipusEnum.nem_hallasserult)") {
|
||||
$("#TanuloSajatosAdatModel_HallasserultOkmanySzam").val("")
|
||||
$("#TanuloSajatosAdatModel_HallasserultOkmanySzam").attr({ "disabled": "disabled" });
|
||||
|
||||
} else {
|
||||
$("#TanuloSajatosAdatModel_HallasserultOkmanySzam").removeAttr("disabled");
|
||||
}
|
||||
}
|
||||
|
||||
sniTabHelper.validateLatasserultInput = function () {
|
||||
var latasserultVal = $("#TanuloSajatosAdatModel_Latasserult").val();
|
||||
if (latasserultVal === "" || latasserultVal === "@((int) LatasserultTipusEnum.nem_latasserult)") {
|
||||
$("#TanuloSajatosAdatModel_LatasserultOkmanySzam").val("")
|
||||
$("#TanuloSajatosAdatModel_LatasserultOkmanySzam").attr({ "disabled": "disabled" });
|
||||
|
||||
} else {
|
||||
$("#TanuloSajatosAdatModel_LatasserultOkmanySzam").removeAttr("disabled");
|
||||
}
|
||||
}
|
||||
return sniTabHelper;
|
||||
})();
|
||||
|
||||
$(document).ready(function () {
|
||||
setTimeout(function () {
|
||||
if ('@Model.TanuloSajatosAdatModel.SajatosNevelesu' == 'True') {
|
||||
$("#SNIHiddenInputsDiv").removeClass('displayNone');
|
||||
}
|
||||
}, 1);
|
||||
SniTabHelper.validateErtelmiFogyatekosInput();
|
||||
SniTabHelper.validateHallasserultInput();
|
||||
SniTabHelper.validateLatasserultInput();
|
||||
});
|
||||
|
||||
$("#TanuloSajatosAdatModel_SajatosNevelesu").change(function () {
|
||||
$("#TanuloSajatosAdatModel_OkmanyErvenyessegKezdete").data("kendoDatePicker").value(null);
|
||||
$("#TanuloSajatosAdatModel_OkmanyErvenyessegVege").data("kendoDatePicker").value(null);
|
||||
});
|
||||
|
||||
$("#TanuloSajatosAdatModel_ErtelmiFogyatekos").change(function () { SniTabHelper.validateErtelmiFogyatekosInput(); });
|
||||
|
||||
$("#TanuloSajatosAdatModel_Hallasserult").change(function () { SniTabHelper.validateHallasserultInput(); });
|
||||
|
||||
$("#TanuloSajatosAdatModel_Latasserult").change(function () { SniTabHelper.validateLatasserultInput(); });
|
||||
</script>
|
||||
*@
|
Loading…
Add table
Add a link
Reference in a new issue