[Freeipa-devel] [PATCH] 0009 webui: Show certificates in useful format

Pavel Vomacka pvomacka at redhat.com
Wed Mar 30 10:46:02 UTC 2016



On 03/29/2016 11:42 AM, Pavel Vomacka wrote:
>
>
> On 03/16/2016 06:56 PM, Petr Vobornik wrote:
>> On 03/15/2016 01:23 PM, Pavel Vomacka wrote:
>>> Hello,
>>>
>>> patch for https://fedorahosted.org/freeipa/ticket/5311 is attached.
>>>
>>> -- 
>>> Pavel^3 Vomacka
>>>
>>
>> Not tested, but can we avoid using <br> s with "white-space: pre" and 
>> therefore use only IPA.cert.pem_cert_format(text).
>>
>> Also, it should be displayed in monospaced, so probably add:
>>
>> .certificate-widget .certificate {
>>     font-family: monospace;
>>     overflow-x: auto;
>>     white-space: pre;
>> }
> Fixed.
>>
>>
>> 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.
>>
>> [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/data_URIs
>> [2] https://developer.mozilla.org/en/docs/Web/HTML/Element/a
> 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.
>
> -- 
> Pavel^3 Vomacka
>
>
Self NACK, css parts should be moved to less files. Attaching new patches.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160330/ee5640f5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvomacka-0009-3-Show-certificate-in-useful-format.patch
Type: text/x-patch
Size: 1762 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160330/ee5640f5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvomacka-0010-2-Add-download-button-for-certificates.patch
Type: text/x-patch
Size: 3981 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160330/ee5640f5/attachment-0001.bin>


More information about the Freeipa-devel mailing list