summaryrefslogtreecommitdiffstats
path: root/dogtag/kra-ui/shared/webapps/kra/agent/header.template
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-11-09 03:36:17 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-11-12 12:04:02 -0500
commit46fda5d944772ac62675570037785e39c517002b (patch)
tree667f28137e53f7a5a4f55a7b64f169c69be7513b /dogtag/kra-ui/shared/webapps/kra/agent/header.template
parentedf9c2273c00b52b0c240bc0c75dc1ba7bdc396e (diff)
downloadpki-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 'dogtag/kra-ui/shared/webapps/kra/agent/header.template')
-rw-r--r--dogtag/kra-ui/shared/webapps/kra/agent/header.template82
1 files changed, 0 insertions, 82 deletions
diff --git a/dogtag/kra-ui/shared/webapps/kra/agent/header.template b/dogtag/kra-ui/shared/webapps/kra/agent/header.template
deleted file mode 100644
index d1221b14b..000000000
--- a/dogtag/kra-ui/shared/webapps/kra/agent/header.template
+++ /dev/null
@@ -1,82 +0,0 @@
-<!-- --- 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>Header</title>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-
-<body onResize=location.reload() bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#CCCCFF">
-<table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#000080">
- <tr>
- <td>
- <table border="0" cellspacing="12" cellpadding="0">
- <tr>
- <td><img src="/pki/images/logo_header.gif"></td>
- <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
- <td><font size="+1" face="PrimaSans BT, Verdana, sans-serif" color="white"><b>Dogtag<sup><font color="#999999" size="-2">&reg;</font></sup> Agent Services</b></font></td>
- </tr>
- </table>
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="/pki/images/spacer.gif" alt="" width="12" height="21"></td>
-<SCRIPT type="text/javascript">
- for (var i = 0; i < result.recordSet.length; ++i) {
- if (result.recordSet[i].id == header.selected) {
- document.write('<td><img src="/pki/images/lgLeftTab.gif" width="13" height="21"><\/td>');
- document.write('<td bgcolor="#cccccc" nowrap>');
- } else {
- document.write('<td><img src="/pki/images/dgLeftTab.gif" width="13" height="21"><\/td>');
- document.write('<td bgcolor="#999999" nowrap>');
- }
- document.write('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">');
- if (result.recordSet[i].type == "CertificateAuthority") {
- type = "Certificate Manager";
- } else if (result.recordSet[i].type == "KeyRecoveryAuthority") {
- type = "Data Recovery Manager";
- } else if (result.recordSet[i].type == "OCSPAuthority") {
- type = "Online Certificate Status Manager";
- } else if (result.recordSet[i].type == "RegistrationAuthority") {
- type = "Registration Manager";
- }
- if (result.recordSet[i].id == header.selected) {
- document.write('<b>' + type + '<\/b>');
- } else {
- document.write('<a href="../' +
- result.recordSet[i].id +
- '/index.html" target="_top">' +
- type + '<\/a>');
- }
- document.write('<\/font><\/td>');
- if (result.recordSet[i].id == header.selected) {
- document.write('<td><img src="/pki/images/lgRightTab.gif" width="16" height="21" alt=""><\/td>');
- } else {
- document.write('<td><img src="/pki/images/dgRightTab.gif" width="16" height="21" alt=""><\/td>');
- }
- }
-</SCRIPT>
- </tr>
- </table>
- </td>
- </tr>
-</table>
-</body>
-</html>
-