init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,100 @@
|
|||
@using Kreta.Framework
|
||||
@using Kreta.Web.Classes
|
||||
@using Kreta.Web.Areas.Orarend.Models
|
||||
@using Kreta.Web.Helpers
|
||||
@model FoglalkozasModel
|
||||
|
||||
@using (Html.KretaForm("FoglalkozasForm"))
|
||||
{
|
||||
@Html.KretaValidationSummary()
|
||||
|
||||
@Html.HiddenFor(x => x.ID)
|
||||
@Html.HiddenFor(x => x.KezdeteDatum)
|
||||
@Html.HiddenFor(x => x.VegeDatum)
|
||||
@Html.HiddenFor(x => x.UseFoglalkozas)
|
||||
<div class="container-fluid details">
|
||||
@if (Model.UseFoglalkozas)
|
||||
{
|
||||
<div class="row">
|
||||
@Html.KretaComboBoxFor(x => x.TanoranKivuliFoglalkozas, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetTanoranKivuliFoglalkozasok" }), "Text", "Value", useGroup: true).AutoBind(true).Events(e => { e.Change("Foglalkozasok.OnTanoranKivuliFoglalkozasChange"); e.DataBound("Foglalkozasok.OnTanoranKivuliFoglalkozasChange"); }).RenderWithName(3, 3)
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="row">
|
||||
@Html.KretaComboBoxFor(x => x.OsztalyCsoportId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetTanoranKivuliFoglalkozasokOsztalyList" })).AutoBind(true).RenderWithName(3, 3)
|
||||
@Html.KretaComboBoxFor(x => x.TantargyId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetTantargyak" })).AutoBind(true).RenderWithName(3, 3)
|
||||
</div>
|
||||
}
|
||||
<div class="row">
|
||||
@if (Model.UseFoglalkozas)
|
||||
{
|
||||
<div class="col-xs-3 col-sm-3">
|
||||
<label class="windowInputLabel" for="TanoranKivuliFoglalkozas">@Kreta.Framework.StringResourcesUtil.GetString(33)</label>
|
||||
</div>
|
||||
<div class="col-xs-3 col-sm-3">
|
||||
<label id="TanoranKivuliFoglalkozasTanarok"></label>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
@Html.KretaEmpty()
|
||||
}
|
||||
@Html.KretaComboBoxFor(x => x.TeremID, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetTeremList" }), "Text", "Value", useGroup: false).AutoBind(true).RenderWithName(3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaLabelFor(x => x.KezdeteLabel, 3, 3)
|
||||
@Html.KretaLabelFor(x => x.VegeLabel, 3, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTimePickerFor(x => x.Kezdete).RenderWithName(3, 3)
|
||||
@Html.KretaTimePickerFor(x => x.Vege).RenderWithName(3, 3)
|
||||
</div>
|
||||
|
||||
<h4>@StringResourcesUtil.GetString(2491)</h4>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.Sorszamozando).RenderWithName(3, 3)
|
||||
@Html.KretaCheckBoxFor(x => x.ParhuzamosOra).RenderWithName(3, 3)
|
||||
</div>
|
||||
|
||||
<h4>@StringResourcesUtil.GetString(2492)</h4>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.Tulora).RenderWithName(2, 1)
|
||||
@Html.KretaCheckBoxFor(x => x.TAMOPOra).RenderWithName(2, 1)
|
||||
@Html.KretaCheckBoxFor(x => x.NemSzakrendszeruOra).RenderWithName(2, 1)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.KAPOra).Enable(false).RenderWithName(2, 1)
|
||||
@Html.KretaCheckBoxFor(x => x.VEKOP73317).Enable(false).RenderWithName(2, 1)
|
||||
@Html.KretaCheckBoxFor(x => x.KIPOra).Enable(false).RenderWithName(2, 1)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.IKTTanora).RenderWithName(2, 1)
|
||||
@Html.KretaCheckBoxFor(x => x.NemzetisegiOra).RenderWithName(2, 1)
|
||||
@Html.KretaCheckBoxFor(x => x.MindennaposTestneveles).RenderWithName(2, 1)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.IPRTanora).RenderWithName(2, 1)
|
||||
@Html.KretaCheckBoxFor(x => x.Differencialt).RenderWithName(2, 1)
|
||||
@Html.KretaCheckBoxFor(x => x.Kooperativ).RenderWithName(2, 1)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.Meres).RenderWithName(2, 1)
|
||||
@Html.KretaCheckBoxFor(x => x.Drama).RenderWithName(2, 1)
|
||||
@Html.KretaCheckBoxFor(x => x.Tiop).RenderWithName(2, 1)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.Bontott).RenderWithName(2, 1)
|
||||
@Html.KretaCheckBoxFor(x => x.IsFelnottoktatasiSzerzodes).RenderWithName(2, 1)
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$("#FoglalkozasForm #TanoranKivuliFoglalkozas").closest('div').addClass('disabledComboItem');
|
||||
$("#FoglalkozasForm #OsztalyCsoportId").closest('div').addClass('disabledComboItem');
|
||||
$("#FoglalkozasForm #TantargyId").closest('div').addClass('disabledComboItem');
|
||||
$("#FoglalkozasForm #TeremID").closest('div').addClass('disabledComboItem');
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue