summaryrefslogtreecommitdiff
path: root/app/views/profiles/keys/index.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-24 19:25:10 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-24 19:25:10 +0300
commit05a7e8b9c0b1ebdc01470a31f933b7526ca2cd08 (patch)
tree9e62ba67e6be7761b1af6b7bb0d9121b99dd5996 /app/views/profiles/keys/index.html.haml
parent15f62fcc27235b3c8012c80f0517ecf5c27aa205 (diff)
downloadgitlab-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.haml31
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.
+