init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
6
KretaWeb/Views/Shared/EditorTemplates/Currency.cshtml
Normal file
6
KretaWeb/Views/Shared/EditorTemplates/Currency.cshtml
Normal file
|
@ -0,0 +1,6 @@
|
|||
@model decimal?
|
||||
|
||||
@(Html.Kendo().CurrencyTextBoxFor(m => m)
|
||||
.HtmlAttributes(new {style="width:100%"})
|
||||
.Min(0)
|
||||
)
|
3
KretaWeb/Views/Shared/EditorTemplates/Date.cshtml
Normal file
3
KretaWeb/Views/Shared/EditorTemplates/Date.cshtml
Normal file
|
@ -0,0 +1,3 @@
|
|||
@model DateTime?
|
||||
|
||||
@(Html.Kendo().DatePickerFor(m => m))
|
3
KretaWeb/Views/Shared/EditorTemplates/DateTime.cshtml
Normal file
3
KretaWeb/Views/Shared/EditorTemplates/DateTime.cshtml
Normal file
|
@ -0,0 +1,3 @@
|
|||
@model DateTime?
|
||||
|
||||
@(Html.Kendo().DateTimePickerFor(m => m))
|
3
KretaWeb/Views/Shared/EditorTemplates/Email.cshtml
Normal file
3
KretaWeb/Views/Shared/EditorTemplates/Email.cshtml
Normal file
|
@ -0,0 +1,3 @@
|
|||
@model object
|
||||
|
||||
@Html.TextBoxFor(model => model, new {@class="k-textbox" })
|
|
@ -0,0 +1,3 @@
|
|||
@model object
|
||||
|
||||
@Html.TextBoxFor(model => model, new {@class="k-textbox", type="email" })
|
|
@ -0,0 +1,6 @@
|
|||
@model object
|
||||
|
||||
@(
|
||||
Html.Kendo().DropDownListFor(m => m)
|
||||
.BindTo((SelectList)ViewData[ViewData.TemplateInfo.GetFullHtmlFieldName("") + "_Data"])
|
||||
)
|
7
KretaWeb/Views/Shared/EditorTemplates/Integer.cshtml
Normal file
7
KretaWeb/Views/Shared/EditorTemplates/Integer.cshtml
Normal file
|
@ -0,0 +1,7 @@
|
|||
@model int?
|
||||
|
||||
@(Html.Kendo().IntegerTextBoxFor(m => m)
|
||||
.HtmlAttributes(new { style = "width:100%" })
|
||||
.Min(int.MinValue)
|
||||
.Max(int.MaxValue)
|
||||
)
|
|
@ -0,0 +1,29 @@
|
|||
@using Kreta.Web.Helpers
|
||||
|
||||
<div class="modalContainer">
|
||||
<div class="modalOuter">
|
||||
<div class="modalContent">
|
||||
<div class="k-content">
|
||||
@using (Html.KretaForm("WizardForm"))
|
||||
{
|
||||
@Html.KretaValidationSummary()
|
||||
|
||||
<div class="container-fluid">
|
||||
<div id="wizardContent">
|
||||
@*Ide kerül majd a wizardban a folyamatosan frissülő tartalom*@
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modalFooter">
|
||||
<div style="float:right; padding-left: 5px;">
|
||||
@Html.KretaButton("wizardNextBtn", CommonResource.Tovabb)
|
||||
@Html.KretaButton("saveWithDelete", KozpontiOrakResource.KozpontiOraMenteseKijeloltekTorlesevel, clickEventName: "KozpontiOra.savekozpontiOrakWithDeleteOrarendiOrak").HtmlAttributes(new { @class = "hidden", id = "kozpontiOraMenteseTorlesselBtn" })
|
||||
@Html.KretaButton("saveWithoutDelete", KozpontiOrakResource.KozpontiOraMenteseTorlesNelkul, clickEventName: "KozpontiOra.savekozpontiOrakWithoutDeleteOrarendiOrak").HtmlAttributes(new { @class = "hidden", id = "kozpontiOraMenteseTorlesNelkulBtn" })
|
||||
@Html.KretaButton("wizardBackBtn", CommonResource.Vissza)
|
||||
</div>
|
||||
</div>
|
41
KretaWeb/Views/Shared/EditorTemplates/ModalButton.cshtml
Normal file
41
KretaWeb/Views/Shared/EditorTemplates/ModalButton.cshtml
Normal file
|
@ -0,0 +1,41 @@
|
|||
@using Kreta.Web.Helpers
|
||||
@using Kreta.Web.Helpers.Modal
|
||||
|
||||
@model List<ModalButtonModel>
|
||||
|
||||
<div style="display: flex; flex-direction: column; padding: inherit;">
|
||||
<div style="padding: inherit;">
|
||||
@foreach (var item in Model.Where(x => !x.SecondLine))
|
||||
{
|
||||
<div class="@item.ContainerCssClass" style="float:right; padding-left: 5px;">
|
||||
@Html.KretaButton(item.Name
|
||||
, item.Text
|
||||
, "button"
|
||||
, item.Enabled
|
||||
, item.SpriteCssClass
|
||||
, item.Icon
|
||||
, item.ImageUrl
|
||||
, item.HtmlAttributes
|
||||
, item.EventName
|
||||
)
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<div style="padding: inherit;">
|
||||
@foreach (var item in Model.Where(x => x.SecondLine))
|
||||
{
|
||||
<div class="@item.ContainerCssClass" style="float:right; padding-left: 5px;">
|
||||
@Html.KretaButton(item.Name
|
||||
, item.Text
|
||||
, "button"
|
||||
, item.Enabled
|
||||
, item.SpriteCssClass
|
||||
, item.Icon
|
||||
, item.ImageUrl
|
||||
, item.HtmlAttributes
|
||||
, item.EventName
|
||||
)
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
5
KretaWeb/Views/Shared/EditorTemplates/Number.cshtml
Normal file
5
KretaWeb/Views/Shared/EditorTemplates/Number.cshtml
Normal file
|
@ -0,0 +1,5 @@
|
|||
@model double?
|
||||
|
||||
@(Html.Kendo().NumericTextBoxFor(m => m)
|
||||
.HtmlAttributes(new { style = "width:100%" })
|
||||
)
|
27
KretaWeb/Views/Shared/EditorTemplates/PanelBar.cshtml
Normal file
27
KretaWeb/Views/Shared/EditorTemplates/PanelBar.cshtml
Normal file
|
@ -0,0 +1,27 @@
|
|||
@using Kreta.Web.Models.EditorTemplates
|
||||
@model PanelBarBaseModel
|
||||
|
||||
@(Html.Kendo().PanelBar()
|
||||
.Name(Model.PanelName)
|
||||
.ExpandMode(Model.ExpandMode)
|
||||
.Animation(animation => animation.Enable(Model.Animation))
|
||||
.BindTo(Model.ChildModels, mapping =>
|
||||
{
|
||||
mapping.For<PanelBarChildModel>(binding => binding.ItemDataBound((panel, childModel) =>
|
||||
{
|
||||
panel.Text = childModel.PartialViewTitle;
|
||||
panel.Enabled = childModel.Enabled;
|
||||
panel.Template.InlineTemplate = @<text>
|
||||
@Html.Partial(childModel.PartialViewName, childModel, new ViewDataDictionary { { "Data", childModel.Data } })
|
||||
</text>;
|
||||
}));
|
||||
})
|
||||
)
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$(".k-state-disabled").each(function () {
|
||||
$(this).addClass("disabledItem");
|
||||
})
|
||||
})
|
||||
</script>
|
19
KretaWeb/Views/Shared/EditorTemplates/PanelBarGeneric.cshtml
Normal file
19
KretaWeb/Views/Shared/EditorTemplates/PanelBarGeneric.cshtml
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
@using Kreta.Web.Models.EditorTemplates
|
||||
@model PanelBarBaseModel
|
||||
|
||||
@(Html.Kendo().PanelBar()
|
||||
.Name(Model.PanelName)
|
||||
.ExpandMode(Model.ExpandMode)
|
||||
.Animation(animation => animation.Enable(Model.Animation))
|
||||
.BindTo(Model.ChildModels, mapping =>
|
||||
{
|
||||
mapping.For<PanelBarChildModel>(binding => binding.ItemDataBound((panel, childModel) =>
|
||||
{
|
||||
panel.Text = childModel.PartialViewTitle;
|
||||
panel.Template.InlineTemplate = @<text>
|
||||
@Html.Partial(childModel.PartialViewName, childModel.GenericPanelBarModel)
|
||||
</text>;
|
||||
}));
|
||||
})
|
||||
)
|
3
KretaWeb/Views/Shared/EditorTemplates/Password.cshtml
Normal file
3
KretaWeb/Views/Shared/EditorTemplates/Password.cshtml
Normal file
|
@ -0,0 +1,3 @@
|
|||
@model object
|
||||
|
||||
@Html.TextBoxFor(model => model, new {@class="k-textbox", type="password" })
|
25
KretaWeb/Views/Shared/EditorTemplates/PopUp.cshtml
Normal file
25
KretaWeb/Views/Shared/EditorTemplates/PopUp.cshtml
Normal file
|
@ -0,0 +1,25 @@
|
|||
@model Kreta.Web.Models.EditorTemplates.PopUpModel
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
@if (Model.Buttons.Any(x => x.SecondLine))
|
||||
{
|
||||
<style>
|
||||
.modalContainer .modalOuter {
|
||||
height: calc(100% - 102px) !important;
|
||||
}
|
||||
</style>
|
||||
}
|
||||
|
||||
<div class="modalContainer">
|
||||
<div class="modalOuter">
|
||||
<div class="modalContent">
|
||||
<div class="k-content">
|
||||
@Html.Partial(Model.View, Model.Instance)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modalFooter">
|
||||
@Html.Partial("EditorTemplates/ModalButton", Model.Buttons)
|
||||
</div>
|
3
KretaWeb/Views/Shared/EditorTemplates/String.cshtml
Normal file
3
KretaWeb/Views/Shared/EditorTemplates/String.cshtml
Normal file
|
@ -0,0 +1,3 @@
|
|||
@model object
|
||||
|
||||
@Html.Kendo().TextBoxFor(model => model)
|
17
KretaWeb/Views/Shared/EditorTemplates/TabStrip.cshtml
Normal file
17
KretaWeb/Views/Shared/EditorTemplates/TabStrip.cshtml
Normal file
|
@ -0,0 +1,17 @@
|
|||
@using Kreta.Web.Helpers.TabStrip
|
||||
|
||||
@model List<TabStripItemModel>
|
||||
|
||||
<ul class="tab-container">
|
||||
@foreach (var item in Model)
|
||||
{
|
||||
<li class="@(item.KendoCssClass)" id="@item.ItemId">@item.ItemName</li>
|
||||
}
|
||||
</ul>
|
||||
|
||||
@foreach (var item in Model)
|
||||
{
|
||||
<div id="@item.ItemId">
|
||||
@Html.Partial(item.PartialViewName, item.Model)
|
||||
</div>
|
||||
}
|
3
KretaWeb/Views/Shared/EditorTemplates/Time.cshtml
Normal file
3
KretaWeb/Views/Shared/EditorTemplates/Time.cshtml
Normal file
|
@ -0,0 +1,3 @@
|
|||
@model DateTime?
|
||||
|
||||
@(Html.Kendo().TimePickerFor(m => m))
|
3
KretaWeb/Views/Shared/EditorTemplates/Url.cshtml
Normal file
3
KretaWeb/Views/Shared/EditorTemplates/Url.cshtml
Normal file
|
@ -0,0 +1,3 @@
|
|||
@model object
|
||||
|
||||
@Html.TextBoxFor(model => model, new {@class="k-textbox", type="url" })
|
42
KretaWeb/Views/Shared/EditorTemplates/WizardPopUp.cshtml
Normal file
42
KretaWeb/Views/Shared/EditorTemplates/WizardPopUp.cshtml
Normal file
|
@ -0,0 +1,42 @@
|
|||
@using Kreta.Web.Helpers
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
|
||||
<div class="modalHeader">
|
||||
<div id="wizardStepDisplay" style="visibility: hidden;">
|
||||
@Html.Partial("StepDisplayPartialView")
|
||||
</div>
|
||||
</div>
|
||||
<div class="modalContainer">
|
||||
<div class="modalOuter">
|
||||
<div class="modalContent">
|
||||
<div class="k-content">
|
||||
@using (Html.KretaForm("WizardForm"))
|
||||
{
|
||||
@Html.KretaValidationSummary()
|
||||
|
||||
<div class="container-fluid">
|
||||
<div id="wizardContent">
|
||||
@*Ide kerül majds a wizardban a folyamatosan frissülő tartalom*@
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modalFooter">
|
||||
<div style="float:right; padding-left: 5px;">
|
||||
@Html.KretaButton("wizardNextBtn", CommonResource.Tovabb, enabled: true)
|
||||
@Html.KretaButton("wizardEndBtn", 2659, /*vége*/ true)
|
||||
</div>
|
||||
<div style="float:left; padding-left: 5px;">
|
||||
@Html.KretaButton("wizardBackBtn", 179 /*Vissza*/, true)
|
||||
@Html.KretaButton("wizardCancelBtn", 112 /*Mégsem*/, true)
|
||||
</div>
|
||||
<div style="padding-left: 5px; display: flex;">
|
||||
@Html.KretaProgressBar("wizardProgressBar").HtmlAttributes(new { style = "width: 100%; display: none;", @class = "progressBar" })
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue