diff options
Diffstat (limited to 'dogtag/kra-ui/shared/webapps/kra/agent/header.template')
-rw-r--r-- | dogtag/kra-ui/shared/webapps/kra/agent/header.template | 82 |
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> </td> - <td><font size="+1" face="PrimaSans BT, Verdana, sans-serif" color="white"><b>Dogtag<sup><font color="#999999" size="-2">®</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> - |