@model TightWiki.Models.ViewModels.Admin.EmojisViewModel @using TightWiki.Library @using TightWiki.Models @{ Layout = "/Views/Shared/_Layout.cshtml"; var sessionState = ViewData["SessionState"] as TightWiki.SessionState ?? throw new Exception("Wiki State Context cannot be null."); }

Emojis



@if (!string.IsNullOrEmpty(Model.ErrorMessage)) {
@Html.Raw(Model.ErrorMessage)
} @if (!string.IsNullOrEmpty(Model.SuccessMessage)) {
@Html.Raw(Model.SuccessMessage)
} 新增

@using (Html.BeginForm(null, null, FormMethod.Get, new { action = $"{GlobalConfiguration.BasePath}{Context.Request.Path}" })) {
@Html.TextBoxFor(x => x.SearchString, new { @class = "form-control" })

@if (Model.Emojis.Count > 0) { @foreach (var emoji in Model.Emojis) { }
名称 快捷方式 图片
@emoji.Name @emoji.Shortcut @emoji.Name
@Html.Raw(TightWiki.Library.PageSelectorGenerator.Generate(Context.Request.QueryString, Model.PaginationPageCount)) } else {
查询不到emoji
} }
新增