/[pdpsoft]/branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/src/nl/nikhef/jgridstart/gui/certificate_info.html
ViewVC logotype

Annotation of /branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/src/nl/nikhef/jgridstart/gui/certificate_info.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 196 - (hide annotations) (download) (as text)
Thu Apr 9 13:58:28 2009 UTC (12 years, 9 months ago) by wvengen
File MIME type: application/xhtml+xml
File size: 3120 byte(s)
html rendering using the flying saucer xhtmlrenderer
1 wvengen 196 <?xml version="1.0" encoding="UTF-8"?>
2     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 wvengen 194 <head>
4     <title>Certificate of ${subject.cn}</title>
5     <style type="text/css"><!--
6     /*
7     h1 { font-weight: bold; font-size: 130%; margin-bottom: 1em; }
8    
9     .valid-ok { color: green; font-size: 110%; font-weight: bold; }
10     *[title] { border-bottom: 1px dashed gray; }
11    
12     table { border-collapse: collapse; }
13     td, th { border-top: 1px solid lightgray; border-bottom: 1px solid lightgray; padding: 0.3em; }
14     th { font-weight: normal; text-align: left; font-style: italic; padding-right: 1em; }
15     td.modulus { overflow: hidden; text-overflow: ellipsis; }
16     */
17 wvengen 196
18     body { font-size: 10pt; }
19 wvengen 194
20 wvengen 196 h1 { font-weight: bold; font-size: 14pt; }
21 wvengen 194 .topinfo-ok { color: #006600; font-weight: bold; }
22     .topinfo-bad { color: #660000; font-weight: bold; }
23    
24     .valid-ok { color: green; font-size: 110%; font-weight: bold; }
25     .valid-no { color: red; font-size: 110%; font-weight: bold; }
26     .pending { color: #666666; }
27    
28     td, th { padding: 0.3em; }
29     th { font-weight: normal; text-align: left; font-style: italic; }
30     //--></style>
31     </head>
32     <body>
33     <h1>Certificate of ${subject.cn}</h1>
34     ${if !cert}
35     ${if request}<p class="topinfo-ok">This certificate is currently awaiting approval.</p>${endif}
36     ${if !request}<p class="topinfo-bad">This certificate is incomplete, please consider removing it.</p>${endif}
37     ${endif}
38    
39     <table summary="certificate details" cellpadding="3">
40     <tr>
41     <th class="name">Name</th>
42     <td class="name">
43     ${subject.cn} ${if subject.e}<tt>${subject.e}</tt>${endif}
44     </td>
45     </tr>
46     <tr>
47     <th class="org">Organisation</th>
48     <td class="org">${subject.o}</td>
49     </tr>
50     ${if issuer}<tr>
51     <th class="issuer">Issuer</th>
52     <td class="issuer">${issuer.cn}</td>
53     </tr>${endif}
54     ${if cert.sn}<tr>
55     <th class="serial">Serial</th>
56     <td class="serial"><a href="https://ca.dutchgrid.nl/medium/query/?id=${cert.sn}">${cert.sn}</a></td>
57     </tr>${endif}
58     <tr>
59     <th class="valid">Valid</th>
60     <td class="valid">
61     from ${valid.notbefore} until ${valid.notafter}
62 wvengen 196 ${if valid}<span class="valid-ok" title="certificate is valid and can be used">&#x2713;</span>${endif}
63     ${if !valid}<span class="valid-no" title="certificate is expired or revoked">&#x2715;</span>${endif}
64 wvengen 194 </td>
65     </tr>
66     ${if usage}<tr>
67     <th class="usage">Usage</th>
68     <td class="usage">
69     ${if usage.any}<span title="usable for anything">any</span>, ${endif}
70     ${if usage.clientauth}<span title="usable for client authentication like in a web browser">Client authentication</span>, ${endif}
71     ${if usage.emailprotection}<span title="usable for signing and encrypting emails">Email protection</span>, ${endif}
72     </td>
73     </tr>${endif}
74     <tr>
75     <th class="vo">VOs</th>
76     <td class="vo">
77     <a href="https://voms.grid.sara.nl:8443/voms/pvier/">pvier</a>,
78     <a href="https://voms.grid.sara.nl:8443/voms/ncf">ncf</a>,
79     <i>pending:</i>
80     <a href="https://voms.grid.sara.nl:8443/voms/vlemed" class="pending">vlemed</a>
81     </td>
82     </tr>
83    
84     </table>
85    
86     </body>
87     </html>

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28