Sha256: 2930679bca53fd49c0a08ae0c4ca4fc0d081f92ea45c00caf25377e3b721cfdb

Contents?: true

Size: 1021 Bytes

Versions: 3

Compression:

Stored size: 1021 Bytes

Contents

%h2 Public Keys
%p
  OpenShift uses a public key to securely encrypt the connection between
  your local machine and your application and to authorize you to upload
  code. You must create a private and public key on your local machine
  and then upload the public key before you can connect to your
  applications' Git repositories or remotely access your application.
  = link_to "Learn more about SSH keys.", ssh_keys_help_path

- if keys.empty?
  = render :partial => 'keys/simple_form', :locals => { :key => Key.new, :input_class => 'span4' }
- else
  %table.table.table-condensed.table-striped.table-fixed
    - keys.each do |key|
      %tr{:id => "#{key.name}_sshkey"}
        %td.sshkey-name= key.name
        %td.code.sshkey= key.display_content
        %td= link_to 'Delete', key_path(key), :class => 'btn btn-mini btn-danger delete_button', :method => :delete, :confirm => "Are you sure you want to delete your key '#{key.name}'?"
  .btn-toolbar
    = link_to "Add a new key...", new_key_path, :class => 'btn'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openshift-origin-console-1.3.4 app/views/account/_keys.html.haml
openshift-origin-console-1.3.3 app/views/account/_keys.html.haml
openshift-origin-console-1.3.2 app/views/account/_keys.html.haml