Sha256: f6e51bd1e507322503c8ffa66618bbd823c80d66a56881d1afef403606d097f8

Contents?: true

Size: 977 Bytes

Versions: 5

Compression:

Stored size: 977 Bytes

Contents

%h1 New Load Balancer

%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

5 entries across 5 versions & 1 rubygems

Version Path
deltacloud-core-1.0.1 views/load_balancers/new.html.haml
deltacloud-core-1.0.0 views/load_balancers/new.html.haml
deltacloud-core-0.5.0 views/load_balancers/new.html.haml
deltacloud-core-0.4.1 views/load_balancers/new.html.haml
deltacloud-core-0.4.0 views/load_balancers/new.html.haml