<%
DIRECTIVE SAFE_OUTPUT_OPEN;
%>
<meta charset="utf-8" />
<link href="${ctxPath}/static/css/common_style.css" rel="stylesheet">
<script src="${ctxPath}/static/js/common.js"></script>
<script src="${ctxPath}/static/js/common_fun.js"></script>
<script src="${ctxPath}/community/build/js/build_list.js"></script>

<div id="buildListTableDiv" class="my-table">
	<table class="table table-striped table-hover my-table-head">
		<thead>
			<tr style="min-height:40px;">
				<th class="no-border"><input type="checkbox" name="selectAll" style="margin-right:4px;">全选</th>
			    <th>所属小区</th>
			    <th>楼栋名</th>
			   	<th>楼栋编号</th>
			   	<th>
			   		<span>地址</span>
			   		<div class="opt">
					    <a href="#" id="add_btn" data-toggle="modal" data-target="#adddy-modal"><img  src="${ctxPath}/static/images/btn_add_icon.png" alt="添加数据" /></a>
						<a href="#" id="remove_btn"><img src="${ctxPath}/static/images/btn_remove_icon.png" alt="删除数据"  /></a>
					</div>
			   	</th>
			</tr>
		</thead>
	</table>
	<div class="scroll-pane">
		<table class="table table-striped table-hover my-table-body">
			<tbody>
				<%for(build in pageList){%>
				<tr>
					<td class="text-center no-border"><input type="checkbox" name="build.id" value="${build.id}"></td>
		   			<td>${build.communityName}</td>
		   			<td>${build.name}</td>
				   	<td>${build.num}</td>
				   	<td>${build.address}</td>
				</tr>
				<%}%>
			</tbody>
		</table>
	</div>
	<table class="table table-striped table-hover my-table-foot">
		<tfoot>
			<tr style="min-height:40px;">
				<td>
					<!-- 分页条 -->
					<% include("/community/common/view/paging.html"){} %>
				</td>
			</tr>
		</tfoot>
	</table>
</div>
<%
DIRECTIVE SAFE_OUTPUT_CLOSE;
%>