From 9459c959c66170735d8f4773b9b9025f9ed3a857 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 22 2015 07:59:56 +0000 Subject: The SSH keys should be in pre fields and wrapped --- diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index ecaaf9a..170b5b4 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -13,6 +13,14 @@ input { font-size: 100%; } +pre { + white-space: pre-wrap; + white-space: -moz-pre-wrap; + white-space: -pre-wrap; + white-space: -o-pre-wrap; + word-wrap: break-word; +} + .issue_action input[type="submit"] { font-size: 75%; } diff --git a/pagure/templates/doc_ssh_keys.html b/pagure/templates/doc_ssh_keys.html index 94d073f..50b6851 100644 --- a/pagure/templates/doc_ssh_keys.html +++ b/pagure/templates/doc_ssh_keys.html @@ -18,10 +18,10 @@ instance: {% for cert in config.get('SSH_KEYS') %}

{{ cert }} Fingerprint

-{{ config['SSH_KEYS'][cert]['fingerprint'] }} +
{{ config['SSH_KEYS'][cert]['fingerprint'] }}

{{ cert }} Hostkey

-{{ config['SSH_KEYS'][cert]['pubkey'] }} +
{{ config['SSH_KEYS'][cert]['pubkey'] }}
{% endfor %} {% else %}