diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-24 19:25:10 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-24 19:25:10 +0300 |
commit | 05a7e8b9c0b1ebdc01470a31f933b7526ca2cd08 (patch) | |
tree | 9e62ba67e6be7761b1af6b7bb0d9121b99dd5996 /app/views/profiles/keys/index.html.haml | |
parent | 15f62fcc27235b3c8012c80f0517ecf5c27aa205 (diff) | |
download | gitlab-ce-05a7e8b9c0b1ebdc01470a31f933b7526ca2cd08.tar.gz |
Better design for SSH keys page
Diffstat (limited to 'app/views/profiles/keys/index.html.haml')
-rw-r--r-- | app/views/profiles/keys/index.html.haml | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/app/views/profiles/keys/index.html.haml b/app/views/profiles/keys/index.html.haml index b22805bc862..05c481ded23 100644 --- a/app/views/profiles/keys/index.html.haml +++ b/app/views/profiles/keys/index.html.haml @@ -1,21 +1,24 @@ %h3.page_title SSH Keys - = link_to "Add new", new_profile_key_path, class: "btn pull-right" + = link_to "Add SSH Key", new_profile_key_path, class: "btn pull-right btn-primary" -%hr -%p.slead +%br +%p.light SSH key allows you to establish a secure connection between your computer and GitLab +%p.light + Before you can add ssh key you need to + = link_to "generate it", help_ssh_path -%table#keys-table - %thead - %tr - %th Name - %th Added - %th - = render @keys - - if @keys.blank? - %tr - %td{colspan: 3} - %p.nothing_here_message There are no SSH keys with access to your account. + +.ui-box + %h5.title + SSH Keys (#{@keys.count}) + .pull-right + %ul.well-list#keys-table + = render @keys + - if @keys.blank? + %li + %h3.nothing_here_message There are no SSH keys with access to your account. + |