diff options
author | Endi S. Dewata <edewata@redhat.com> | 2015-06-11 17:48:05 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2015-06-11 21:15:56 -0400 |
commit | 3b54cb0a675bbdf345e3fd5c914886483d98a821 (patch) | |
tree | 4a223162e579b6ea927dc7f34f6168a89ec14b0e /base/server/share/webapps | |
parent | 8da79f75c9041b6391f7e100b690e4297c356d0a (diff) | |
download | pki-3b54cb0a675bbdf345e3fd5c914886483d98a821.tar.gz pki-3b54cb0a675bbdf345e3fd5c914886483d98a821.tar.xz pki-3b54cb0a675bbdf345e3fd5c914886483d98a821.zip |
Cleaned up links in main page.
The ROOT's index.jsp has been modified to show the links to all
subsystems installed on the instance. When opened, it will show
the services provided by the subsystem.
The pkispawn output has been modified to show the subsystem URL
more consistently:
https://<hostname>:<port>/<subsystem>
In all subsystems except TPS the page will redirect to:
https://<hostname>:<port>/<subsystem>/services
Diffstat (limited to 'base/server/share/webapps')
-rw-r--r-- | base/server/share/webapps/ROOT/index.jsp | 129 |
1 files changed, 13 insertions, 116 deletions
diff --git a/base/server/share/webapps/ROOT/index.jsp b/base/server/share/webapps/ROOT/index.jsp index 648a3470f..38e95e467 100644 --- a/base/server/share/webapps/ROOT/index.jsp +++ b/base/server/share/webapps/ROOT/index.jsp @@ -87,6 +87,11 @@ $(function() { <center> +<br> + +<table border="0" cellspacing="0" cellpadding="0"> +<tr valign="TOP"> + <td> <% ServletContext caContext = getServletContext().getContext("/ca"); if (caContext != null) { @@ -94,41 +99,8 @@ $(function() { String caPath = caContext.getContextPath(); if (!"".equals(caPath)) { %> -<p> -<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> -<%= caName %> -</font> -</p> - -<table border="0" cellspacing="0" cellpadding="0"> -<tr valign="TOP"> - <td> - <li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> - <a href="/ca/ee/ca">End Users Services</a></font> - </td> -</tr> -<% - if (request.isSecure()) { -%> -<tr valign="TOP"> - <td> <li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> - <a href="/ca/agent/ca">Agent Services</a></font> - </td> -</tr> -<tr valign="TOP"> - <td> - <li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> - <a href="/ca/services">Admin Services</a></font> - </td> -</tr> -<% - } -%> -</table> - -<br> - + <a href="/ca"><%= caName %></a></font> <% } } @@ -139,29 +111,8 @@ $(function() { String kraPath = kraContext.getContextPath(); if (!"".equals(kraPath) && request.isSecure()) { %> -<p> -<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> -<%= kraName %> -</font> -</p> - -<table border="0" cellspacing="0" cellpadding="0"> -<tr valign="TOP"> - <td> - <li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> - <a href="/kra/agent/kra">Agent Services</a></font> - </td> -</tr> -<tr valign="TOP"> - <td> <li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> - <a href="/kra/services">Admin Services</a></font> - </td> -</tr> -</table> - -<br> - + <a href="/kra"><%= kraName %></a></font> <% } } @@ -172,29 +123,8 @@ $(function() { String ocspPath = ocspContext.getContextPath(); if (!"".equals(ocspPath) && request.isSecure()) { %> -<p> -<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> -<%= ocspName %> -</font> -</p> - -<table border="0" cellspacing="0" cellpadding="0"> -<tr valign="TOP"> - <td> <li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> - <a href="/ocsp/agent/ocsp">Agent Services</a></font> - </td> -</tr> -<tr valign="TOP"> - <td> - <li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> - <a href="/ocsp/services">Admin Services</a></font> - </td> -</tr> -</table> - -<br> - + <a href="/ocsp"><%= ocspName %></a></font> <% } } @@ -205,29 +135,8 @@ $(function() { String tksPath = tksContext.getContextPath(); if (!"".equals(tksPath) && request.isSecure()) { %> -<p> -<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> -<%= tksName %> -</font> -</p> - -<table border="0" cellspacing="0" cellpadding="0"> -<tr valign="TOP"> - <td> - <li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> - <a href="/tks/agent/tks">Agent Services</a></font> - </td> -</tr> -<tr valign="TOP"> - <td> <li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> - <a href="/tks/services">Admin Services</a></font> - </td> -</tr> -</table> - -<br> - + <a href="/tks"><%= tksName %></a></font> <% } } @@ -238,27 +147,15 @@ $(function() { String tpsPath = tpsContext.getContextPath(); if (!"".equals(tpsPath) && request.isSecure()) { %> -<p> -<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> -<%= tpsName %> -</font> -</p> - -<table border="0" cellspacing="0" cellpadding="0"> -<tr valign="TOP"> - <td> <li><font size=4 face="PrimaSans BT, Verdana, sans-serif"> - <a href="/tps/">Agent and Admin Services</a></font> - </td> -</tr> -</table> - -<br> - + <a href="/tps/"><%= tpsName %></a></font> <% } } %> + </td> +</tr> +</table> </center> |