diff --git a/hosting/static/hosting/css/commons.css b/hosting/static/hosting/css/commons.css index 78bfd827..c6d0ac05 100644 --- a/hosting/static/hosting/css/commons.css +++ b/hosting/static/hosting/css/commons.css @@ -58,3 +58,6 @@ } } +.btn:focus, .btn:active:focus { + outline: 0; +} \ No newline at end of file diff --git a/hosting/static/hosting/css/user_keys.css b/hosting/static/hosting/css/user_keys.css index 427ea960..268dd8e7 100644 --- a/hosting/static/hosting/css/user_keys.css +++ b/hosting/static/hosting/css/user_keys.css @@ -26,11 +26,13 @@ h2,h3,h4,h5{ text-align: justify; } .ssh-header-container{ - display: flex; - flex-direction: row-reverse; - vertical-align: middle; - align-items: center; - justify-content: space-between; + padding-top: 15px; + /* display: flex; */ + /* flex-direction: row-reverse; */ + /* vertical-align: middle; */ + /* align-items: center; */ + /* justify-content: space-between; */ + text-align: right; } .ssh-header-container p{ @@ -163,6 +165,9 @@ h2,h3,h4,h5{ .form_key_name{ width:60%; } +.form_public_key{ + resize: none; +} .form_public_key, .form_key_name{ border:none; @@ -260,8 +265,12 @@ h2,h3,h4,h5{ .form_key_name:focus, .form_public_key:focus, .has-error .form_key_name, -.has-error .form_public_key, .has-error .form_key_name:focus, -.has-error .form_public_key:focus { +.has-error .form_public_key, +.has-error .form_public_key:focus, +.has-success .form_key_name, +.has-success .form_key_name:focus, +.has-success .form_public_key, +.has-success .form_public_key:focus { box-shadow: none; } \ No newline at end of file diff --git a/hosting/templates/hosting/choice_ssh_keys.html b/hosting/templates/hosting/choice_ssh_keys.html index e161db8f..b8a3566e 100644 --- a/hosting/templates/hosting/choice_ssh_keys.html +++ b/hosting/templates/hosting/choice_ssh_keys.html @@ -5,9 +5,9 @@
-
-

{% trans " SSH Key"%}

-

Choose a key option in order to access your VMs.

+
+

 {% trans " SSH Key"%}

+

Choose a key option in order to access your VMs.

{% if messages %}
{% for message in messages %} @@ -17,9 +17,7 @@ {% endif %}
-

{% trans "I want to generate a new key pair"%}. - -

+

{% trans "I want to generate a new key pair"%}

{% csrf_token %}
-

{% trans "I want to use my existing public key"%}. - -

+

{% trans "I want to use my existing public key"%}

-
{% if next_url %}