@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">http缓存方案</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">
    <table class="tb-head" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td class="btn-group">
                <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-dialog" data-custom-params="title:'添加', url:'@Url.Action("Add")'">添加</a>
                    </li>
                    <li class="divider"></li>
                    <li><a href="javascript:void(0)" class="ui-deleteMultiple" data-custom-params="url:'@Url.Action("Delete")',callBack:'LoadData'">删除</a></li>
                </ul>
            </td>
        </tr>
    </table>
    <table border=0 cellpadding=0 cellspacing=0 width=100% class="table table-bordered" id="tb_list">
        <thead>
            <tr>
                <td align="center" rowspan="2" style="width:40px"><input type="checkbox" title="选择" class="ui-selectInvert" data-custom-params="isReverse:false"></td>
                <td align="center" rowspan="2">id</td>
                <td align="center" rowspan="2">名称</td>
                <td align="center" rowspan="1" colspan="2">缓存分钟</td>
                <td align="center" rowspan="2">最大列表页码</td>
                <td align="center" rowspan="2">排除参数</td>
                <td align="center" rowspan="2">排除关键词</td>
                <td align="center" rowspan="2">操作</td>
            </tr>
            <tr>
                <td align="center">栏目页</td>
                <td align="center">信息页</td>
            </tr>
        </thead>
            <tr class="item list-template-item" id="item_{id}">
                <td align="center"><input type="checkbox" value="{id}" class="checked-item"></td>
                <td align="center">{id}</td>
                <td align="center">{name}</td>
                <td align="center">{columnCacheMinutes}分钟</td>
                <td align="center">{detailCacheMinutes}分钟</td>
                <td align="center">{cacheMaxPage}</td>
                <td align="center">{nocacheUrlParams}</td>
                <td align="center">{nocacheUrlKeywords}</td>
                <td align="center">
                    <input type="hidden" name="id" value="{id}" />
                    <div class="btn-group btn-group-sm">
                        <button class="btn btn-default btn-sm ui-dialog" data-custom-params="title: '{name}-修改', url:'@Url.Action("Edit")?id={id}'">修改</button>
                        <button type="button" data-custom-params="url:'@Url.Action("Delete")',callBack:'LoadData'" class="btn btn-default btn-sm ui-deleteSingle btn_delete_{is_sys}">删除</button>
                    </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>