<%@include file="/WEB-INF/common/layouts/common.jsp" %>
<%@ page language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>我的驻场项目</title>
    <style>
        .btn-middle {
            padding: 0;
        }
    </style>
</head>
<body>

<body style="padding: 20px;">
<!-- <div class = "container" style="width: 1200px;">  -->
<div class="form-horizontal house365Page">
    <div class="house365Border">
        <div class="sectionTitle">
            <h5>我的驻场项目</h5>
        </div>
        <div class="container" style="width: 1200px;">
            <ul class="thumbnails">
                <c:forEach items="${projects}" var="project">
                    <li class="span3">
                        <div class="thumbnail">
                            <img src="${ctx}/resources/img/default.jpg" alt="">
                            <h4 style="text-align:center;">${project.projectName}</h4>
                            <div>
                                <div class="btn-group" style="width:100%;">
                                    <button class="btn btn-middle" style="width:34%;"
                                            onclick="window.open('${ctx}/customer/myRecordedCustomer?projectId=${project.id}','_blank')">
                                        客户列表
                                    </button>
                                    <button class="btn btn-middle" style="width:34%;"
                                            onclick="window.open('${ctx}/project/detail/${project.id}','_blank')">项目详情
                                    </button>
                                    <button class="btn btn-middle" style="width:33%;"
                                            onclick="window.open('${ctx}/project/attachments?projectId=${project.id}&number=1','_blank')">
                                        项目图片
                                    </button>
                                </div>
                            </div>
                        </div>
                    </li>
                </c:forEach>
                <%--  <li class="span3">
                   <div class="thumbnail">
                     <img src="${ctx}/resources/img/default.jpg" alt="">
                     <h3 style="text-align:center;">美麟香漫山<!-- <span class="label  label-default"></span> --></h3>
                     <div>
                         <div class="btn-group" style="width:100%;">
                             <button class="btn btn-middle" style="width:50%;">约看客户列表</button>
                             <button class="btn btn-middle" style="width:50%;">项目详情</button>
                         </div>
                     </div>
                   </div>
                 </li>
                  <li class="span3">
                   <div class="thumbnail">
                     <img src="${ctx}/resources/img/default.jpg" alt="">
                     <h3 style="text-align:center;">美麟香漫山<!-- <span class="label  label-default"></span> --></h3>
                     <div>
                         <div class="btn-group" style="width:100%;">
                             <button class="btn btn-middle" style="width:50%;">约看客户列表</button>
                             <button class="btn btn-middle" style="width:50%;">项目详情</button>
                         </div>
                     </div>
                   </div>
                 </li>
                  <li class="span3">
                   <div class="thumbnail">
                     <img src="${ctx}/resources/img/default.jpg" alt="">
                     <h3 style="text-align:center;">美麟香漫山<!-- <span class="label  label-default"></span> --></h3>
                     <div>
                         <div class="btn-group" style="width:100%;">
                             <button class="btn btn-middle" style="width:50%;">约看客户列表</button>
                             <button class="btn btn-middle" style="width:50%;">项目详情</button>
                         </div>
                     </div>
                   </div>
                 </li>
                  <li class="span3">
                   <div class="thumbnail">
                     <img src="${ctx}/resources/img/default.jpg" alt="">
                     <h3 style="text-align:center;">美麟香漫山<!-- <span class="label  label-default"></span> --></h3>
                     <div>
                         <div class="btn-group" style="width:100%;">
                             <button class="btn btn-middle" style="width:50%;">约看客户列表</button>
                             <button class="btn btn-middle" style="width:50%;">项目详情</button>
                         </div>
                     </div>
                   </div>
                 </li>
                  <li class="span3">
                   <div class="thumbnail">
                     <img src="${ctx}/resources/img/default.jpg" alt="">
                     <h3 style="text-align:center;">美麟香漫山<!-- <span class="label  label-default"></span> --></h3>
                     <div>
                         <div class="btn-group" style="width:100%;">
                             <button class="btn btn-middle" style="width:50%;">约看客户列表</button>
                             <button class="btn btn-middle" style="width:50%;">项目详情</button>
                         </div>
                     </div>
                   </div>
                 </li>
                  <li class="span3">
                   <div class="thumbnail">
                     <img src="${ctx}/resources/img/default.jpg" alt="">
                     <h3 style="text-align:center;">美麟香漫山<!-- <span class="label  label-default"></span> --></h3>
                     <div>
                         <div class="btn-group" style="width:100%;">
                             <button class="btn btn-middle" style="width:50%;">约看客户列表</button>
                             <button class="btn btn-middle" style="width:50%;">项目详情</button>
                         </div>
                     </div>
                   </div>
                 </li> --%>
            </ul>
        </div>
    </div>
</div>
</body>
<script type="text/javascript">
</script>
</body>
</html>
