init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,51 @@
|
|||
@using Kreta.Web.Areas.Orarend.Models;
|
||||
@using Kreta.Framework;
|
||||
@using Kreta.Enums;
|
||||
@using Kreta.Web.Security;
|
||||
@using System.Collections.Generic;
|
||||
@model DigitalisOktatasAdatok
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
|
||||
@using (Html.KretaForm("DigitalisOktatasAdatokForm"))
|
||||
{
|
||||
<div class="container-fluid details">
|
||||
<div class="row">
|
||||
@Html.KretaComboBoxFor(m => m.DigEszkozTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetDigEszkozTipusList" }), "Text", "Value", useGroup: false).AutoBind(true).RenderWithName(9, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaComboBoxFor(m => m.DigPlatformTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetDigPlatformTipusList" }), "Text", "Value", useGroup: false).AutoBind(true).RenderWithName(9, 3)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaMultiSelectFor(model => model.DigTamEszkozTipus, Model.DigTamEszkozTipusList).AutoBind(true).RenderWithName(9, 3)
|
||||
@*@Html.KretaComboBoxFor(m => m.DigTamEszkozTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetDigTamEszkozTipusList" }), "Text", "Value", useGroup: false).AutoBind(true).RenderWithName(9, 3)*@
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
<style type="text/css">
|
||||
.k-checkbox-label-inline {
|
||||
display: inline-block;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
var TanoraDigitalisOktatasAdatokHelper = (function () {
|
||||
var tanoraDigitalisOktatasAdatokHelper = function () { };
|
||||
|
||||
tanoraDigitalisOktatasAdatokHelper.getModel = function () { return getModel("DigitalisOktatasAdatokForm"); }
|
||||
|
||||
function getModel(formName) {
|
||||
var model = {};
|
||||
|
||||
var form = $("#" + formName).toObject();
|
||||
model.DigEszkozTipusId = form.DigEszkozTipusId;
|
||||
model.DigPlatformTipusId = form.DigPlatformTipusId;
|
||||
model.DigTamEszkozTipus = form.DigTamEszkozTipus;
|
||||
|
||||
return model;
|
||||
}
|
||||
|
||||
return tanoraDigitalisOktatasAdatokHelper;
|
||||
})();
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue