init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
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>
|
Loading…
Add table
Add a link
Reference in a new issue