<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<%@include file="/WEB-INF/navigation/JsAndCss.jsp"%>
<script src="/js/quant.js"></script>
		<script type="text/javascript">
            //显示详细信息
            function showDetail(flag, a) {
                var detailDiv0= a.getElementsByTagName("div")[0];
                var detailDiv1= a.getElementsByTagName("div")[1];
                if (flag) {
                    detailDiv1.style.display = "block";
                    detailDiv0.style.display = "none";
                }
                else
                    detailDiv1.style.display = "none";
                    detailDiv0.style.display = "block";
                }
         </script>
<style type="text/css">
.current_page {
	border: solid 1px;
	padding: 0 3px;
}
div.summary
{
    cursor: default;
    color: gray;
    font-weight: bold;
    display: block;
    width: 100%;
    line-height: 100%;
}
  div.detail_info
          {
                   position: absolute;
                   z-index: 1000;
                   max-width: 545px;
                   min-height: 40px;
                   display: none;
                   padding: 2px;
                   overflow: visible;
                   text-align: left;
                   background-color: #efeff4;
         }
         
</style>
</head>
<body>
	<div class="container">
		<div class="navbar">
			<div class="navbar-inner">
				<%@include file="../navigation/menu.jsp"%>
			</div>
		</div>
		<div class="row">
			<%@include file="../navigation/navigation.jsp"%>
			<div class="span9">
				<h1>基金经理列表</h1>
				<table class="table table-bordered table-striped">
					<thead>
						<tr>
							<th>姓名</th>
							<th>基本介绍</th>
							<th>所属公司</th>
							<th>操作</th>

						</tr>
					</thead>
					<tbody>
						<c:forEach items="${managers }" var="manager">
							<tr>
								<td>${manager.realName }</td>
								<td  onmouseover="showDetail(true,this);" onmouseout="showDetail(false,this);">
								     <div class="summary">${manager.managerIntroduction.substring(0,20)}...</div>
								    <div class="detail_info">
                                     ${manager.managerIntroduction}
								    </div>
								</td>
								<td>${manager.shorterName }</td>
								<td class="td_modi"><a
									href="toModifyManager.do?managerId=${manager.managerId}">编辑</a>
								</td>

							</tr>
						</c:forEach>
						<tr>
							<td colspan="4"><%@include file="../navigation/page.jsp"%>
							</td>
						</tr>

					</tbody>
				</table>
				<a class="toggle-link" href="toAddManager.do"><i
					class="icon-plus"></i>添加基金经理</a>

			</div>
		</div>
	</div>

</body>
</html>
