Home | History | Annotate | Download | only in jsp
      1 <%--
      2   ~ Copyright (c) 2017 The Android Open Source Project
      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   <link rel='stylesheet' href='/css/show_test_acknowledgments.css'>
     22   <link rel='stylesheet' href='/css/test_acknowledgments.css'>
     23   <%@ include file='header.jsp' %>
     24   <script src='js/test_acknowledgments.js'></script>
     25   <script>
     26     $(document).ready(function() {
     27       $('#favoritesLink').click(function() {
     28         window.open('/', '_self');
     29       });
     30       $('#allLink').click(function() {
     31         window.open('/?showAll=true', '_self');
     32       });
     33       var acks = $('#acknowledgments').testAcknowledgments(
     34         ${allTests}, ${branches}, ${devices}, ${testAcknowledgments}, ${readOnly});
     35     });
     36   </script>
     37   <body>
     38     <div class='container wide'>
     39       <div class='row home-tabs-row'>
     40         <div class='col s12'>
     41           <ul class='tabs'>
     42             <li class='tab col s4' id='favoritesLink'><a>Favorites</a></li>
     43             <li class='tab col s4' id='allLink'><a>All Tests</a></li>
     44             <li class='tab col s4'><a class='active'>Test Acknowledgements</a></li>
     45           </ul>
     46         </div>
     47       </div>
     48       <div class='row' id='acknowledgments'></div>
     49     </div>
     50     <%@ include file='footer.jsp' %>
     51   </body>
     52 </html>
     53