Sha256: 21894334685379bc9c51a03ab23d03cd8ebdc4b3d863f473fca1a52704de7b97

Contents?: true

Size: 987 Bytes

Versions: 7

Compression:

Stored size: 987 Bytes

Contents

%h1 Load Balancers

%table.display
  %thead
    %tr
      %th ID
      %th Hostname
      %th Realm
      %th Balancer port
      %th Instances port
      %th Actions
  %tbody
    - @elements.each do |balancer|
      %tr
        %td
          = link_to balancer.id, load_balancer_url( balancer.id )
        %td
          = balancer.public_addresses.first
        %td
          = link_to balancer.realms.first.id, realm_url( balancer.realms.first.id )
        %td
          - balancer.listeners.each do |listener|
            ="#{listener.protocol}[#{listener.load_balancer_port}]<br/>"
        %td
          - balancer.listeners.each do |listener|
            ="#{listener.protocol}[#{listener.load_balancer_port}]<br/>"
        %td
          =link_to_action 'Destroy', destroy_load_balancer_url(balancer.id), :delete
  %tfoot
    %tr
      %td{:colspan => 6, :style => "text-align:right;"}
        =link_to 'Create &raquo;', "#{url_for('/api/load_balancers/new')}", :class => 'button'

Version data entries

7 entries across 7 versions & 2 rubygems

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