diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-11-09 03:36:17 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-11-12 12:04:02 -0500 |
commit | 46fda5d944772ac62675570037785e39c517002b (patch) | |
tree | 667f28137e53f7a5a4f55a7b64f169c69be7513b /base/ca/shared/webapps/ca/agent/ports.template | |
parent | edf9c2273c00b52b0c240bc0c75dc1ba7bdc396e (diff) | |
download | pki-46fda5d944772ac62675570037785e39c517002b.tar.gz pki-46fda5d944772ac62675570037785e39c517002b.tar.xz pki-46fda5d944772ac62675570037785e39c517002b.zip |
Reorganized CA, KRA, OCSP, TKS templates.
All remaining theme files for Tomcat subsystems which include
the templates and JS files have been moved from the theme folder
at <subsystem>-ui/shared/webapps/<subsystem> into the subsystem
webapp folder at base/<subsystem>/shared/webapps/<subsystem>.
The deployment tools have been updated to use the new location.
Ticket #407
Diffstat (limited to 'base/ca/shared/webapps/ca/agent/ports.template')
-rw-r--r-- | base/ca/shared/webapps/ca/agent/ports.template | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/base/ca/shared/webapps/ca/agent/ports.template b/base/ca/shared/webapps/ca/agent/ports.template new file mode 100644 index 000000000..bfec33981 --- /dev/null +++ b/base/ca/shared/webapps/ca/agent/ports.template @@ -0,0 +1,121 @@ +<!-- --- BEGIN COPYRIGHT BLOCK --- + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + Copyright (C) 2007 Red Hat, Inc. + All rights reserved. + --- END COPYRIGHT BLOCK --- --> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<CMS_TEMPLATE> +<title>CA Agent Ports</title> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +</head> + +<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> +<table border="0" width="100%" cellspacing="0" cellpadding="6"> + <tr bgcolor="#000080"> + <td> + <table border="0" cellspacing="12" cellpadding="0"> + <tr> + <td><img src="/pki/images/logo_header.gif"></td> + <td> </td> + <td><font size="+1" face="PrimaSans BT, Verdana, sans-serif" color="white"><b>Dogtag<sup><font color="#999999" size="-2">®</font></sup> Services Summary</b></font></td> + </tr> + </table> + </td> + </tr> + <tr valign="TOP"> + <td> </td> + <td> + <table border="0" cellspacing="0" cellpadding="0"> + <tr valign="TOP"> + <td> </td> + <td> </td> + </tr> +<SCRIPT type="text/javascript"> +function displayError() +{ + document.write("<center><h2><b>" + + "Problem Processing Your Request" + + "</b></h2></center><p>" + + "The service encountered a problem " + + "when processing your request. This problem may " + + "indicate a flaw in the form used to submit your " + + "request or the values that were entered into the form." + + "The following message supplies more information " + + "about the error that occurred.<p>"); + document.write("<blockquote><b><pre>"); + if (result.header.errorDetails != null) { + document.write(result.header.errorDetails); + } else { + document.write("Unable to provide details. " + + "Contact Administrator."); + } + document.write("</pre></b></blockquote>"); + if (result.header.errorDescription != null) { + document.write('<p>Additional Information:<p>'); + document.write('<blockquote><b>'); + document.write(result.header.errorDescription); + document.write('</b></blockquote>'); + } + document.write("<p>"); + document.write("Please consult your local administrator for " + + "further assistance."); + document.write("The certificate server's log may provide " + + "further information."); +} + +if (result.header.errorDetails != null) { + displayError(); +} else { + for (var i = 0; i < result.recordSet.length; ++i) { + if (result.recordSet[i].port == -1) + continue; + document.write('<tr valign="TOP">'); + document.write('<td>'); + document.write('<img src="/pki/images/goto-tall.gif" width="10" height="15"> </td>'); + document.write('<td>'); + document.write('<font face="PrimaSans BT, Verdana, sans-serif">'); + document.write('<a href="'); + document.write(result.recordSet[i].prefix + "://" + + result.header.hostname + ":" + + result.recordSet[i].port); + if (result.recordSet[i].type == "eeGateway.http.port") { + document.write('">End Users Services</a></font>'); + document.write('<font size="-1" face="PrimaSans BT, Verdana, sans-serif"><br>'); + } else if (result.recordSet[i].type == "eeGateway.https.port") { + document.write('">SSL End Users Services</a></font>'); + document.write('<font size="-1" face="PrimaSans BT, Verdana, sans-serif"><br>'); + } else if (result.recordSet[i].type == "agentGateway.https.port") { + document.write('">Agent Services</a></font>'); + document.write('<font size="-1" face="PrimaSans BT, Verdana, sans-serif"><br>'); + } else { + document.write('">Internal Error</a></font>'); + } + document.write('</font></td></tr>'); + } +} +</SCRIPT> + <tr valign="TOP"> + <td> </td> + <td> </td> + </tr> + </table> + </td> + <td> </td> + </tr> +</table> +</body> +</html> |