Sha256: f6b5061c284c0dd83493d1571c5beadcafc33ad108b6d710d87a85a0a06d1d39
Contents?: true
Size: 1.77 KB
Versions: 2
Compression:
Stored size: 1.77 KB
Contents
=header "Deltacloud API #{settings.version}", :back => 'false' =subheader "#{driver_symbol}@#{Thread::current[:provider] || ENV['API_PROVIDER'] || 'default'}" %div{ :'data-role' => :content, :'data-theme' => 'c'} %ul{ :'data-role' => :listview, :'data-inset' => 'true'} - supported_collections do |c| %li %a{ :href => api_url_for(c.collection_name), :'data-icon' => "arrow-r"}=c.collection_name.to_s.gsub('_', ' ').titlecase - unless Deltacloud::Drivers.driver_config.nil? %div{ :'data-role' => :footer, :'data-theme' => 'a'} %form{ :action => settings.root_url, :method => :post, :'data-ajax' => 'false'} %fieldset{ :'data-type' => "horizontal", :'data-role' => "controlgroup", :id => "providers" } %select{:name => 'driver', :'data-inline' => 'true', :'data-native-menu' => 'false'} %option{ :value => "#{driver_symbol.to_s}"} #{driver_symbol.to_s} - Deltacloud::Drivers.driver_config.keys.each do |driver| %option{ :value => driver } #{driver} %button{ :type => :submit, :'data-inline' => "true"} Change Driver - unless driver.configured_providers.empty? %div{ :'data-role' => :footer, :'data-theme' => 'a'} %form{ :action => settings.root_url, :method => :post, :'data-ajax' => 'false'} - if @driver_name %input{ :name => :driver, :type => :hidden, :value => driver.name }/ %fieldset{ :'data-type' => "horizontal", :'data-role' => "controlgroup", :id => "providers" } %select{:name => 'provider', :'data-inline' => 'true', :'data-native-menu' => 'false'} %option{ :value => 'default'} default - driver.configured_providers.each do |provider| %option{ :value => provider } #{provider} %button{ :type => :submit, :'data-inline' => "true"} Change Provider
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
deltacloud-core-1.0.3 | views/api/show.html.haml |
deltacloud-core-1.0.2 | views/api/show.html.haml |