summaryrefslogtreecommitdiffstats
path: root/base/server/share/webapps/ROOT/index.jsp
blob: ade01bc9e29419c725651546059dc0350afa0084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!-- --- 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) 2012 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>
<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.js"></script>
<script type="text/javascript" language="JavaScript" src="/pki/js/jquery.i18n.properties.js"></script>

<script type="text/javascript" language="JavaScript">
$(function() {
    $.i18n.properties({
        name: 'pki',
        language: ' ', // suppress potential 404's due to .i18n.browserLang()
        path: '/pki/',
        mode: 'map',
        callback: function() {
            var key;
            for (key in $.i18n.map) {
                var message = $.i18n.prop(key);
                $('span.message[name='+key+']').html(message);
            }
        }
    });
});
</script>

<title>Certificate System</title>
<meta http-equiv=Content-Type content="text/html; charset=UTF-8">
<link rel="shortcut icon" href="/pki/images/favicon.ico" />
<link rel="stylesheet" href="/pki/css/pki-base.css" type="text/css" />
</head>
<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366">

<div id="header">
    <span class="message" name="logo">
    <a href="http://pki.fedoraproject.org/" title="Visit pki.fedoraproject.org for more information about Certificate System products and services"><img src="/pki/images/logo_header.gif" alt="Certificate System" id="myLogo" /></a>
    </span>
    <div id="headertitle">
    <span class="message" name="title">
    <a href="/" title=Certificate System">Certificate System</a>
    </span>
    </div>
    <div id="account">
          <dl><dt><span></span></dt><dd></dd></dl>
    </div>
</div>

<div id="mainNavOuter" class="pki-ee-theme">
<div id="mainNav">
<div id="mainNavInner">

</div><!-- end mainNavInner -->
</div><!-- end mainNav -->
</div><!-- end mainNavOuter -->


<div id="bar">

<div id="systembar">
<div id="systembarinner">

<div>
  -
</div>


</div>
</div>

</div>

<center>

<br>

<table border="0" cellspacing="0" cellpadding="0">
<tr valign="TOP">
    <td>
<%
    ServletContext caContext = getServletContext().getContext("/ca");
    if (caContext != null) {
        String caName = caContext.getServletContextName();
        String caPath = caContext.getContextPath();
        if (!"".equals(caPath)) {
%>
        <li><font size=4 face="PrimaSans BT, Verdana, sans-serif">
        <a href="/ca"><%= caName %></a></font>
<%
        }
    }

    ServletContext kraContext = getServletContext().getContext("/kra");
    if (kraContext != null) {
        String kraName = kraContext.getServletContextName();
        String kraPath = kraContext.getContextPath();
        if (!"".equals(kraPath) && request.isSecure()) {
%>
        <li><font size=4 face="PrimaSans BT, Verdana, sans-serif">
        <a href="/kra"><%= kraName %></a></font>
<%
        }
    }

    ServletContext ocspContext = getServletContext().getContext("/ocsp");
    if (ocspContext != null) {
        String ocspName = ocspContext.getServletContextName();
        String ocspPath = ocspContext.getContextPath();
        if (!"".equals(ocspPath) && request.isSecure()) {
%>
        <li><font size=4 face="PrimaSans BT, Verdana, sans-serif">
        <a href="/ocsp"><%= ocspName %></a></font>
<%
        }
    }

    ServletContext tksContext = getServletContext().getContext("/tks");
    if (tksContext != null) {
        String tksName = tksContext.getServletContextName();
        String tksPath = tksContext.getContextPath();
        if (!"".equals(tksPath) && request.isSecure()) {
%>
        <li><font size=4 face="PrimaSans BT, Verdana, sans-serif">
        <a href="/tks"><%= tksName %></a></font>
<%
        }
    }

    ServletContext tpsContext = getServletContext().getContext("/tps");
    if (tpsContext != null) {
        String tpsName = tpsContext.getServletContextName();
        String tpsPath = tpsContext.getContextPath();
        if (!"".equals(tpsPath) && request.isSecure()) {
%>
        <li><font size=4 face="PrimaSans BT, Verdana, sans-serif">
        <a href="/tps/"><%= tpsName %></a></font>
<%
        }
    }
%>
    </td>
</tr>
</table>

</center>

<div id="footer">
</div>

</body>
</html>