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.
88 lines
3.5 KiB
88 lines
3.5 KiB
@page
|
|
|
|
@using Microsoft.AspNetCore.Mvc.Localization
|
|
@using Volo.Abp.AspNetCore.Mvc.UI.Layout
|
|
@using Volo.CmsKit.Admin.Web.Pages.CmsKit.Comments
|
|
@using Volo.CmsKit.Admin.Web.Menus
|
|
@using Volo.CmsKit.Localization
|
|
|
|
@inject IPageLayout PageLayout
|
|
@inject IHtmlLocalizer<CmsKitResource> L
|
|
|
|
@model IndexModel
|
|
|
|
@{
|
|
PageLayout.Content.Title = L["Comments"].Value;
|
|
PageLayout.Content.BreadCrumb.Add(L["Menu:CMS"].Value);
|
|
PageLayout.Content.MenuItemName = CmsKitAdminMenus.Comments.CommentsMenu;
|
|
}
|
|
|
|
@section styles{
|
|
<abp-style-bundle>
|
|
<abp-style src="/Pages/CmsKit/Comments/index.css" />
|
|
</abp-style-bundle>
|
|
}
|
|
|
|
@section scripts {
|
|
<abp-script-bundle>
|
|
<abp-script src="/client-proxies/cms-kit-common-proxy.js"/>
|
|
<abp-script src="/client-proxies/cms-kit-admin-proxy.js"/>
|
|
<abp-script src="/Pages/CmsKit/Comments/index.js"/>
|
|
</abp-script-bundle>
|
|
}
|
|
|
|
<abp-alert id="commentsAlert" alert-type="Warning" style="display: none;">
|
|
</abp-alert>
|
|
|
|
<abp-card class="mb-4">
|
|
<abp-card-body>
|
|
<div id="CmsKitCommentsWrapper">
|
|
<form id="CmsKitCommentsFilterForm" method="post">
|
|
<abp-row class="align-items-end">
|
|
<abp-column size-lg="_4" size-md="_12">
|
|
<abp-row>
|
|
<abp-column size-lg="_6" size-md="_6">
|
|
<abp-input asp-for="@Model.CreationStartDate" class="singledatepicker" label="@L["StartDate"].Value" type="text" value="" />
|
|
</abp-column>
|
|
<abp-column size-lg="_6" size-md="_6">
|
|
<abp-input asp-for="@Model.CreationEndDate" class="singledatepicker" label="@L["EndDate"].Value" type="text" />
|
|
</abp-column>
|
|
</abp-row>
|
|
</abp-column>
|
|
|
|
<abp-column size-lg="_2" size-md="_6">
|
|
<abp-input asp-for="@Model.Author" label="@L["Username"].Value" type="text" />
|
|
</abp-column>
|
|
|
|
<abp-column size-lg="_2" size-md="_6">
|
|
<abp-input asp-for="@Model.EntityType" label="@L["EntityType"].Value" type="text" />
|
|
</abp-column>
|
|
|
|
<abp-column size-lg="_2" size-md="_6">
|
|
<div class="mb-3">
|
|
<label class="mb-1" for="isApprovedSelect">@L["CommentFilter:ApproveState"].Value</label>
|
|
<select id="isApprovedSelect" asp-for="@Model.IsApproved" class="form-control">
|
|
<option value="">@L["CommentFilter:All"].Value</option>
|
|
<option value="true">@L["CommentFilter:Approved"].Value</option>
|
|
<option value="false">@L["CommentFilter:Disapproved"].Value</option>
|
|
<option value="null">@L["CommentFilter:Waiting"].Value</option>
|
|
</select>
|
|
</div>
|
|
</abp-column>
|
|
|
|
<abp-column size-lg="_2" size-md="_6">
|
|
<abp-button class="w-100 mb-3" button-type="Primary" type="submit">
|
|
<i class="fa fa-search" aria-hidden="true"></i>
|
|
</abp-button>
|
|
</abp-column>
|
|
</abp-row>
|
|
</form>
|
|
</div>
|
|
</abp-card-body>
|
|
</abp-card>
|
|
|
|
<abp-card>
|
|
<abp-card-body>
|
|
<abp-table id="CommentsTable" class="nowrap"></abp-table>
|
|
</abp-card-body>
|
|
</abp-card>
|
|
|