Home | History | Annotate | Download | only in jsp
      1 <%--
      2   ~ Copyright (c) 2018 Google Inc. All Rights Reserved.
      3   ~
      4   ~ Licensed under the Apache License, Version 2.0 (the "License"); you
      5   ~ may not use this file except in compliance with the License. You may
      6   ~ obtain a copy of the License at
      7   ~
      8   ~     http://www.apache.org/licenses/LICENSE-2.0
      9   ~
     10   ~ Unless required by applicable law or agreed to in writing, software
     11   ~ distributed under the License is distributed on an "AS IS" BASIS,
     12   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
     13   ~ implied. See the License for the specific language governing
     14   ~ permissions and limitations under the License.
     15   --%>
     16 <%@ page contentType='text/html;charset=UTF-8' language='java' %>
     17 <%@ taglib prefix='fn' uri='http://java.sun.com/jsp/jstl/functions' %>
     18 <%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core'%>
     19 
     20 <html>
     21   <%@ include file="header.jsp" %>
     22   <link rel='stylesheet' href='/css/show_plan_release.css'>
     23   <link rel='stylesheet' href='/css/plan_runs.css'>
     24   <link rel='stylesheet' href='/css/search_header.css'>
     25   <script src='https://www.gstatic.com/external_hosted/moment/min/moment-with-locales.min.js'></script>
     26   <script src='js/time.js'></script>
     27   <script src='js/plan_runs.js'></script>
     28   <script src='js/search_header.js'></script>
     29   <script type='text/javascript'>
     30       var search;
     31       $(document).ready(function() {
     32 
     33       });
     34   </script>
     35 
     36   <body>
     37     <div class='wide container'>
     38       <div class='row' id='release-container'>
     39         <h3>Directory List</h3>
     40         <c:forEach varStatus="dirLoop" var="dirName" items="${dirList}">
     41           <p>
     42             <a href="${requestScope['javax.servlet.forward.servlet_path']}?path=${dirName}">
     43               <c:out value="${dirName}"></c:out>
     44                 <c:if test="${dirLoop.first && path ne '/'}">
     45                     (Move to Parent)
     46                 </c:if>
     47             </a>
     48           </p>
     49           <c:if test="${!dirLoop.last}">
     50           </c:if>
     51         </c:forEach>
     52         <hr/>
     53         <h5>Current Directory Path : ${path}</h5>
     54         <hr/>
     55         <h3>File List</h3>
     56         <c:forEach varStatus="fileLoop" var="fileName" items="${fileList}">
     57           <p>
     58             <a href="${requestScope['javax.servlet.forward.servlet_path']}?path=${fileName}">
     59               <c:out value="${fileName}"></c:out>
     60             </a>
     61           </p>
     62           <c:if test="${!fileLoop.last}">
     63           </c:if>
     64         </c:forEach>
     65       </div>
     66     </div>
     67     <%@ include file="footer.jsp" %>
     68   </body>
     69 </html>
     70