mirror of https://github.com/abpframework/abp
Merge pull request #12606 from abpframework/liangshiwei/emailsettigns
Sending test email in the setting page with MVC and Blazor UIpull/12621/head
commit
8009f0f121
@ -0,0 +1,31 @@
|
||||
@page
|
||||
@using Microsoft.AspNetCore.Mvc.Localization
|
||||
@using Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
|
||||
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal
|
||||
@using Volo.Abp.SettingManagement.Localization
|
||||
@using Volo.Abp.SettingManagement.Web.Pages.SettingManagement.Components.EmailSettingGroup
|
||||
@model SendTestEmailModal
|
||||
@inject IHtmlLocalizer<AbpSettingManagementResource> L
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
|
||||
<form asp-page="/SettingManagement/Components/EmailSettingGroup/SendTestEmailModal">
|
||||
<abp-modal>
|
||||
<abp-modal-header title="@L["SendTestEmail"].Value"></abp-modal-header>
|
||||
<abp-modal-body>
|
||||
<abp-input asp-for="Input.SenderEmailAddress" />
|
||||
<abp-input asp-for="Input.TargetEmailAddress" />
|
||||
<abp-input asp-for="Input.Subject" />
|
||||
<abp-input asp-for="Input.Body" />
|
||||
</abp-modal-body>
|
||||
<abp-modal-footer>
|
||||
<abp-button data-bs-dismiss="modal" button-type="Secondary">@L["Cancel"]</abp-button>
|
||||
<abp-button button-type="Primary" type="submit">
|
||||
<i class="fa fa-send"></i> @L["Send"]
|
||||
</abp-button>
|
||||
</abp-modal-footer>
|
||||
|
||||
</abp-modal>
|
||||
</form>
|
Loading…
Reference in new issue