diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-03-24 02:27:47 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-03-26 11:43:54 -0500 |
commit | 621d9e5c413e561293d7484b93882d985b3fe15f (patch) | |
tree | 638f3d75761c121d9a8fb50b52a12a6686c5ac5c /dogtag/ca-ui/shared/webapps/ca/agent/ca/ProfileApprove.template | |
parent | 40d3643b8d91886bf210aa27f711731c81a11e49 (diff) | |
download | pki-621d9e5c413e561293d7484b93882d985b3fe15f.tar.gz pki-621d9e5c413e561293d7484b93882d985b3fe15f.tar.xz pki-621d9e5c413e561293d7484b93882d985b3fe15f.zip |
Removed unnecessary pki folder.
Previously the source code was located inside a pki folder.
This folder was created during svn migration and is no longer
needed. This folder has now been removed and the contents have
been moved up one level.
Ticket #131
Diffstat (limited to 'dogtag/ca-ui/shared/webapps/ca/agent/ca/ProfileApprove.template')
-rw-r--r-- | dogtag/ca-ui/shared/webapps/ca/agent/ca/ProfileApprove.template | 165 |
1 files changed, 165 insertions, 0 deletions
diff --git a/dogtag/ca-ui/shared/webapps/ca/agent/ca/ProfileApprove.template b/dogtag/ca-ui/shared/webapps/ca/agent/ca/ProfileApprove.template new file mode 100644 index 000000000..6e0558df9 --- /dev/null +++ b/dogtag/ca-ui/shared/webapps/ca/agent/ca/ProfileApprove.template @@ -0,0 +1,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) 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> +<CMS_TEMPLATE> +<font size="+1" face="PrimaSans BT, Verdana, sans-serif">Manage Certificate Profiles<br></font> +<font size="-1" face="PrimaSans BT, Verdana, sans-serif"> +Use this form to approve a certificate profile.</font> +<table border="0" cellspacing="0" cellpadding="0" background="/ca/agent/graphics/hr.gif" width="100%"> + <tr> + <td> </td> + </tr> +</table> +<p> +<form name="ReqForm" method="post" action="profileApprove"> +<script type="text/javascript"> +if (errorCode == 0) { +document.writeln('<br>'); +document.writeln('<b><font size="-1" face="PrimaSans BT, Verdana, sans-serif">Certificate Profile Information:</font></b>'); +document.writeln('<table>'); +document.writeln('<tr>'); +document.writeln('<td>'); +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln('Certificate Profile Id:'); +document.writeln('</font>'); +document.writeln('</td>'); +document.writeln('<td>'); +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln(profileId); +document.writeln('</font>'); +document.writeln('</td>'); +document.writeln('</tr>'); +document.writeln('<tr>'); +document.writeln('<td>'); +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln('Certificate Profile Name:'); +document.writeln('</font>'); +document.writeln('</td>'); +document.writeln('<td>'); +document.writeln('<a href="profileSelect?profileId=' + profileId + '">'); +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln(profileName); +document.writeln('</font>'); +document.writeln('</a>'); +document.writeln('</td>'); +document.writeln('</tr>'); +document.writeln('<tr>'); +document.writeln('<td>'); +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln('Description:'); +document.writeln('</font>'); +document.writeln('</td>'); +document.writeln('<td>'); +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln(profileDesc); +document.writeln('</font>'); +document.writeln('</td>'); +document.writeln('</tr>'); +document.writeln('<tr>'); +document.writeln('<td>'); +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln('Approved:'); +document.writeln('</font>'); +document.writeln('</td>'); +document.writeln('<td>'); +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln(profileIsEnable); +document.writeln('</font>'); +document.writeln('</td>'); +document.writeln('</tr>'); +document.writeln('<tr>'); +document.writeln('<td>'); +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln('Approved By:'); +document.writeln('</font>'); +document.writeln('</td>'); +document.writeln('<td>'); +if (profileEnableBy != 'null') { +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln(profileEnableBy); +document.writeln('</font>'); +} +document.writeln('</td>'); +document.writeln('</tr>'); +document.writeln('</table>'); +document.writeln('<input type=hidden name=profileId value="' + + profileId + '">'); +document.writeln('<p>'); +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln('<b>Policy Information:</b>'); +document.writeln('</font>'); +document.writeln('<p>'); +for (var i = 0; i < policySetListSet.length; i++) { +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln('Policy Set: ' + policySetListSet[i].setId); +document.writeln('</font>'); +document.writeln('<p>'); +document.writeln('<table border=1 width=100%>'); +document.writeln('<tr>'); +document.writeln('<td width=10%>'); +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln('<b>#</b>'); +document.writeln('</font>'); +document.writeln('</td>'); +document.writeln('<td width=45%>'); +document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); +document.writeln('<b>Extensions / Fields</b>'); +document.writeln('</font>'); +document.writeln('</td>'); +document.writeln('<td width=45%>'); +document.writeln('<b>Constraints</b>'); +document.writeln('</td>'); +document.writeln('</tr>'); + for (var j = 0; j < policySetListSet[i].policySet.length; j++) { + document.writeln('<tr valign=top>'); + document.writeln('<td>'); + document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln(policySetListSet[i].policySet[j].policyId); + document.writeln('</font>'); + document.writeln('</td>'); + document.writeln('<td>'); + document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln(policySetListSet[i].policySet[j].defDesc); + document.writeln('</font>'); + document.writeln('<br>'); + document.writeln('</td>'); + document.writeln('<td>'); + document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); + document.writeln(policySetListSet[i].policySet[j].conDesc); + document.writeln('</font>'); + document.writeln('</td>'); + document.writeln('</tr>'); + } // for +document.writeln('</table>'); +document.writeln('<p>'); +} // for +document.writeln('<p>'); +document.writeln('<p>'); +if (profileIsEnable == 'true') { + document.writeln('<input type=submit name=Disable value="Disable">'); +} else { + document.writeln('<input type=submit name=Approve value="Approve">'); +} +} else { + document.writeln('<font size="-1" face="PrimaSans BT, Verdana, sans-serif">'); + document.write('Sorry, your operation is not successful. The error code is "' + errorReason + '".'); + document.writeln('</font>'); +} +</script> +</html> |