Sha256: 0ce65cf38df38f963aa70b7508e7ad085280143a2c650aba73d6ea69e5259377

Contents?: true

Size: 1.06 KB

Versions: 7

Compression:

Stored size: 1.06 KB

Contents

%h1
  = @load_balancer.id

%dl
  %di
    %dt Public addresses
    %dd
      = @load_balancer.public_addresses.join(',')
    - if @load_balancer.created_at
      %dt Created at
      %dd
        = @load_balancer.created_at
    %dt Realms
    %dd
      = @load_balancer.realms.collect { |r| "#{r.id} - #{r.name}" }.join(',')
    %dt Listeners
    %dd
      - @load_balancer.listeners.each do |listener|
        ="Load balancer port: #{listener.load_balancer_port}"
        %br
        ="Instance port: #{listener.instance_port}"
        %br
    - if @load_balancer.instances.class.eql?(Array)
      %dt Instances
      - @load_balancer.instances.each do |inst|
        %dd
          =inst.id
          =link_to_action, 'Delete', unregister_load_balancer_url(@load_balancer.id, :instance_id => inst.id), :post

%form{:action => url_for("/api/load_balancers/#{@load_balancer.id}/register"), :method => :post}
  %p
    %strong Add instances to load balancer
  %p
    %label Instance
    %select{:name => :instance_id, :id => "list_instances"}
    %input{:type => :submit, :value => "Assign"}

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
steamcannon-deltacloud-core-0.1.2.1 views/load_balancers/show.html.haml
steamcannon-deltacloud-core-0.1.1.3 views/load_balancers/show.html.haml
deltacloud-core-0.1.2 views/load_balancers/show.html.haml
steamcannon-deltacloud-core-0.1.1.2 views/load_balancers/show.html.haml
steamcannon-deltacloud-core-0.1.1.1 views/load_balancers/show.html.haml
deltacloud-core-0.1.1 views/load_balancers/show.html.haml
deltacloud-core-0.1.0 views/load_balancers/show.html.haml