[% WRAPPER 'master_templates/master.tmpl' theme="yui" app_key = 'ssl_storage_manager' scripts = ['/js/sorttable.js'] extrastyle = ' .links-group { text-align: right; float: right; margin-left: 10px; } .page-section { margin-top: 25px; } .clear { clear: both; } table div.text { width: 270px; float: left; white-space: normal; } .description { margin: 0; font-style: normal; width: 600px; margin-bottom: 20px; } #installed_resources td, #all_resources td { vertical-align: top; padding-top: 8px; padding-left: 10px; padding-right: 10px; white-space: nowrap; } .delete-icon { color: red; } ' -%] [% USE JSON; USE CPScalar; -%] [% MACRO deletable_key_links_view(key) BLOCK -%] [% undeletable_key_links_view(key); -%] [% END -%] [% MACRO deletable_cert_links_view(cert) BLOCK -%] [% undeletable_cert_links_view(cert); -%] [% END -%] [% MACRO undeletable_key_links_view(key) BLOCK -%] [% END -%] [% MACRO undeletable_cert_links_view(cert) BLOCK -%] [% END -%] [% MACRO deletable_key_view(key) BLOCK -%]
[% locale.maketext('Listed below are all SSL keys, certificates, and [output,acronym,CSRs,Certificate Signing Requests] that you control. Certificates and CSRs are grouped with their associated private key, if any.') %]
[% locale.maketext("This server hosts the following [asis,SSL]/[asis,TLS] [numerate,_1,website,websites].", data.apache_installs.size) %]
| [% locale.maketext("Website") %] | [% locale.maketext("Owner") %] |
|---|---|
| [% entry.vhost.html() %] | [% entry.user.html() %] |
[% locale.maketext('The SSL resources below are available to your account.') %]
| [% locale.maketext("Key") %] | [% locale.maketext("Certificates") %] | [% locale.maketext("Certificate Signing Requests") %] |
|---|---|---|
| [% deletable_key_view(entry.key) %] | [% deletable_cert_list_view(entry.certificates) -%] | [% csr_list_view(entry.csrs) -%] |
| [% locale.maketext("(None)") %] | [% deletable_cert_list_view(unmatched.certificates) -%] | [% csr_list_view(unmatched.csrs) -%] |