<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  class="table table-bordered" id="tb_list">
        <thead>
            <tr>
                <td style="width:40px"><input type="checkbox" title="选择" class="ui-selectInvert" data-custom-params="isReverse:false"></td>
                <td align="center">名称</td>
                <td align="center">创建日期</td>
                <td align="center">大小</td>
                <td align="center">管理</td>
            </tr>
        </thead>
            <tr class="item template-item" id="item_{id}">
                <td align="center">
                    <input type="checkbox" value="{id}" class="checked-item">
                </td>
                <td align=left>{Name}</td>
                <td width="40%">{CreationTime}</td>
                <td align="center">{Length}</td>
                <td align="center">
                    <input type="hidden" name="absolutepath" value="{Name}">
                    <input type="hidden" name="path"  value="" />
                    <input type="hidden" name="name" value="{Name}" />
                    <input type="hidden" name="type" value="{Type}" />
                    <div class="btn-group btn-group-sm">
                        <a href="javascript:void(0)" class="btn btn-default btn-sm ui-dialog" data-custom-params="title:'查看',url:'@Url.Action("Edit")?path=@ViewBag.CurrentPath&name={Name}',width:'90%',height:'90%'">查看</a>
                        <a href="javascript:void(0)" class="btn btn-default btn-sm ui-deleteSingle" data-custom-params="url:'@Url.Action("Delete")'">删除</a>
                    </div>
                </td>
            </tr>
</table>
</div>
<script type="text/javascript">
    function LoadData() {
        var url = "@Url.Action("PageListData")";
        $("#tb_list").ListBind({url: url, callBack: "LoadedInit" });
    }
    LoadData();
</script>




