diff options
Diffstat (limited to 'app/views/keys/index.html.haml')
-rw-r--r-- | app/views/keys/index.html.haml | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/app/views/keys/index.html.haml b/app/views/keys/index.html.haml index 933eef63529..e6979f5e212 100644 --- a/app/views/keys/index.html.haml +++ b/app/views/keys/index.html.haml @@ -1,16 +1,10 @@ -%h2.icon - %span> +%h3 SSH Keys -%div#new-key-holder.right - = link_to "Add new", new_key_path, :remote => true, :class => "grey-button" -%br + = link_to "Add new", new_key_path, :class => "btn small right" + +%hr %div#keys-table{ :class => "update-data ui-box ui-box-small ui-box-big" } - .data + %ul.unstyled - @keys.each do |key| = render(:partial => 'show', :locals => {:key => key}) - -:javascript - $('.delete-key').live('ajax:success', function() { - $(this).closest('.update-item').fadeOut(); }); - |