From bfd621e98b88b2ce8983da5dcc1f38d383fbf2f8 Mon Sep 17 00:00:00 2001 From: ARvind Tiwari Date: Thu, 3 Aug 2017 01:27:29 +0530 Subject: [PATCH] ssh_keys table updated --- hosting/locale/de/LC_MESSAGES/django.po | 2 +- hosting/static/hosting/css/user_keys.css | 10 +++++--- hosting/templates/hosting/user_keys.html | 31 ++++++++++++------------ 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/hosting/locale/de/LC_MESSAGES/django.po b/hosting/locale/de/LC_MESSAGES/django.po index 7e49f20f..b2110f4f 100644 --- a/hosting/locale/de/LC_MESSAGES/django.po +++ b/hosting/locale/de/LC_MESSAGES/django.po @@ -543,7 +543,7 @@ msgstr "Möchtest Du den Schlüssel löschen?" #: .\hosting\templates\hosting\user_keys.html:72 msgid "Show" -msgstr "" +msgstr "Anzeigen" #: .\hosting\templates\hosting\user_keys.html:82 msgid "Public ssh key" diff --git a/hosting/static/hosting/css/user_keys.css b/hosting/static/hosting/css/user_keys.css index 57bd6fab..6526640a 100644 --- a/hosting/static/hosting/css/user_keys.css +++ b/hosting/static/hosting/css/user_keys.css @@ -2,6 +2,7 @@ .h1-thin { font-family: Lato, sans-serif; font-weight: 300; + font-size: 32px; } .dashboard-container .page-header { border: 0; @@ -33,9 +34,11 @@ padding-bottom: 25px; margin-bottom: 25px; } +.choice-container .choice-btn { + margin-top: 25px; +} .choice-btn { min-width: 110px; - margin-top: 25px; background-color: #3C5480; color: #fff; border: 2px solid #3C5480; @@ -55,7 +58,7 @@ @media (max-width: 767px) { .h1-thin { - font-size: 29px; + font-size: 27px; } .dashboard-choice-container h2 { font-size: 20px; @@ -73,7 +76,7 @@ color: #717274; text-align: center; border-bottom: 1px solid #cbcbcb; - + vertical-align: middle; } .ssh-keys-table tbody tr{ border-bottom: 1px solid #cbcbcb; @@ -100,6 +103,7 @@ .ssh-header-container { display: flex; justify-content: space-between; + align-items: flex-start; } .ssh-header-container p{ margin-bottom: 0; diff --git a/hosting/templates/hosting/user_keys.html b/hosting/templates/hosting/user_keys.html index ae57e547..47dec19e 100644 --- a/hosting/templates/hosting/user_keys.html +++ b/hosting/templates/hosting/user_keys.html @@ -3,7 +3,7 @@ {% block content %}
-

 {% trans "Your SSH Keys"%}

+

 {% trans "Your SSH Keys" %}

{% if messages %}
{% for message in messages %} @@ -14,7 +14,7 @@

{% trans "To generate a new key pair or to upload your existing key, click 'Add Key'" %}

-   {% trans "Add SSH Key"%} +   {% trans "Add SSH Key" %}
@@ -22,22 +22,21 @@
- {% trans "Name"%} - {% trans "Delete Key"%} - {% trans "Public Key"%} - {% trans "Private Key"%} + {% trans "Name" %} + {% trans "Delete Key" %} + {% trans "Public Key" %} + {% trans "Private Key" %} {% for user_key in keys %} {{user_key.name}} -