• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<%--
2  ~ Copyright (c) 2017 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="c" uri="http://java.sun.com/jsp/jstl/core" %>
18
19<head>
20  <link rel='stylesheet' href='/css/navbar.css'>
21  <link rel='stylesheet' href='/css/common.css'>
22  <link rel='stylesheet' href='https://www.gstatic.com/external_hosted/materialize/all_styles-bundle.css'>
23  <link rel='icon' href='https://www.gstatic.com/images/branding/googleg/1x/googleg_standard_color_32dp.png' sizes='32x32'>
24  <link rel='stylesheet' href='https://fonts.googleapis.com/icon?family=Material+Icons'>
25  <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700'>
26  <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
27  <script src='https://www.gstatic.com/external_hosted/materialize/materialize.min.js'></script>
28  <script type='text/javascript'>
29    if (${analyticsID}) {
30        // Autogenerated from Google Analytics
31        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
32            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
33            m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
34        })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
35        ga('create', ${analyticsID}, 'auto');
36        ga('send', 'pageview');
37    }
38    links = ${navbarLinksJson};
39  </script>
40  <title>VTS Dashboard</title>
41</head>
42<body>
43  <nav id='navbar'>
44    <div class='nav-wrapper'>
45      <span>
46        <c:forEach items='${navbarLinks}' var='link'>
47          <a href='${link[0]}' class='breadcrumb'>${link[1]}</a>
48        </c:forEach>
49      </span>
50      <ul class='right'><li>
51        <a id='dropdown-button' class='dropdown-button btn red lighten-3' href='#' data-activates='dropdown'>
52          ${email}
53        </a>
54      </li></ul>
55      <ul id='dropdown' class='dropdown-content'>
56        <li><a href='${logoutURL}'>Log out</a></li>
57      </ul>
58      </div>
59    </div>
60  </nav>
61</body>
62