1 Star 0 Fork 445

hexiangyun / arkui_ace_engine_lite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
httpheader.jspf 3.66 KB
一键复制 编辑 原始数据 按行查看 历史
hexiangyun 提交于 2022-10-18 06:11 . CI测试,请勿合入!!!
<%--
$Id$
CDDL HEADER START
The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.
See LICENSE.txt included in this distribution for the specific
language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at LICENSE.txt.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]
CDDL HEADER END
Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
Portions 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"
%><%
/* ---------------------- httpheader.jsp start --------------------- */
{
PageConfig 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 %>';
document.xrefPath = '<%= request.getContextPath() + Prefix.XREF_P %>';
document.pageReady = [];
document.domReady = [];
/* ]]> */
</script>
<title><%=cfg.getTitle()%></title><%
out.write(cfg.getHeaderData());
%>
</head><%
}
/* ---------------------- httpheader.jsp end --------------------- */
%>
C++
1
https://gitee.com/hexiangyun/arkui_ace_engine_lite.git
git@gitee.com:hexiangyun/arkui_ace_engine_lite.git
hexiangyun
arkui_ace_engine_lite
arkui_ace_engine_lite
master

搜索帮助