Sha256: 0e4cf63fc121ecc75c905e56e5e72bb50a7c7371b335a725739000b3432535f6
Contents?: true
Size: 1.12 KB
Versions: 4
Compression:
Stored size: 1.12 KB
Contents
=header "Run a 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
4 entries across 4 versions & 1 rubygems