59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen<%--
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner$Id$
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond NorbyeCDDL HEADER START
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbye
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond NorbyeThe contents of this file are subject to the terms of the
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders HatlenCommon 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{
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen cfg = PageConfig.get(request);
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen cfg.setTitle("Status");
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner%><%@
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatleninclude file="httpheader.jspf"
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner%>
832ed3afe9d56def0ba8851d5c9a9b742e619217Trond Norbye<body>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div id="page">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div id="whole_header">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div id="header"><%@
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerinclude file="pageheader.jspf"
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen %>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div id="Masthead"></div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </div>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <div id="status">
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <h1>OpenGrok status page</h1>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen <p>
14a41f02433890d19b2f871156271e3388cd0845Jens ElknerThis page is only used for testing purposes to dump some of the
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerinternal settings on your OpenGrok server.</p><%
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen if (cfg.getEnv().isChattyStatusPage()) {
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen Util.dumpConfiguration(out);
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen } else {
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen %><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><%
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen }
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen %>
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen </div>
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner<%
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner}
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner/* ---------------------- status.jsp start --------------------- */
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner%><%@
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerinclude file="foot.jspf"
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner%>