Sha256: 5e623bd8748875cfab89dd131d2b16e6c6efce7a6fb872de6e59cf2e3280c764
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
=header "Run command on #{@instance.name}" =subheader "#{@instance.id}" %div{ :'data-role' => :content, :'data-theme' => 'c', :class => 'middle-dialog'} %form{ :action => url_for('/instances/%s/run' % @instance.id), :method => :post } %p %label{ :for => :cmd } Desired command: %input{ :name => :cmd, :value => "", :type => :text} %p %fieldset{ :'data-role' => :fieldcontain} %legend Target instance IP address: - (@instance.public_addresses | @instance.private_addresses).each_with_index do |ip, idx| %label{ :for => ip.address }= "#{ip.address}" %input{ :name => :ip, :value => ip.address, :id => ip.address, :type => :radio, :'data-theme' => 'b', :checked => idx == 0 || nil}/ %p %label{ :for => :port } Target port: %input{ :name => "port", :size => 5, :value => "22", :type => :text} %p %label{ :for => :private_key } Private key: %p %small Leave private key blank if using password authentication method %p %textarea{ :name => :private_key, :cols => 65, :rows => 20 } %p %input{ :type => :submit, :value => "Execute" }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
deltacloud-core-1.1.2 | views/instances/run_command.html.haml |