status.jsp revision 14a41f02433890d19b2f871156271e3388cd0845
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbye<%--
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner$Id$
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond NorbyeCDDL HEADER START
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbye
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond NorbyeThe contents of this file are subject to the terms of the
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond NorbyeCommon Development and Distribution License (the "License").
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond NorbyeYou may not use this file except in compliance with the License.
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbye
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond NorbyeSee LICENSE.txt included in this distribution for the specific
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbyelanguage governing permissions and limitations under the License.
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbye
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond NorbyeWhen distributing Covered Code, include this CDDL HEADER in each
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbyefile and include the License file at LICENSE.txt.
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond NorbyeIf applicable, add the following below this CDDL HEADER, with the
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbyefields enclosed by brackets "[]" replaced with your own identifying
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbyeinformation: Portions Copyright [yyyy] [name of copyright owner]
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbye
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond NorbyeCDDL HEADER END
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbye
d7632865cbb23540feb5b66d1c3f8569bbac6c61Knut Anders HatlenCopyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
14a41f02433890d19b2f871156271e3388cd0845Jens ElknerPortions Copyright 2011 Jens Elkner.
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbye
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner--%><%@page session="false" errorPage="error.jsp" import="
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbyeorg.opensolaris.opengrok.configuration.RuntimeEnvironment,
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerorg.opensolaris.opengrok.web.Util"
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner%><%@
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerinclude file="projects.jspf"
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner%><%
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner/* ---------------------- status.jsp start --------------------- */
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner{
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner cfg = PageConfig.get(request);
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner cfg.setTitle("Status");
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner%><%@
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerinclude file="httpheader.jspf"
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner%>
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbye<body>
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner <div id="page">
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner <div id="whole_header">
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner <div id="header"><%@
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerinclude file="pageheader.jspf"
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner %>
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner </div>
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner <div id="Masthead"></div>
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner </div>
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner <div id="status">
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner <h1>OpenGrok status page</h1>
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner <p>
14a41f02433890d19b2f871156271e3388cd0845Jens ElknerThis page is only used for testing purposes to dump some of the
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerinternal settings on your OpenGrok server.</p><%
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner if (cfg.getEnv().isChattyStatusPage()) {
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner Util.dumpConfiguration(out);
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner } else {
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner %><p>
14a41f02433890d19b2f871156271e3388cd0845Jens ElknerFor security reasons, printing of internal settings is not enabled by
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerdefault. To enable, set the property <tt>chattyStatusPage</tt> to
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner<tt>true</tt> in <tt>configuration.xml</tt>.</p><%
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner }
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner %>
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner </div>
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner<%
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner}
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner/* ---------------------- status.jsp start --------------------- */
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner%><%@
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerinclude file="foot.jspf"
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner%>