@model  string


<div class="current-location">
    <ul>
        <li class="left"><i class="glyphicon glyphicon-home"></i><a href="javascript:void(0)" onclick="location.href=location.href">信息日志</a></li>
        <li class="right"><a href="javascript:void(0)" onclick="LoadData()" title="刷新"><span class="glyphicon glyphicon-refresh"></span></a></li>
    </ul>
</div>
<div class="main">
    <ul class="clearfix">
        <li class="left">
            <div class="btn-group left">
                <button type="button" class="btn btn-default btn-sm ui-selectInvert">反选</button>
                <button type="button" class="btn btn-default dropdown-toggle btn-sm" data-toggle="dropdown" aria-expanded="false">
                    菜单
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu" role="menu">
                    <li><a href="javascript:void(0)" class="ui-deleteMultiple" data-custom-params="url:'@Url.Action("DeleteList")'">删除</a></li>
                </ul>
            </div>
        </li>
    </ul>
    <span class="help-block"></span>
    <table border=0 cellpadding=0 cellspacing=0 width=100% class="table table-bordered">
        <thead><tr>
            <td align="center"  style="width:40px">选择</td>
            <td align="center">名称</td>
            <td align="center" width="40%">修改日期</td>
            <td align="center">类型</td>
            <td align="center">大小</td>
            <td align="center">管理</td>
        </tr>

        <tr class="item" id="item_{id}">
            <td align="center" width="30px">
                <input type="checkbox" id="id" name="id" value="{id}">
                <input type="hidden" id="absolutepath" name="absolutepath" value="{Name}">
            </td>
            <td align=left>{Name}</td>
            <td width="40%">{CreationTime}</td>
            <td align="center">{Type}</td>
            <td align="center">{Length}</td>
            <td align="center">
                <div class="btn-group btn-group-sm">
                    <a href="javascript:void(0)" class="btn btn-default btn-sm ui-dialog" data-custom-params="title: '查看-{Name}', url:'/e/Logs/Informationlog/{Name}', width: '80%', height: '80%',target: '_self'">查看</a>
                    <a href="javascript:void(0)" class="btn btn-default btn-sm ui-deleteSingle" data-custom-params="url:'@Url.Action("Delete")',addParams:'name={Name}'">删除</a>
                </div>
            </td>
        </tr>

    </table>
    <div class="pagearea ui-pagePanel" data-custom-params="@Html.Raw(ViewBag.PageInfo)"></div>
</div>
<script type="text/javascript">
    var serverData =@Html.Raw(Model??"null");
    for (var key in serverData) {
        if (serverData[key].Type == "file") {
            serverData[key].Type="文件"
        }
    }
    $(".item").ListBind(serverData);
</script>




