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