<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
						<!-- table开始 -->
                        <table class="table table-hover">
                            <thead>
	                            <tr>
						            <th>类别名称</th>
									<th>类别值</th>
									<th>类别说明</th>
									<th>状态</th>
									<th>操作</th>
						        </tr>
                            </thead>
                            <tbody class="main_data_dict">
                            	<c:forEach items="${list.dataList}" var="dictionary">
                            		<tr>
                            			<td>${dictionary.dictname }</td>
                            			<td>${dictionary.dictvalue }</td>
                            			<td>${dictionary.dictmemo }</td>
                            			<td class="const_status_${dictionary.dictid }">
                            				<c:choose>
	                            				<c:when test="${dictionary.isactive }">
	                            					<i class="fa fa-check text-navy"></i>	
	                            				</c:when>
	                            				<c:otherwise>
	                            					<i class="fa fa-minus text-danger"></i>
	                            				</c:otherwise>
                            				</c:choose>
                            			</td>
                            			<td>
                            				<div class="dropdown">
	                            				<a data-toggle="dropdown" class="dropdown-toggle" href="#">
							                    	<span class="text-muted text-xs block">操作 <b class="caret"></b></span>
							                    </a>
						                        
						                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
						                            <li><a href="dictionaryEdit?dictid=${dictionary.dictid}">编辑</a></li>
						                            <li>
						                            	<a href="javascript:void(0);" class="op_enable" dictid="${dictionary.dictid }" >
						                            		<c:choose>
						                            			<c:when test="${dictionary.isactive}">
				                            						反激活
				                            					</c:when>
				                            					<c:otherwise>
					                            					激活
					                            				</c:otherwise>
						                            		</c:choose>	
						                            	</a>
						                            </li>
							                    </ul>
						                        
                							</div>
                            			</td>
                            		</tr>
                            	</c:forEach>
                            </tbody>
                        </table>
                        <!-- table结束 -->
                        <%@include file="/WEB-INF/views/page2.jsp" %>