summaryrefslogtreecommitdiffstats
path: root/base/common/shared/webapps/pki/admin/console/config/certprettyprintpanel.vm
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-11-09 01:51:54 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-11-09 01:51:54 -0500
commita6e6dc72a0a83dd718c0cf896b1f4f5d36271e28 (patch)
tree42ed65eb7892eb1b2e883286cd683b6a54140f7c /base/common/shared/webapps/pki/admin/console/config/certprettyprintpanel.vm
parentbe9fd5c5ef02d9f5e6ab1335754f48a96e5a92f7 (diff)
downloadpki-a6e6dc72a0a83dd718c0cf896b1f4f5d36271e28.tar.gz
pki-a6e6dc72a0a83dd718c0cf896b1f4f5d36271e28.tar.xz
pki-a6e6dc72a0a83dd718c0cf896b1f4f5d36271e28.zip
Moved common templates to base/common.
Diffstat (limited to 'base/common/shared/webapps/pki/admin/console/config/certprettyprintpanel.vm')
-rw-r--r--base/common/shared/webapps/pki/admin/console/config/certprettyprintpanel.vm49
1 files changed, 49 insertions, 0 deletions
diff --git a/base/common/shared/webapps/pki/admin/console/config/certprettyprintpanel.vm b/base/common/shared/webapps/pki/admin/console/config/certprettyprintpanel.vm
new file mode 100644
index 000000000..ac8da10ee
--- /dev/null
+++ b/base/common/shared/webapps/pki/admin/console/config/certprettyprintpanel.vm
@@ -0,0 +1,49 @@
+<!-- --- 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 --- -->
+
+<SCRIPT type="text/JavaScript">
+function myOnLoad() {
+}
+
+function performPanel() {
+ with (document.forms[0]) {
+ submit();
+ }
+}
+</SCRIPT>
+The following certificates were installed on this instance.
+<p>
+#foreach ($item in $ppcerts)
+<H2>$item.getDN()</H2>
+<table width=100%>
+<tr bgcolor="#cccccc">
+ <td width=20%><b>Certificate: $item.getNickname()</b></td>
+</tr>
+
+<tr>
+ <td><textarea rows=24 cols=80 wrap="virtual" name=$item.getCertTag()>$item.getCertpp()</textarea></td>
+</tr>
+</table>
+#end
+
+ <br/>
+
+ <div align="right">
+ <hr />
+ &nbsp;
+ </div>