#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ASP
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
#line 6 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
using System.Web.Mvc;
#line default
#line hidden
#line 7 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
using System.Web.Mvc.Ajax;
#line default
#line hidden
#line 8 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
using System.Web.Mvc.Html;
#line default
#line hidden
#line 9 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
using System.Web.Routing;
#line default
#line hidden
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
#line 2 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
using NewLife;
#line default
#line hidden
using NewLife.Cube;
using NewLife.Reflection;
#line 3 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
using NewLife.Web;
#line default
#line hidden
#line 4 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
using XCode;
#line default
#line hidden
#line 5 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
using XCode.Configuration;
#line default
#line hidden
using XCode.Membership;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Areas/Admin/Views/Log/_List_Data.cshtml")]
public partial class _Areas_Admin_Views_Log__List_Data_cshtml : System.Web.Mvc.WebViewPage<IList<XCode.Membership.Log>>
{
public _Areas_Admin_Views_Log__List_Data_cshtml()
{
}
public override void Execute()
{
#line 10 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
var fact = ViewBag.Factory as IEntityOperate;
var page = ViewBag.Page as Pager;
var fields = ViewBag.Fields as IList<FieldItem>;
var enableSelect = this.EnableSelect();
#line default
#line hidden
WriteLiteral("\r\n<table");
WriteLiteral(" class=\"table table-bordered table-hover table-striped table-condensed\"");
WriteLiteral(">\r\n <thead>\r\n <tr>\r\n");
#line 19 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
#line default
#line hidden
#line 19 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
if (enableSelect)
{
#line default
#line hidden
WriteLiteral(" <th");
WriteLiteral(" class=\"text-center\"");
WriteLiteral(" style=\"width:10px;\"");
WriteLiteral("><input");
WriteLiteral(" type=\"checkbox\"");
WriteLiteral(" id=\"chkAll\"");
WriteLiteral(" title=\"全选\"");
WriteLiteral(" /></th>\r\n");
#line 22 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
}
#line default
#line hidden
WriteLiteral(" <th");
WriteLiteral(" class=\"text-center hidden-md hidden-sm hidden-xs\"");
WriteLiteral("><a");
WriteAttribute("href", Tuple.Create(" href=\"", 776), Tuple.Create("\"", 815)
#line 23 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
, Tuple.Create(Tuple.Create("", 783), Tuple.Create<System.Object, System.Int32>(Html.Raw(page.GetSortUrl("ID"))
#line default
#line hidden
, 783), false)
);
WriteLiteral(">编号</a></th>\r\n <th");
WriteLiteral(" class=\"text-center\"");
WriteLiteral("><a");
WriteAttribute("href", Tuple.Create(" href=\"", 868), Tuple.Create("\"", 913)
#line 24 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
, Tuple.Create(Tuple.Create("", 875), Tuple.Create<System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Category"))
#line default
#line hidden
, 875), false)
);
WriteLiteral(">类别</a></th>\r\n <th");
WriteLiteral(" class=\"text-center\"");
WriteLiteral("><a");
WriteAttribute("href", Tuple.Create(" href=\"", 966), Tuple.Create("\"", 1009)
#line 25 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
, Tuple.Create(Tuple.Create("", 973), Tuple.Create<System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Action"))
#line default
#line hidden
, 973), false)
);
WriteLiteral(">操作</a></th>\r\n <th");
WriteLiteral(" class=\"text-center\"");
WriteLiteral("><a");
WriteAttribute("href", Tuple.Create(" href=\"", 1062), Tuple.Create("\"", 1105)
#line 26 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
, Tuple.Create(Tuple.Create("", 1069), Tuple.Create<System.Object, System.Int32>(Html.Raw(page.GetSortUrl("Remark"))
#line default
#line hidden
, 1069), false)
);
WriteLiteral(">详细信息</a></th>\r\n <th");
WriteLiteral(" class=\"text-center\"");
WriteLiteral("><a");
WriteAttribute("href", Tuple.Create(" href=\"", 1160), Tuple.Create("\"", 1203)
#line 27 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
, Tuple.Create(Tuple.Create("", 1167), Tuple.Create<System.Object, System.Int32>(Html.Raw(page.GetSortUrl("LinkID"))
#line default
#line hidden
, 1167), false)
);
WriteLiteral(">链接</a></th>\r\n <th");
WriteLiteral(" class=\"text-center\"");
WriteLiteral("><a");
WriteAttribute("href", Tuple.Create(" href=\"", 1256), Tuple.Create("\"", 1301)
#line 28 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
, Tuple.Create(Tuple.Create("", 1263), Tuple.Create<System.Object, System.Int32>(Html.Raw(page.GetSortUrl("UserName"))
#line default
#line hidden
, 1263), false)
);
WriteLiteral(">用户名</a></th>\r\n <th");
WriteLiteral(" class=\"text-center\"");
WriteLiteral("><a");
WriteAttribute("href", Tuple.Create(" href=\"", 1355), Tuple.Create("\"", 1400)
#line 29 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
, Tuple.Create(Tuple.Create("", 1362), Tuple.Create<System.Object, System.Int32>(Html.Raw(page.GetSortUrl("CreateIP"))
#line default
#line hidden
, 1362), false)
);
WriteLiteral(">IP地址</a></th>\r\n <th");
WriteLiteral(" class=\"text-center\"");
WriteLiteral("><a");
WriteAttribute("href", Tuple.Create(" href=\"", 1455), Tuple.Create("\"", 1505)
#line 30 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
, Tuple.Create(Tuple.Create("", 1462), Tuple.Create<System.Object, System.Int32>(Html.Raw(page.GetSortUrl("CreateAddress"))
#line default
#line hidden
, 1462), false)
);
WriteLiteral(">物理地址</a></th>\r\n <th");
WriteLiteral(" class=\"text-center\"");
WriteLiteral(" style=\"min-width:134px;\"");
WriteLiteral("><a");
WriteAttribute("href", Tuple.Create(" href=\"", 1585), Tuple.Create("\"", 1632)
#line 31 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
, Tuple.Create(Tuple.Create("", 1592), Tuple.Create<System.Object, System.Int32>(Html.Raw(page.GetSortUrl("CreateTime"))
#line default
#line hidden
, 1592), false)
);
WriteLiteral(">时间</a></th>\r\n");
#line 32 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
#line default
#line hidden
#line 32 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
if (this.Has(PermissionFlags.Detail))
{
#line default
#line hidden
WriteLiteral(" <th");
WriteLiteral(" class=\"text-center\"");
WriteLiteral(" style=\"min-width:100px;\"");
WriteLiteral(">操作</th>\r\n");
#line 35 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
}
#line default
#line hidden
WriteLiteral(" </tr>\r\n </thead>\r\n <tbody>\r\n");
#line 39 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
#line default
#line hidden
#line 39 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
foreach (var entity in Model)
{
#line default
#line hidden
WriteLiteral(" <tr>\r\n");
#line 42 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
#line default
#line hidden
#line 42 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
if (enableSelect)
{
#line default
#line hidden
WriteLiteral(" <td");
WriteLiteral(" class=\"text-center\"");
WriteLiteral("><input");
WriteLiteral(" type=\"checkbox\"");
WriteLiteral(" name=\"keys\"");
WriteAttribute("value", Tuple.Create(" value=\"", 2047), Tuple.Create("\"", 2065)
#line 44 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
, Tuple.Create(Tuple.Create("", 2055), Tuple.Create<System.Object, System.Int32>(entity.ID
#line default
#line hidden
, 2055), false)
);
WriteLiteral(" /></td>\r\n");
#line 45 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
}
#line default
#line hidden
WriteLiteral(" <td");
WriteLiteral(" class=\"text-center hidden-md hidden-sm hidden-xs\"");
WriteLiteral(">");
#line 46 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
Write(entity.ID);
#line default
#line hidden
WriteLiteral("</td>\r\n <td>");
#line 47 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
Write(entity.Category);
#line default
#line hidden
WriteLiteral("</td>\r\n <td>");
#line 48 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
Write(entity.Action);
#line default
#line hidden
WriteLiteral("</td>\r\n <td");
WriteLiteral(" style=\"max-width:600px;overflow:hidden;white-space: nowrap;text-overflow: ellips" +
"is;\"");
WriteAttribute("title", Tuple.Create(" title=\"", 2370), Tuple.Create("\"", 2392)
#line 49 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
, Tuple.Create(Tuple.Create("", 2378), Tuple.Create<System.Object, System.Int32>(entity.Remark
#line default
#line hidden
, 2378), false)
);
WriteLiteral(">");
#line 49 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
Write(entity.Remark);
#line default
#line hidden
WriteLiteral("</td>\r\n <td");
WriteLiteral(" class=\"text-right\"");
WriteLiteral(">");
#line 50 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
Write(entity.LinkID.ToString("n0"));
#line default
#line hidden
WriteLiteral("</td>\r\n <td>");
#line 51 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
Write(entity.UserName);
#line default
#line hidden
WriteLiteral("</td>\r\n <td>");
#line 52 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
Write(entity.CreateIP);
#line default
#line hidden
WriteLiteral("</td>\r\n <td>");
#line 53 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
Write(entity.CreateIP.IPToAddress());
#line default
#line hidden
WriteLiteral("</td>\r\n <td");
WriteLiteral(" class=\"text-center\"");
WriteLiteral(" style=\"max-width:150px\"");
WriteLiteral(">");
#line 54 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
Write(entity.CreateTime.ToFullString(""));
#line default
#line hidden
WriteLiteral("</td>\r\n");
#line 55 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
#line default
#line hidden
#line 55 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
if (this.Has(PermissionFlags.Detail))
{
#line default
#line hidden
WriteLiteral(" <td");
WriteLiteral(" class=\"text-center\"");
WriteLiteral(" style=\"width: 90px;\"");
WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 58 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
Write(Html.Partial("_List_Data_Action", (Object)entity));
#line default
#line hidden
WriteLiteral("\r\n </td>\r\n");
#line 60 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
}
#line default
#line hidden
WriteLiteral(" </tr>\r\n");
#line 62 "..\..\Areas\Admin\Views\Log\_List_Data.cshtml"
}
#line default
#line hidden
WriteLiteral(" </tbody>\r\n</table>");
}
}
}
#pragma warning restore 1591
|