@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">
    <table border=0 cellpadding=0 cellspacing=0 class="tb-head form-inline form-group-sm">
        <tr>
            <td align="left">
                <div class="btn-group btn-group-sm">
                    <button type="button" class="btn btn-default ui-selectInvert">反选</button>
                    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                        菜单
                        <span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu pull-left" role="menu">
                        <li><a href="javascript:void(0)" class="ui-deleteMultiple" data-custom-params="url:'@Url.ActionUrl("Delete")',callBack:'LoadData'">删除</a></li>
                    </ul>
                </div>
            </td>
        </tr>
    </table>

    <table border=0 cellpadding=0 cellspacing=0 class="table table-bordered" id="tb_list">
        <thead>
            <tr>
                <td align="center" style="width:40px"><input type="checkbox" title="选择" class="ui-selectInvert" data-custom-params="isReverse:false"></td>
                <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" class="checked-item" value="{id}">
                    <input type="hidden" name="name" id="name" value="{name}" />
                </td>
                <td align=left>{name}</td>
                <td align="center">{value}</td>
            </tr>
</table>
</div>
<script type="text/javascript">
    //绑定数据
    function LoadData()
    {
        var url = "@Url.ActionUrl("PageListData")";
        $("#tb_list").ListBind({url:url});
    }
    LoadData();
</script>


