Sha256: 9c19b93e768686a6d14f6947a38b35cc2cf73b55c2f9151cc45a001704c62536
Contents?: true
Size: 1.11 KB
Versions: 6
Compression:
Stored size: 1.11 KB
Contents
=header "Create new load balancer" %div{ :'data-role' => :content, :'data-theme' => 'c', :class => 'middle-dialog'} %form{ :action => load_balancers_url, :method => :post } %p %label Name: %input{ :name => 'name', :size => 30 }/ -if @instances %p %label Running instance: %select{ :name => 'instance_id'} - @instances.select{|i| i.state=="RUNNING"}.each do |instance| %option{ :value => instance.id } #{instance.id} %p %label Realm: %select{ :name => 'realm_id'} - @realms.each do |realm| %option{ :value => realm.id } #{realm.id} - #{realm.name} %hr %p %label Protocol: %select{ :name => 'listener_protocol'} %option{ :value => 'HTTP'} HTTP %option{ :value => 'TCP'} TCP %p %label Load balancer port: %input{ :name => "listener_balancer_port", :size => 30} %p %label Instances port: %input{ :name => "listener_instance_port", :size => 30} %p %input{ :type => :submit, :name => "commit", :value => "create" }/
Version data entries
6 entries across 6 versions & 1 rubygems