<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<%@ include file="../../../common/head.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link href="../res/css/plugins/bootstrap-table/bootstrap-table.min.css"
	rel="stylesheet" />
<script src="../res/js/plugins/bootstrap-table/bootstrap-table.js"
	type="text/javascript"></script>
<script
	src="../res/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"
	type="text/javascript"></script>
<script
	src="../res/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"
	type="text/javascript"></script>
<script>
	    function setCompel(value,row,index){
	    	if(value){
	    		return "启用";
	    	}else{
	    		return "禁用";
	    	}
		}
    </script>
</head>

<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<!--           <div class="ibox " style=""> -->
		<!--               <div class="ibox-content"> -->
		<div class="row row-lg">
			<div class="col-sm-12">
				<cs:toolbar title="版本" tableId="tab_version" width="768px"
					height="460px" menuCode="188">
				</cs:toolbar>
				<table id="tab_version" data-toggle="table"
					data-url="<%=basePath%>version/list2.cs" data-method="get"
					data-click-to-select="true" data-pagination="true"
					data-search="false" data-data-type="json" data-show-refresh="true"
					data-show-columns="true" data-show-toggle="true"
					data-search-on-enter-key="true" data-toolbar="#def_toolbar"
					data-side-pagination="server" data-query-params="queryParams"
					data-mobile-responsive="true">
					<thead>
						<tr>
							<th data-radio="true" data-click-to-select="true"></th>
							<th data-field="plat">平台</th>
							<th data-field="version">版本号</th>
							<th data-field="compel" data-formatter="setCompel">强制更新</th>
							<th data-field="remark">版本内容</th>
							<th data-field="url">下载地址</th>
							<!-- 		                              <th data-formatter="test">操作</th> -->
						</tr>
					</thead>
				</table>

			</div>

		</div>

		<!--               </div> -->
		<!--           </div> -->
	</div>


</body>

</html>
