blob: 84ece889b513d4c3d613950008e45f4c2d8abf5e [file] [log] [blame]
<%--
~ Copyright (c) 2017 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License"); you
~ may not use this file except in compliance with the License. You may
~ obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
~ implied. See the License for the specific language governing
~ permissions and limitations under the License.
--%>
<%@ page contentType='text/html;charset=UTF-8' language='java' %>
<%@ taglib prefix='fn' uri='http://java.sun.com/jsp/jstl/functions' %>
<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core'%>
<html>
<link rel='stylesheet' href='/css/show_test_acknowledgments.css'>
<link rel='stylesheet' href='/css/test_acknowledgments.css'>
<%@ include file='header.jsp' %>
<script src='js/test_acknowledgments.js'></script>
<script>
$(document).ready(function() {
$('#favoritesLink').click(function() {
window.open('/', '_self');
});
$('#allLink').click(function() {
window.open('/?showAll=true', '_self');
});
var acks = $('#acknowledgments').testAcknowledgments(
${allTests}, ${branches}, ${devices}, ${testAcknowledgments}, ${readOnly});
});
</script>
<body>
<div class='container wide'>
<div class='row home-tabs-row'>
<div class='col s12'>
<ul class='tabs'>
<li class='tab col s4' id='favoritesLink'><a>Favorites</a></li>
<li class='tab col s4' id='allLink'><a>All Tests</a></li>
<li class='tab col s4'><a class='active'>Test Acknowledgements</a></li>
</ul>
</div>
</div>
<div class='row' id='acknowledgments'></div>
</div>
<%@ include file='footer.jsp' %>
</body>
</html>