status.jsp revision 1186
321N/A<%--
321N/A$Id$
1276N/A
321N/ACDDL HEADER START
1276N/A
321N/AThe contents of this file are subject to the terms of the
321N/ACommon Development and Distribution License (the "License").
919N/AYou may not use this file except in compliance with the License.
919N/A
919N/ASee LICENSE.txt included in this distribution for the specific
919N/Alanguage governing permissions and limitations under the License.
919N/A
919N/AWhen distributing Covered Code, include this CDDL HEADER in each
919N/Afile and include the License file at LICENSE.txt.
919N/AIf applicable, add the following below this CDDL HEADER, with the
919N/Afields enclosed by brackets "[]" replaced with your own identifying
919N/Ainformation: Portions Copyright [yyyy] [name of copyright owner]
919N/A
919N/ACDDL HEADER END
919N/A
919N/ACopyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
919N/APortions Copyright 2011 Jens Elkner.
919N/A
919N/A--%><%@page session="false" errorPage="error.jsp" import="
321N/Aorg.opensolaris.opengrok.configuration.RuntimeEnvironment,
321N/Aorg.opensolaris.opengrok.web.Util"
321N/A%><%@
321N/A
493N/Ainclude file="projects.jspf"
321N/A
970N/A%><%
977N/A/* ---------------------- status.jsp start --------------------- */
970N/A{
970N/A cfg = PageConfig.get(request);
321N/A cfg.setTitle("Status");
1276N/A%><%@
321N/A
911N/Ainclude file="httpheader.jspf"
1276N/A
1276N/A%>
1276N/A<body>
911N/A <div id="page">
321N/A <div id="whole_header">
321N/A <div id="header"><%@
321N/A
321N/Ainclude file="pageheader.jspf"
1276N/A
493N/A %>
321N/A </div>
1124N/A <div id="Masthead"></div>
1124N/A </div>
1124N/A <div id="status">
1124N/A <h1>OpenGrok status page</h1>
970N/A <p>
970N/AThis page is only used for testing purposes to dump some of the
970N/Ainternal settings on your OpenGrok server.</p><%
321N/A if (cfg.getEnv().isChattyStatusPage()) {
Util.dumpConfiguration(out);
} else {
%><p>
For security reasons, printing of internal settings is not enabled by
default. To enable, set the property <tt>chattyStatusPage</tt> to
<tt>true</tt> in <tt>configuration.xml</tt>.</p><%
}
%>
</div>
<%
}
/* ---------------------- status.jsp start --------------------- */
%><%@
include file="foot.jspf"
%>