httpheader.jspf revision 838924562130977ca1a3d3839d146fcda39ea1af
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco<%--
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco$Id$
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos KoscoCDDL HEADER START
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos KoscoThe contents of this file are subject to the terms of the
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos KoscoCommon Development and Distribution License (the "License").
e94351dfdca192305581a6c67c7e45e3f86db967Lubos KoscoYou may not use this file except in compliance with the License.
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos KoscoSee LICENSE.txt included in this distribution for the specific
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Koscolanguage governing permissions and limitations under the License.
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco
362770187d4d72fd9b70bb1106899d71e03722cbLubos KoscoWhen distributing Covered Code, include this CDDL HEADER in each
362770187d4d72fd9b70bb1106899d71e03722cbLubos Koscofile and include the License file at LICENSE.txt.
362770187d4d72fd9b70bb1106899d71e03722cbLubos KoscoIf applicable, add the following below this CDDL HEADER, with the
362770187d4d72fd9b70bb1106899d71e03722cbLubos Koscofields enclosed by brackets "[]" replaced with your own identifying
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Koscoinformation: Portions Copyright [yyyy] [name of copyright owner]
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco
34ce5c2f0e9b0f6bf05895501c9f7171d4a5bab7Lubos KoscoCDDL HEADER END
34ce5c2f0e9b0f6bf05895501c9f7171d4a5bab7Lubos Kosco
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos KoscoCopyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos KoscoPortions Copyright 2011 Jens Elkner.
--%><%--
All pages, which include this fragment should use the following code snippet
to set the title of the document before the include directive for this fragment:
<pre>
cfg = PageConfig.get(request);
cfg.setTitle("your title");
</pre>
--%><%@page import="org.opensolaris.opengrok.web.Prefix"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="
org.opensolaris.opengrok.Info,
org.opensolaris.opengrok.web.PageConfig"
%><%@
include file="pageconfig.jspf"
%><%
/* ---------------------- httpheader.jsp start --------------------- */
{
cfg = PageConfig.get(request);
String styleDir = cfg.getCssDir();
String ctxPath = request.getContextPath();
String dstyle = styleDir + '/' + "style.css";
String pstyle = styleDir + '/' + "print.css";
%><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="robots" content="noindex,nofollow" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="generator" content="{OpenGrok <%=Info.getVersion()%> (<%=Info.getRevision()%>)" />
<link rel="icon" href="<%=styleDir%>/img/icon.png" type="image/png" />
<link rel="stylesheet" type="text/css" media="all"
title="Default" href="<%= dstyle %>" />
<link rel="alternate stylesheet" type="text/css" media="all"
title="Paper White" href="<%= pstyle %>" />
<link rel="stylesheet" type="text/css" href="<%=styleDir%>/print.css" media="print" />
<link rel="stylesheet" type="text/css" href="<%=styleDir%>/jquery-ui-1.12.0-custom.min.css" />
<link rel="stylesheet" type="text/css" href="<%=styleDir%>/jquery.tooltip.css" />
<link rel="stylesheet" type="text/css" href="<%=styleDir%>/jquery.tablesorter.css" />
<link rel="stylesheet" type="text/css" href="<%=styleDir%>/searchable-option-list-2.0.2.min.css" />
<%-- TODO Bug 11749
<link rel="stylesheet" type="text/css" href="<%=styleDir%>/jquery.autocomplete.css" />
<link rel="stylesheet" type="text/css" href="<%=styleDir%>/jquery.combo.css%>" />
--%>
<%
if (cfg.getPrefix().equals(Prefix.HIST_L)) {
out.write("<link rel=\"alternate\" type=\"application/rss+xml\" " +
"title=\"RSS feed for " + cfg.getPath() + "\" " +
"href=\"" + ctxPath + Prefix.RSS_P + cfg.getPath() + "\" />");
}
%>
<link rel="search" href="<%=ctxPath%>/opensearch"
type="application/opensearchdescription+xml"
title="OpenGrok Search for current project(s)" />
<script type="text/javascript">/* <![CDATA[ */
window.contextPath = '<%= ctxPath %>';
/* ]]> */
</script>
<script type="text/javascript" src="<%=ctxPath%>/js/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="<%=ctxPath%>/js/jquery-ui-1.12.0-custom.min.js"></script>
<script type="text/javascript" src="<%=ctxPath%>/js/jquery.tablesorter-2.26.6.min.js"></script>
<script type="text/javascript" src="<%=ctxPath%>/js/tablesorter.parsers.js"></script>
<script type="text/javascript" src="<%=ctxPath%>/js/searchable-option-list-2.0.2.min.js"></script>
<%--<script type="text/javascript" src="<%=ctxPath%>/js/jquery.autocomplete-1.1.pack.js"></script> --%>
<script type="text/javascript" src="<%=ctxPath%>/js/utils.js"></script>
<title><%=cfg.getTitle()%></title><%
out.write(cfg.getHeaderData());
%>
</head><%
}
/* ---------------------- httpheader.jsp end --------------------- */
%>