mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
963 B
37 lines
963 B
@page
|
|
@using Microsoft.AspNetCore.Mvc.Localization
|
|
@using Volo.CmsKit.Admin.Web.Pages
|
|
@using Volo.CmsKit.Localization
|
|
@using Volo.CmsKit.Admin.Web.Pages.CmsKit.Contents;
|
|
@inject IHtmlLocalizer<CmsKitResource> L
|
|
|
|
@model AddWidgetModal;
|
|
@{
|
|
Layout = null;
|
|
}
|
|
|
|
@section scripts
|
|
{
|
|
<abp-script src="/Pages/CmsKit/Contents/addWidgetModal.js" />
|
|
}
|
|
|
|
<abp-modal size="Large" id="addWidgetModal">
|
|
|
|
<abp-modal-header title="@L["AddWidget"].Value"></abp-modal-header>
|
|
|
|
<abp-modal-body>
|
|
<div class="container row">
|
|
@if(Model.Widgets.Count() > 1){
|
|
<abp-select asp-for="ViewModel.Widget" />
|
|
<div id="PropertySideId">
|
|
</div>
|
|
<button class="btn btn-primary float-end" type="submit" id="save-changes">@L["Add"]</button>
|
|
}
|
|
else
|
|
{
|
|
<p>@L["PleaseConfigureWidgets"].Value</p>
|
|
}
|
|
</div>
|
|
</abp-modal-body>
|
|
|
|
</abp-modal>
|
|
|