@using FHT.Core.UI.ViewModels @using FHT.Core.UI.InputModels.Search @using FHT.Core.UI.ViewModels.Meetup @using MvcPaging @using FHT.Utilities @model MeetUpFilterableInputModel @{ ViewBag.Title = "活动信息同步"; Layout = "~/Views/Shared/_Layout.cshtml"; var meetUps = (FHT.DDD.QueryResult)ViewBag.MeetUps; }
@using (Html.BeginForm("SearchMeetUp", "Synchronziation", FormMethod.Get, new {role = "form" })) {
@Html.RequiredLabelFor(m => m.Id, new{@class="pull-left fht-control-label"})
@Html.TextBoxFor(m => m.Id, new { @class = "form-control"})
@Html.RequiredLabelFor(m => m.Title, new{@class="pull-left fht-control-label"})
@Html.TextBoxFor(m => m.Title, new { @class = "form-control"})
}
@if (meetUps.Data.Any()) { foreach (var mu in meetUps.Data) { } } else { }
编号 名称
@mu.MeetupId @mu.Title
暂无数据
@if ((meetUps.TotalCount - 1) / Model.Limit > 0) { @Html.Pager(Model.Limit, Model.CurrPage, (int)meetUps.TotalCount).Options(opt => { opt.Action("SearchMeetUp") .PageRouteValueKey("CurrPage") .AddRouteValue("Title", Model.Title) .SetNextPageText(">") .DisplayTemplate("BootstrapPagination") .SetPreviousPageText("<"); }) }
@section scripts{ @Scripts.Render("~/bundles/views/synchronziation/search") }