<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 03/29/2016 11:42 AM, Pavel Vomacka
wrote:<br>
</div>
<blockquote cite="mid:56FA4E21.3040504@redhat.com" type="cite">
<br>
<br>
On 03/16/2016 06:56 PM, Petr Vobornik wrote:
<br>
<blockquote type="cite">On 03/15/2016 01:23 PM, Pavel Vomacka
wrote:
<br>
<blockquote type="cite">Hello,
<br>
<br>
patch for <a class="moz-txt-link-freetext" href="https://fedorahosted.org/freeipa/ticket/5311">https://fedorahosted.org/freeipa/ticket/5311</a> is
attached.
<br>
<br>
-- <br>
Pavel^3 Vomacka
<br>
<br>
</blockquote>
<br>
Not tested, but can we avoid using <br> s with
"white-space: pre" and therefore use only
IPA.cert.pem_cert_format(text).
<br>
<br>
Also, it should be displayed in monospaced, so probably add:
<br>
<br>
.certificate-widget .certificate {
<br>
font-family: monospace;
<br>
overflow-x: auto;
<br>
white-space: pre;
<br>
}
<br>
</blockquote>
Fixed.
<br>
<blockquote type="cite">
<br>
<br>
Probably as a separate patch or ticket: we can add "download"
button which would offer the certificate in form of data uri[1]
with 'download' attribute of 'a' element [2]. So user will get
pem encoded file without any hassle.
<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://developer.mozilla.org/en-US/docs/Web/HTTP/data_URIs">https://developer.mozilla.org/en-US/docs/Web/HTTP/data_URIs</a>
<br>
[2] <a class="moz-txt-link-freetext" href="https://developer.mozilla.org/en/docs/Web/HTML/Element/a">https://developer.mozilla.org/en/docs/Web/HTML/Element/a</a>
<br>
</blockquote>
The download button is really good idea. There is attached another
patch which adds this button. If we need new ticket let me know
and I will file it.
<br>
<br>
--
<br>
Pavel^3 Vomacka
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
Self NACK, css parts should be moved to less files. Attaching new
patches.<br>
</body>
</html>