Sha256: b20951571c99b8eb19ba8898a46576bb8b6b9cb62764cb6bf311e6a7b99778c6
Contents?: true
Size: 737 Bytes
Versions: 5
Compression:
Stored size: 737 Bytes
Contents
=header "Load balancers" do %a{ :href => url_for('load_balancers/new'), :'data-icon' => :plus, :'data-role' => :button, :class => 'ui-btn-right'} Create new load balancer =subheader "#{Thread::current[:provider] || ENV['API_PROVIDER'] || 'default'}" %div{ :'data-role' => :content, :'data-theme' => 'c'} %ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'a'} - @elements.each do |balancer| %li %a{ :href => load_balancer_url(balancer.id), :'data-ajax' => 'false'} %img{ :class => 'ui-link-thumb', :src => '/images/balancer.png'} %h3=balancer.id %p=balancer.public_addresses.join(', ') %span{ :class => 'ui-li-count'}=balancer.realms.first.id
Version data entries
5 entries across 5 versions & 1 rubygems