incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r962162 - in /incubator/deltacloud/trunk/server: app/controllers/ app/helpers/ app/stylesheets/ app/stylesheets/partials/ app/views/api/ app/views/hardware_profiles/ app/views/instance_states/ app/views/layouts/ config/ config/initializers/...
Date Thu, 08 Jul 2010 23:30:04 GMT
Author: lutter
Date: Thu Jul  8 23:30:02 2010
New Revision: 962162

URL: http://svn.apache.org/viewvc?rev=962162&view=rev
Log:
Cleaning up, moving to compass, and starting hardware profiles.

Added:
    incubator/deltacloud/trunk/server/app/controllers/hardware_profiles_controller.rb
    incubator/deltacloud/trunk/server/app/helpers/hardware_profiles_helper.rb
    incubator/deltacloud/trunk/server/app/stylesheets/
    incubator/deltacloud/trunk/server/app/stylesheets/application.sass
      - copied, changed from r962161, incubator/deltacloud/trunk/server/public/stylesheets/sass/application.sass
    incubator/deltacloud/trunk/server/app/stylesheets/ie.sass
    incubator/deltacloud/trunk/server/app/stylesheets/partials/
    incubator/deltacloud/trunk/server/app/stylesheets/partials/_base.sass
    incubator/deltacloud/trunk/server/app/stylesheets/print.sass
    incubator/deltacloud/trunk/server/app/stylesheets/screen.sass
    incubator/deltacloud/trunk/server/app/views/api/show.html.haml
    incubator/deltacloud/trunk/server/app/views/hardware_profiles/
    incubator/deltacloud/trunk/server/app/views/hardware_profiles/index.html.haml
    incubator/deltacloud/trunk/server/app/views/hardware_profiles/show.html.haml
    incubator/deltacloud/trunk/server/app/views/layouts/application.html.haml
    incubator/deltacloud/trunk/server/app/views/layouts/old.html.erb
      - copied, changed from r962161, incubator/deltacloud/trunk/server/app/views/layouts/application.html.erb
    incubator/deltacloud/trunk/server/config/compass.config
    incubator/deltacloud/trunk/server/config/initializers/compass.rb
    incubator/deltacloud/trunk/server/lib/deltacloud/hardware_profile.rb
    incubator/deltacloud/trunk/server/public/images/grid.png   (with props)
    incubator/deltacloud/trunk/server/public/stylesheets/compiled/
    incubator/deltacloud/trunk/server/public/stylesheets/compiled/application.css
    incubator/deltacloud/trunk/server/public/stylesheets/compiled/ie.css
    incubator/deltacloud/trunk/server/public/stylesheets/compiled/print.css
    incubator/deltacloud/trunk/server/public/stylesheets/compiled/screen.css
    incubator/deltacloud/trunk/server/test/functional/hardware_profiles_controller_test.rb
    incubator/deltacloud/trunk/server/test/unit/helpers/hardware_profiles_helper_test.rb
Removed:
    incubator/deltacloud/trunk/server/app/views/api/show.html.erb
    incubator/deltacloud/trunk/server/app/views/layouts/application.html.erb
    incubator/deltacloud/trunk/server/public/stylesheets/application.css
    incubator/deltacloud/trunk/server/public/stylesheets/sass/application.sass
Modified:
    incubator/deltacloud/trunk/server/app/controllers/api_controller.rb
    incubator/deltacloud/trunk/server/app/controllers/instance_states_controller.rb
    incubator/deltacloud/trunk/server/app/views/instance_states/show.gv.erb
    incubator/deltacloud/trunk/server/app/views/instance_states/show.html.erb
    incubator/deltacloud/trunk/server/config/environment.rb
    incubator/deltacloud/trunk/server/config/routes.rb
    incubator/deltacloud/trunk/server/lib/deltacloud/base_driver.rb
    incubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
    incubator/deltacloud/trunk/server/vendor/plugins/haml/init.rb

Modified: incubator/deltacloud/trunk/server/app/controllers/api_controller.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/controllers/api_controller.rb?rev=962162&r1=962161&r2=962162&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/app/controllers/api_controller.rb (original)
+++ incubator/deltacloud/trunk/server/app/controllers/api_controller.rb Thu Jul  8 23:30:02 2010
@@ -21,6 +21,7 @@ class ApiController < ApplicationControl
     @version = 1.0
     @entry_points = [
       [ :flavors, flavors_url ],
+      [ :hardware_profiles, hardware_profiles_url ],
       [ :instance_states, instance_states_url ],
       [ :realms, realms_url ],
       [ :images, images_url ],

Added: incubator/deltacloud/trunk/server/app/controllers/hardware_profiles_controller.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/controllers/hardware_profiles_controller.rb?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/app/controllers/hardware_profiles_controller.rb (added)
+++ incubator/deltacloud/trunk/server/app/controllers/hardware_profiles_controller.rb Thu Jul  8 23:30:02 2010
@@ -0,0 +1,16 @@
+class HardwareProfilesController < ApplicationController
+
+  include DriverHelper
+  include ConversionHelper
+
+  around_filter :catch_auth
+
+  def index
+    @profiles = driver().hardware_profiles
+  end
+
+  def show
+    @profile = driver().hardware_profile(params[:id])
+  end
+
+end

Modified: incubator/deltacloud/trunk/server/app/controllers/instance_states_controller.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/controllers/instance_states_controller.rb?rev=962162&r1=962161&r2=962162&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/app/controllers/instance_states_controller.rb (original)
+++ incubator/deltacloud/trunk/server/app/controllers/instance_states_controller.rb Thu Jul  8 23:30:02 2010
@@ -35,7 +35,7 @@ class InstanceStatesController < Applica
       format.png {
         gv = render_to_string( :file=>'instance_states/show.gv.erb' )
         png =  ''
-        cmd = 'dot -Gsize="7.7,7" -Tpng'
+        cmd = 'dot -Kdot -Gpad="0.2,0.2" -Gsize="5.0,8.0" -Gdpi="180" -Tpng'
         Open3.popen3( cmd ) do |stdin, stdout, stderr|
           stdin.write( gv )
           stdin.close()

Added: incubator/deltacloud/trunk/server/app/helpers/hardware_profiles_helper.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/helpers/hardware_profiles_helper.rb?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/app/helpers/hardware_profiles_helper.rb (added)
+++ incubator/deltacloud/trunk/server/app/helpers/hardware_profiles_helper.rb Thu Jul  8 23:30:02 2010
@@ -0,0 +1,16 @@
+module HardwareProfilesHelper
+
+  def format_hardware_aspect(values)
+    f = ''
+    case ( values )
+      when Range
+        f = "#{values.begin} - #{values.end}"
+      when Array
+        f = values.join( ', ' )
+      else
+        f = values.to_s
+    end
+    f
+  end
+
+end

Copied: incubator/deltacloud/trunk/server/app/stylesheets/application.sass (from r962161, incubator/deltacloud/trunk/server/public/stylesheets/sass/application.sass)
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/stylesheets/application.sass?p2=incubator/deltacloud/trunk/server/app/stylesheets/application.sass&p1=incubator/deltacloud/trunk/server/public/stylesheets/sass/application.sass&r1=962161&r2=962162&rev=962162&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/public/stylesheets/sass/application.sass (original)
+++ incubator/deltacloud/trunk/server/app/stylesheets/application.sass Thu Jul  8 23:30:02 2010
@@ -1,3 +1,6 @@
+@import partials/base.sass
+@import screen
+
 !main_bg = #ffffff
 
 !th_bg = #cccccc
@@ -8,22 +11,30 @@ html
 
 body
   :font-family "Trebuchet MS"
+  :font-size 90%
   a
-    :color = #411
+    :color=  #6498c5 - #444
+
+#wrapper
+  +container
 
-#hd
+#header
   :padding 1em
   :background-image url('/images/topbar-bg.png')
-  :margin-bottom 2em
   img
     :margin-bottom 1em
 
-#bd
+#content
   :margin-bottom 2em
 
-#ft
+#footer
+  :border-top 1px solid #BBB
+  :padding-top 1ex
+  :text-align right
+  :color #BBB
+  :font-size 70%
 
-#bd
+#content
   h1
     :font-size     160%
     :margin-bottom 1ex
@@ -58,8 +69,12 @@ body
 
 ul.breadcrumb 
   :background-color #eee
-  :border 1px solid #46A
+  :border 1px solid #6498c5
   :padding 1ex
+  :font-size 90%
+  :margin-bottom 1em
+  a
+    :text-decoration none
   li 
     :display inline
 
@@ -83,6 +98,11 @@ table.states
   th, td
     :vertical-align top
 
+table
+  tr
+    td
+      :border-bottom 1px solid white
+
 .radio-group
   :font-size 90%
   :margin-bottom 1em

Added: incubator/deltacloud/trunk/server/app/stylesheets/ie.sass
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/stylesheets/ie.sass?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/app/stylesheets/ie.sass (added)
+++ incubator/deltacloud/trunk/server/app/stylesheets/ie.sass Thu Jul  8 23:30:02 2010
@@ -0,0 +1,15 @@
+@import blueprint.sass
+
++blueprint-ie 
+
+// Note :
+//
+// Compass will center text to fix IE6 container centering.
+// This means all your texts will be centered under all version of IE by default.
+// Please don't forget to restore the correct behavior to your main container (but not the body tag!)
+//
+// Example :
+//
+// .container, .footer
+//   :text-align left
+

Added: incubator/deltacloud/trunk/server/app/stylesheets/partials/_base.sass
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/stylesheets/partials/_base.sass?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/app/stylesheets/partials/_base.sass (added)
+++ incubator/deltacloud/trunk/server/app/stylesheets/partials/_base.sass Thu Jul  8 23:30:02 2010
@@ -0,0 +1,11 @@
+// Here is where you can define your constants for your application and to configure the blueprint framework.
+// Feel free to delete these if you want keep the defaults:
+
+!blueprint_grid_columns = 24
+!blueprint_container_size = 950px
+!blueprint_grid_margin  = 10px
+
+// Use this to calculate the width based on the total width.
+// Or you can set !blueprint_grid_width to a fixed value and unset !blueprint_container_size -- it will be calculated for you.
+!blueprint_grid_width   = (!blueprint_container_size + !blueprint_grid_margin) / !blueprint_grid_columns - !blueprint_grid_margin
+

Added: incubator/deltacloud/trunk/server/app/stylesheets/print.sass
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/stylesheets/print.sass?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/app/stylesheets/print.sass (added)
+++ incubator/deltacloud/trunk/server/app/stylesheets/print.sass Thu Jul  8 23:30:02 2010
@@ -0,0 +1,3 @@
+@import blueprint.sass
+
++blueprint-print
\ No newline at end of file

Added: incubator/deltacloud/trunk/server/app/stylesheets/screen.sass
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/stylesheets/screen.sass?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/app/stylesheets/screen.sass (added)
+++ incubator/deltacloud/trunk/server/app/stylesheets/screen.sass Thu Jul  8 23:30:02 2010
@@ -0,0 +1,40 @@
+// This import applies a global reset to any page that imports this stylesheet.
+@import blueprint/reset.sass
+// To configure blueprint, edit the partials/base.sass file.
+@import partials/base.sass
+// Import all the default blueprint modules so that we can access their mixins.
+@import blueprint
+// Import the non-default scaffolding module.
+@import blueprint/modules/scaffolding.sass
+
+// To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
+// +blueprint
+
+//Recommended Blueprint configuration with scoping and semantic layout:
++blueprint-typography("body.bp")
++blueprint-scaffolding("body.bp")
+body.bp
+  +blueprint-utilities
+  +blueprint-debug
+  +blueprint-interaction
+  // Remove the scaffolding when you're ready to start doing visual design.
+  // Or leave it in if you're happy with how blueprint looks out-of-the-box
+form.bp
+  +blueprint-form
+
+// Page layout can be done using mixins applied to your semantic classes and IDs:
+body.three-col
+  #container
+    +container
+  #header, #footer
+    +column(!blueprint_grid_columns)
+  #sidebar
+    // One third of the grid columns, rounding down. With 24 cols, this is 8.
+    !sidebar_columns = floor(!blueprint_grid_columns / 3)
+    +column(!sidebar_columns)
+  #content
+    // Two thirds of the grid columns, rounding up.
+    // With 24 cols, this is 16.
+    !content_columns = ceil(2 * !blueprint_grid_columns / 3)
+    // true means it's the last column in the row
+    +column(!content_columns, true)

Added: incubator/deltacloud/trunk/server/app/views/api/show.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/views/api/show.html.haml?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/app/views/api/show.html.haml (added)
+++ incubator/deltacloud/trunk/server/app/views/api/show.html.haml Thu Jul  8 23:30:02 2010
@@ -0,0 +1,7 @@
+%h1
+  API v#{@version}
+
+%ul
+  - for entry_point in @entry_points
+    %li 
+      = link_to entry_point[0].to_s.titlecase, entry_point[1]

Added: incubator/deltacloud/trunk/server/app/views/hardware_profiles/index.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/views/hardware_profiles/index.html.haml?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/app/views/hardware_profiles/index.html.haml (added)
+++ incubator/deltacloud/trunk/server/app/views/hardware_profiles/index.html.haml Thu Jul  8 23:30:02 2010
@@ -0,0 +1,27 @@
+%h1
+  Hardware Profiles
+ 
+%table
+  %tr
+    %th
+      Name
+    %th
+      Architecture
+    %th
+      Memory
+    %th
+      Storage
+    %th
+      Mutable
+  - for profile in @profiles
+    %tr
+      %td
+        = link_to profile.name, hardware_profile_url( profile.name )
+      %td
+        = profile.architecture
+      %td
+        = format_hardware_aspect profile.memory
+      %td
+        = format_hardware_aspect profile.storage
+      %td
+        = profile.mutable?

Added: incubator/deltacloud/trunk/server/app/views/hardware_profiles/show.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/views/hardware_profiles/show.html.haml?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/app/views/hardware_profiles/show.html.haml (added)
+++ incubator/deltacloud/trunk/server/app/views/hardware_profiles/show.html.haml Thu Jul  8 23:30:02 2010
@@ -0,0 +1,24 @@
+%h1
+  = @profile.name
+
+%dl
+  %di
+    %dt
+      Architecture
+    %dd
+      = @profile.architecture
+  %di
+    %dt
+      Memory
+    %dd
+      = format_hardware_aspect @profile.memory
+  %di
+    %dt
+      Storage
+    %dd
+      = format_hardware_aspect @profile.storage
+  %di
+    %dt
+      Mutable
+    %dd
+      = @profile.mutable?

Modified: incubator/deltacloud/trunk/server/app/views/instance_states/show.gv.erb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/views/instance_states/show.gv.erb?rev=962162&r1=962161&r2=962162&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/app/views/instance_states/show.gv.erb (original)
+++ incubator/deltacloud/trunk/server/app/views/instance_states/show.gv.erb Thu Jul  8 23:30:02 2010
@@ -3,18 +3,23 @@ digraph instance_states {
   <% for state in @machine.states do %>
     <%= state -%> 
       [
-        label="<%= state %>",
-        labelloc="t",
+        label="<%= state.to_s.titlecase %>",
+        labelloc="c",
+        fontsize="12.0",
         <% if ( state.name == :start || state.name == :finish ) %>
           fontname="Liberation Sans Bold",
-          color="<%= state.name == :start ? 'darkgreen' : 'red' %>",
-          style="bold",
-          fontsize="15.0",
+          color="<%= state.name == :start ? '#449944' : '#994444' %>",
+          fillcolor="<%= state.name == :start ? '#88DD88' : '#DD8888' %>",
+          style="filled",
+          shape="doublecircle",
         <% else %>
-          fontname="Liberation Sans",
-          shape="rectangle",
-          fontsize="20.0",
+          fontname="Liberation Sans Bold",
+          shape="rect",
+          color="#999999",
+          fillcolor="#DDDDDD",
+          style="filled",
         <% end %>
+        height=0.5
       ]
   <% end %>
 
@@ -23,12 +28,15 @@ digraph instance_states {
       <%= state %> -> <%= transition.destination %> 
         [ 
           label="<%= transition.automatically? ? 'auto' : transition.action %>",
-          fontsize="20",
+          fontsize="14.0",
+          penwidth="2.0",
           labelloc="t",
+          color="#CCCCCC",
           <% if transition.automatically? %>
-          fontcolor="darkgreen",
+          fontcolor="#227722",
           fontname="Liberation Sans Bold Italic",
           <% else %>
+          fontcolor="#333333",
           fontname="Liberation Sans Bold",
           <% end %>
         ];

Modified: incubator/deltacloud/trunk/server/app/views/instance_states/show.html.erb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/views/instance_states/show.html.erb?rev=962162&r1=962161&r2=962162&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/app/views/instance_states/show.html.erb (original)
+++ incubator/deltacloud/trunk/server/app/views/instance_states/show.html.erb Thu Jul  8 23:30:02 2010
@@ -1,5 +1,5 @@
 
-<h1>States</h1>
+<h1>Instance States</h1>
 
 <div id="state_graph">
   <%= image_tag url_for( :format=>:png ) %>

Added: incubator/deltacloud/trunk/server/app/views/layouts/application.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/views/layouts/application.html.haml?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/app/views/layouts/application.html.haml (added)
+++ incubator/deltacloud/trunk/server/app/views/layouts/application.html.haml Thu Jul  8 23:30:02 2010
@@ -0,0 +1,24 @@
+!!!
+!!! XML
+
+%html
+  %head
+    = stylesheet_link_tag 'compiled/screen.css', :media => 'screen, projection'
+    = stylesheet_link_tag 'compiled/print.css', :media => 'print'
+    /[if lt IE 8]
+      = stylesheet_link_tag 'compiled/ie.css', :media => 'screen, projection'
+    = stylesheet_link_tag 'compiled/application.css', :media => 'screen, projection'
+  %body
+    #wrapper
+      #header
+        = link_to image_tag( "logo-wide.png" ), root_url
+      = bread_crumb 
+      #content
+        = yield
+      #footer
+        #driver_info
+          Driver: #{DRIVER}
+        #copyright
+          Copyright 2009 #{link_to 'Red Hat', 'http://redhat.com'} and individual contributors.
+      
+  

Copied: incubator/deltacloud/trunk/server/app/views/layouts/old.html.erb (from r962161, incubator/deltacloud/trunk/server/app/views/layouts/application.html.erb)
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/app/views/layouts/old.html.erb?p2=incubator/deltacloud/trunk/server/app/views/layouts/old.html.erb&p1=incubator/deltacloud/trunk/server/app/views/layouts/application.html.erb&r1=962161&r2=962162&rev=962162&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/app/views/layouts/application.html.erb (original)
+++ incubator/deltacloud/trunk/server/app/views/layouts/old.html.erb Thu Jul  8 23:30:02 2010
@@ -24,7 +24,7 @@
       <div id="ft">
         <div style="float: right; text-align: right; font-size: 90%;">
           Driver: <%= DRIVER %><br/>
-          Copyright 2009 <%= link_to 'Red Hat', 'http://redhat.com' %> <br />
+          Copyright 2009 <%= link_to 'Red Hat', 'http://redhat.com' %> and individual contributors.<br />
         </div>
       </div>
     </div>

Added: incubator/deltacloud/trunk/server/config/compass.config
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/config/compass.config?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/config/compass.config (added)
+++ incubator/deltacloud/trunk/server/config/compass.config Thu Jul  8 23:30:02 2010
@@ -0,0 +1,14 @@
+# Require any additional compass plugins here.
+project_type = :rails
+project_path = RAILS_ROOT if defined?(RAILS_ROOT)
+# Set this to the root of your project when deployed:
+http_path = "/"
+css_dir = "public/stylesheets/compiled"
+sass_dir = "app/stylesheets"
+images_dir = "public/images"
+javascripts_dir = "public/javascripts"
+# To enable relative paths to assets via compass helper functions. Uncomment:
+# relative_assets = true
+http_images_path = "/images"
+http_stylesheets_path = "/stylesheets"
+http_javascripts_path = "/javascripts"

Modified: incubator/deltacloud/trunk/server/config/environment.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/config/environment.rb?rev=962162&r1=962161&r2=962162&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/config/environment.rb (original)
+++ incubator/deltacloud/trunk/server/config/environment.rb Thu Jul  8 23:30:02 2010
@@ -24,47 +24,14 @@ RAILS_GEM_VERSION = '2.3.2' unless defin
 require File.join(File.dirname(__FILE__), 'boot')
 
 Rails::Initializer.run do |config|
-  # Settings in config/environments/* take precedence over those specified here.
-  # Application configuration should go into files in config/initializers
-  # -- all .rb files in that directory are automatically loaded.
 
-  # Add additional load paths for your own custom dirs
-  # config.load_paths += %W( #{RAILS_ROOT}/extras )
+  config.gem 'right_aws'
+  #config.gem 'compass'
 
-  # Specify gems that this application depends on and have them installed with rake gems:install
-  # config.gem "bj"
-  # config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
-  # config.gem "sqlite3-ruby", :lib => "sqlite3"
-  # config.gem "aws-s3", :lib => "aws/s3"
-
-
-  #config.gem "activerecord-jdbc-adapter",
-             #:lib=>'jdbc_adapter'
-
-  #config.gem "torquebox-gem"
-
-  #config.gem "torquebox-rails"
-  #config.gem "right_aws"
-
-  # Only load the plugins named here, in the order given (default is alphabetical).
-  # :all can be used as a placeholder for all plugins not explicitly named
-  # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
-
-  # Skip frameworks you're not going to use. To use Rails without a database,
-  # you must remove the Active Record framework.
-  # config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
   config.frameworks -= [ :active_record ]
 
-  # Activate observers that should always be running
-  # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
-
-  # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
-  # Run "rake -D time" for a list of tasks for finding time zone names.
   config.time_zone = 'UTC'
 
-  # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
-  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')]
-  # config.i18n.default_locale = :de
 end
 
 #DEFAULT_DRIVER=:ec2

Added: incubator/deltacloud/trunk/server/config/initializers/compass.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/config/initializers/compass.rb?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/config/initializers/compass.rb (added)
+++ incubator/deltacloud/trunk/server/config/initializers/compass.rb Thu Jul  8 23:30:02 2010
@@ -0,0 +1,5 @@
+require 'compass'
+# If you have any compass plugins, require them here.
+Compass.configuration.parse(File.join(RAILS_ROOT, "config", "compass.config"))
+Compass.configuration.environment = RAILS_ENV.to_sym
+Compass.configure_sass_plugin!

Modified: incubator/deltacloud/trunk/server/config/routes.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/config/routes.rb?rev=962162&r1=962161&r2=962162&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/config/routes.rb (original)
+++ incubator/deltacloud/trunk/server/config/routes.rb Thu Jul  8 23:30:02 2010
@@ -22,8 +22,12 @@ ActionController::Routing::Routes.draw d
   map.resource :api, :controller=>'Api'
 
   map.resources :flavors, :path_prefix=>'api'
-  map.resources :realms, :path_prefix=>'api'
-  map.resources :images, :path_prefix=>'api'
+  map.resources :hardware_profiles, :path_prefix=>'api',
+    :as=>'hardware-profiles',
+    :only=>[ :index, :show ]
+
+  map.resources :realms,  :path_prefix=>'api'
+  map.resources :images,  :path_prefix=>'api'
 
   map.resource :instance_states, :path_prefix=>'api',
     :as=>'instance-states',

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/base_driver.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/base_driver.rb?rev=962162&r1=962161&r2=962162&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/base_driver.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/base_driver.rb Thu Jul  8 23:30:02 2010
@@ -23,6 +23,28 @@ module Deltacloud
 
   class BaseDriver
 
+    def self.define_hardware_profile(name,&block)
+      @hardware_profiles ||= []
+      hw_profile = @hardware_profiles.find{|e| e.name == name}
+      return if hw_profile
+      hw_profile = ::Deltacloud::HardwareProfile.new( name, &block )
+      puts hw_profile.inspect
+      @hardware_profiles << hw_profile
+    end
+
+    def self.hardware_profiles
+      @hardware_profiles ||= []
+      @hardware_profiles
+    end
+
+    def hardware_profiles
+      self.class.hardware_profiles
+    end
+
+    def hardware_profile(name)
+      self.class.hardware_profiles.find{|e| e.name == name }
+    end
+
     def self.define_instance_states(&block)
       machine = ::Deltacloud::StateMachine.new(&block)
       @instance_state_machine = machine
@@ -35,7 +57,7 @@ module Deltacloud
     def instance_state_machine
       self.class.instance_state_machine
     end
-    
+
     def instance_actions_for(state)
       actions = []
       state_key = state.downcase.to_sym

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb?rev=962162&r1=962161&r2=962162&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb Thu Jul  8 23:30:02 2010
@@ -60,6 +60,41 @@ class EC2Driver < Deltacloud::BaseDriver
     } ),
   ]
 
+  define_hardware_profile('m1-small') do
+    cpu              1
+    memory         1.7
+    storage        160
+    architecture 'i386'
+  end
+
+  define_hardware_profile('m1-large') do
+    cpu                2
+    memory           (7.5..15)
+    storage          [ 850, 1024 ]
+    architecture 'x86_64'
+  end
+
+  define_hardware_profile('m1-xlarge') do
+    cpu                2
+    memory            15
+    storage         1690
+    architecture 'x86_64'
+  end
+
+  define_hardware_profile('c1-medium') do
+    cpu                2
+    memory           1.7
+    storage          350
+    architecture 'x86_64'
+  end
+
+  define_hardware_profile('c1-xlarge') do
+    cpu               2
+    memory            7
+    storage        1690
+    architecture 'x86_64'
+  end
+
   define_instance_states do
     start.to( :pending )         .automatically
 

Added: incubator/deltacloud/trunk/server/lib/deltacloud/hardware_profile.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/hardware_profile.rb?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/hardware_profile.rb (added)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/hardware_profile.rb Thu Jul  8 23:30:02 2010
@@ -0,0 +1,54 @@
+
+module Deltacloud
+  class HardwareProfile
+
+    attr_reader :name
+    attr_reader :cpu
+    attr_reader :architecture
+    attr_reader :memory
+    attr_reader :storage
+
+    def initialize(name,&block)
+      @name         = name
+      @cpu          = 1
+      @memory       = 0
+      @storage      = 0
+      @architecture = 1
+      @mutable      = false
+      instance_eval &block
+    end
+
+    def cpu(values=nil)
+      ( @cpu = values ) unless values.nil?
+      @cpu
+    end
+
+    def architecture(values=nil)
+      ( @architecture = values ) unless values.nil?
+      @architecture
+    end
+
+    def memory(values=nil)
+      ( @memory = values ) unless values.nil?
+      @memory
+    end
+
+    def storage(values=nil)
+      ( @storage = values ) unless values.nil?
+      @storage
+    end
+
+    def mutable
+      @mutable = true
+    end
+
+    def immutable
+      @mutable = false
+    end
+
+    def mutable?
+      @mutable
+    end
+
+  end
+end

Added: incubator/deltacloud/trunk/server/public/images/grid.png
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/public/images/grid.png?rev=962162&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/deltacloud/trunk/server/public/images/grid.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: incubator/deltacloud/trunk/server/public/stylesheets/compiled/application.css
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/public/stylesheets/compiled/application.css?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/public/stylesheets/compiled/application.css (added)
+++ incubator/deltacloud/trunk/server/public/stylesheets/compiled/application.css Thu Jul  8 23:30:02 2010
@@ -0,0 +1,609 @@
+/* line 4, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+html, body {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  font-weight: inherit;
+  font-style: inherit;
+  font-size: 100%;
+  font-family: inherit;
+  vertical-align: baseline; }
+
+/* line 12, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
+pre, a, abbr, acronym, address, code, del, dfn, em, img,
+dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  font-weight: inherit;
+  font-style: inherit;
+  font-size: 100%;
+  font-family: inherit;
+  vertical-align: baseline; }
+
+/* line 16, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+blockquote, q {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  font-weight: inherit;
+  font-style: inherit;
+  font-size: 100%;
+  font-family: inherit;
+  vertical-align: baseline;
+  quotes: "" ""; }
+  /* line 42, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+  blockquote:before, q:before,
+  blockquote:after, q:after {
+    content: ""; }
+
+/* line 18, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+th, td, caption {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  font-weight: inherit;
+  font-style: inherit;
+  font-size: 100%;
+  font-family: inherit;
+  vertical-align: baseline;
+  text-align: left;
+  font-weight: normal;
+  vertical-align: middle; }
+
+/* line 20, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+table {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  font-weight: inherit;
+  font-style: inherit;
+  font-size: 100%;
+  font-family: inherit;
+  vertical-align: baseline;
+  border-collapse: separate;
+  border-spacing: 0;
+  vertical-align: middle; }
+
+/* line 22, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+a img {
+  border: none; }
+
+/* line 22, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+body.bp {
+  line-height: 1.5;
+  font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
+  color: #333333;
+  font-size: 75%; }
+  /* line 53, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h1 {
+    font-weight: normal;
+    color: #222222;
+    font-size: 3em;
+    line-height: 1;
+    margin-bottom: 0.5em; }
+    /* line 58, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+    body.bp h1 img {
+      margin: 0; }
+  /* line 60, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h2 {
+    font-weight: normal;
+    color: #222222;
+    font-size: 2em;
+    margin-bottom: 0.75em; }
+  /* line 64, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h3 {
+    font-weight: normal;
+    color: #222222;
+    font-size: 1.5em;
+    line-height: 1;
+    margin-bottom: 1em; }
+  /* line 69, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h4 {
+    font-weight: normal;
+    color: #222222;
+    font-size: 1.2em;
+    line-height: 1.25;
+    margin-bottom: 1.25em; }
+  /* line 74, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h5 {
+    font-weight: normal;
+    color: #222222;
+    font-size: 1em;
+    font-weight: bold;
+    margin-bottom: 1.5em; }
+  /* line 79, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h6 {
+    font-weight: normal;
+    color: #222222;
+    font-size: 1em;
+    font-weight: bold; }
+  /* line 83, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h2 img, body.bp h3 img, body.bp h4 img, body.bp h5 img, body.bp h6 img {
+    margin: 0; }
+  /* line 85, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp p {
+    margin: 0 0 1.5em; }
+    /* line 87, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+    body.bp p img.left {
+      display: inline;
+      float: left;
+      margin: 1.5em 1.5em 1.5em 0;
+      padding: 0; }
+    /* line 91, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+    body.bp p img.right {
+      display: inline;
+      float: right;
+      margin: 1.5em 0 1.5em 1.5em;
+      padding: 0; }
+  /* line 95, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp a {
+    text-decoration: underline;
+    color: #000099; }
+    /* line 12, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass */
+    body.bp a:visited {
+      color: #000066; }
+    /* line 15, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass */
+    body.bp a:focus {
+      color: black; }
+    /* line 18, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass */
+    body.bp a:hover {
+      color: black; }
+    /* line 21, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass */
+    body.bp a:active {
+      color: #cc0099; }
+  /* line 98, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp blockquote {
+    margin: 1.5em;
+    color: #666;
+    font-style: italic; }
+  /* line 102, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp strong {
+    font-weight: bold; }
+  /* line 104, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp em {
+    font-style: italic; }
+  /* line 106, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp dfn {
+    font-style: italic;
+    font-weight: bold; }
+  /* line 109, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp sup, body.bp sub {
+    line-height: 0; }
+  /* line 111, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp abbr, body.bp acronym {
+    border-bottom: 1px dotted #666; }
+  /* line 113, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp address {
+    margin: 0 0 1.5em;
+    font-style: italic; }
+  /* line 116, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp del {
+    color: #666; }
+  /* line 118, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp pre {
+    margin: 1.5em 0;
+    white-space: pre; }
+  /* line 121, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp pre, body.bp code, body.bp tt {
+    font: 1em 'andale mono', 'lucida console', monospace;
+    line-height: 1.5; }
+  /* line 123, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp li ul, body.bp li ol {
+    margin: 0 1.5em; }
+  /* line 125, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp ul {
+    margin: 0 1.5em 1.5em 1.5em;
+    list-style-type: disc; }
+  /* line 128, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp ol {
+    margin: 0 1.5em 1.5em 1.5em;
+    list-style-type: decimal; }
+  /* line 131, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp dl {
+    margin: 0 0 1.5em 0; }
+    /* line 133, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+    body.bp dl dt {
+      font-weight: bold; }
+  /* line 135, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp dd {
+    margin-left: 1.5em; }
+  /* line 137, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp table {
+    margin-bottom: 1.4em;
+    width: 100%; }
+  /* line 140, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp th {
+    font-weight: bold; }
+  /* line 142, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp thead th {
+    background: #c3d9ff; }
+  /* line 144, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp th, body.bp td, body.bp caption {
+    padding: 4px 10px 4px 5px; }
+  /* line 146, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp tr.even td {
+    background: #e5ecf9; }
+  /* line 148, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp tfoot {
+    font-style: italic; }
+  /* line 150, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp caption {
+    background: #eee; }
+  /* line 152, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp .quiet {
+    color: #666666; }
+  /* line 154, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp .loud {
+    color: #111111; }
+
+/* line 36, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass */
+body.bp .box {
+  padding: 1.5em;
+  margin-bottom: 1.5em;
+  background: #E5ECF9; }
+/* line 39, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass */
+body.bp div.border {
+  padding-right: 4px;
+  margin-right: 5px;
+  border-right: 1px solid #eeeeee; }
+/* line 42, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass */
+body.bp div.colborder {
+  padding-right: 24px;
+  margin-right: 25px;
+  border-right: 1px solid #eeeeee; }
+/* line 44, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass */
+body.bp hr {
+  background: #dddddd;
+  color: #dddddd;
+  clear: both;
+  float: none;
+  width: 100%;
+  height: .1em;
+  margin: 0 0 1.45em;
+  border: none; }
+/* line 46, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass */
+body.bp hr.space {
+  background: #dddddd;
+  color: #dddddd;
+  clear: both;
+  float: none;
+  width: 100%;
+  height: .1em;
+  margin: 0 0 1.45em;
+  border: none;
+  background: #fff;
+  color: #fff; }
+
+/* line 9, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .clear {
+  clear: both; }
+/* line 12, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .nowrap {
+  white-space: nowrap; }
+/* line 16, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .clearfix {
+  overflow: hidden;
+  display: inline-block; }
+  /* line 5, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass */
+  body.bp .clearfix {
+    display: block; }
+/* line 18, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .small {
+  font-size: .8em;
+  margin-bottom: 1.875em;
+  line-height: 1.875em; }
+/* line 22, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .large {
+  font-size: 1.2em;
+  line-height: 2.5em;
+  margin-bottom: 1.25em; }
+/* line 26, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .first {
+  margin-left: 0;
+  padding-left: 0; }
+/* line 29, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .last {
+  margin-right: 0;
+  padding-right: 0; }
+/* line 32, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .top {
+  margin-top: 0;
+  padding-top: 0; }
+/* line 35, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .bottom {
+  margin-bottom: 0;
+  padding-bottom: 0; }
+/* line 7, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass */
+body.bp .showgrid {
+  background: url('/images/grid.png?1259629381'); }
+/* line 5, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .error {
+  padding: .8em;
+  margin-bottom: 1em;
+  border: 2px solid #dddddd;
+  background: #fbe3e4;
+  color: #8a1f11;
+  border-color: #fbc2c4; }
+  /* line 30, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+  body.bp .error a {
+    color: #8a1f11; }
+/* line 7, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .notice {
+  padding: .8em;
+  margin-bottom: 1em;
+  border: 2px solid #dddddd;
+  background: #fff6bf;
+  color: #514721;
+  border-color: #ffd324; }
+  /* line 38, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+  body.bp .notice a {
+    color: #514721; }
+/* line 9, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .success {
+  padding: .8em;
+  margin-bottom: 1em;
+  border: 2px solid #dddddd;
+  background: #e6efc2;
+  color: #264409;
+  border-color: #c6d880; }
+  /* line 46, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+  body.bp .success a {
+    color: #264409; }
+/* line 11, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .hide {
+  display: none; }
+/* line 13, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .highlight {
+  background: yellow; }
+/* line 15, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .added {
+  background: #006600;
+  color: white; }
+/* line 17, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .removed {
+  background: #990000;
+  color: white; }
+
+/* line 15, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp label {
+  font-weight: bold; }
+/* line 17, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp fieldset {
+  padding: 1.4em;
+  margin: 0 0 1.5em 0; }
+/* line 20, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp legend {
+  font-weight: bold;
+  font-size: 1.2em; }
+/* line 24, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp input.text, form.bp input.title, form.bp input[type=text] {
+  margin: 0.5em 0;
+  background-color: #fff;
+  padding: 5px; }
+/* line 28, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp input.title {
+  font-size: 1.5em; }
+/* line 30, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp input[type=checkbox], form.bp input.checkbox,
+form.bp input[type=radio], form.bp input.radio {
+  position: relative;
+  top: 0.25em; }
+/* line 34, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp textarea {
+  margin: 0.5em 0;
+  padding: 5px; }
+/* line 37, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp select {
+  margin: 0.5em 0; }
+/* line 48, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp fieldset {
+  border: 1px solid #cccccc; }
+/* line 50, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp input.text, form.bp input.title,
+form.bp textarea,
+form.bp select {
+  border: 1px solid #bbbbbb; }
+  /* line 54, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+  form.bp input.text:focus, form.bp input.title:focus,
+  form.bp textarea:focus,
+  form.bp select:focus {
+    border: 1px solid #666666; }
+/* line 41, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp input.text, form.bp input.title {
+  width: 300px; }
+/* line 43, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp textarea {
+  width: 390px;
+  height: 250px; }
+
+/* line 27, ../../../app/stylesheets/screen.sass */
+body.three-col #container {
+  width: 950px;
+  margin: 0 auto;
+  overflow: hidden;
+  display: inline-block; }
+  /* line 5, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass */
+  body.three-col #container {
+    display: block; }
+/* line 29, ../../../app/stylesheets/screen.sass */
+body.three-col #header, body.three-col #footer {
+  display: inline;
+  float: left;
+  margin-right: 10px;
+  width: 950px; }
+  /* line 101, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass */
+  * html body.three-col #header, * html body.three-col #footer {
+    overflow-x: hidden; }
+/* line 31, ../../../app/stylesheets/screen.sass */
+body.three-col #sidebar {
+  display: inline;
+  float: left;
+  margin-right: 10px;
+  width: 310px; }
+  /* line 101, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass */
+  * html body.three-col #sidebar {
+    overflow-x: hidden; }
+/* line 35, ../../../app/stylesheets/screen.sass */
+body.three-col #content {
+  display: inline;
+  float: left;
+  margin-right: 0;
+  width: 630px; }
+  /* line 101, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass */
+  * html body.three-col #content {
+    overflow-x: hidden; }
+
+/* line 9, ../../../app/stylesheets/application.sass */
+html {
+  background-color: white; }
+
+/* line 12, ../../../app/stylesheets/application.sass */
+body {
+  font-family: "Trebuchet MS";
+  font-size: 90%; }
+  /* line 15, ../../../app/stylesheets/application.sass */
+  body a {
+    color: #205481; }
+
+/* line 18, ../../../app/stylesheets/application.sass */
+#wrapper {
+  width: 950px;
+  margin: 0 auto;
+  overflow: hidden;
+  display: inline-block; }
+  /* line 5, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass */
+  #wrapper {
+    display: block; }
+
+/* line 21, ../../../app/stylesheets/application.sass */
+#header {
+  padding: 1em;
+  background-image: url('/images/topbar-bg.png'); }
+  /* line 24, ../../../app/stylesheets/application.sass */
+  #header img {
+    margin-bottom: 1em; }
+
+/* line 27, ../../../app/stylesheets/application.sass */
+#content {
+  margin-bottom: 2em; }
+
+/* line 30, ../../../app/stylesheets/application.sass */
+#footer {
+  border-top: 1px solid #BBB;
+  padding-top: 1ex;
+  text-align: right;
+  color: #BBB;
+  font-size: 70%; }
+
+/* line 38, ../../../app/stylesheets/application.sass */
+#content h1 {
+  font-size: 160%;
+  margin-bottom: 1ex; }
+/* line 41, ../../../app/stylesheets/application.sass */
+#content h2 {
+  font-size: 140%;
+  margin-bottom: 1ex; }
+/* line 44, ../../../app/stylesheets/application.sass */
+#content h3 {
+  font-size: 120%;
+  margin-bottom: 1ex; }
+/* line 47, ../../../app/stylesheets/application.sass */
+#content dl {
+  font-size: 90%;
+  margin-bottom: 1em; }
+  /* line 50, ../../../app/stylesheets/application.sass */
+  #content dl di {
+    display: block;
+    margin-bottom: 1em; }
+    /* line 53, ../../../app/stylesheets/application.sass */
+    #content dl di dt, #content dl di dd {
+      padding: .5ex; }
+    /* line 55, ../../../app/stylesheets/application.sass */
+    #content dl di dt {
+      font-weight: bold;
+      background-color: #cccccc; }
+    /* line 58, ../../../app/stylesheets/application.sass */
+    #content dl di dd {
+      padding-left: 1em;
+      background-color: #eeeeee; }
+/* line 62, ../../../app/stylesheets/application.sass */
+#content ul li {
+  list-style-type: square;
+  margin-left: 1em; }
+/* line 66, ../../../app/stylesheets/application.sass */
+#content em {
+  font-style: italic; }
+
+/* line 70, ../../../app/stylesheets/application.sass */
+ul.breadcrumb {
+  background-color: #eee;
+  border: 1px solid #6498c5;
+  padding: 1ex;
+  font-size: 90%;
+  margin-bottom: 1em; }
+  /* line 76, ../../../app/stylesheets/application.sass */
+  ul.breadcrumb a {
+    text-decoration: none; }
+  /* line 78, ../../../app/stylesheets/application.sass */
+  ul.breadcrumb li {
+    display: inline; }
+    /* line 81, ../../../app/stylesheets/application.sass */
+    ul.breadcrumb li.subsequent:before {
+      content: " >> "; }
+
+/* line 84, ../../../app/stylesheets/application.sass */
+table {
+  width: 100%; }
+  /* line 86, ../../../app/stylesheets/application.sass */
+  table th, table td {
+    padding: .5ex;
+    font-size: 90%; }
+  /* line 89, ../../../app/stylesheets/application.sass */
+  table th {
+    font-weight: bold;
+    background-color: #cccccc; }
+  /* line 92, ../../../app/stylesheets/application.sass */
+  table td {
+    background-color: #eeeeee; }
+
+/* line 96, ../../../app/stylesheets/application.sass */
+table.states tr {
+  border-bottom: 1px solid #bbbbbb; }
+/* line 98, ../../../app/stylesheets/application.sass */
+table.states th, table.states td {
+  vertical-align: top; }
+
+/* line 103, ../../../app/stylesheets/application.sass */
+table tr td {
+  border-bottom: 1px solid white; }
+
+/* line 106, ../../../app/stylesheets/application.sass */
+.radio-group {
+  font-size: 90%;
+  margin-bottom: 1em;
+  background-color: #cccccc; }
+  /* line 110, ../../../app/stylesheets/application.sass */
+  .radio-group label {
+    font-weight: bold; }
+
+/* line 113, ../../../app/stylesheets/application.sass */
+.radio-group-details {
+  font-weight: normal;
+  display: block;
+  padding-left: 1em;
+  background-color: #eeeeee;
+  padding: 1ex; }
+
+/* line 120, ../../../app/stylesheets/application.sass */
+input[type='radio'] {
+  margin-top: 1ex;
+  margin-left: 1ex;
+  margin-bottom: 1ex; }
+
+/* line 125, ../../../app/stylesheets/application.sass */
+#state_graph {
+  display: block;
+  margin-bottom: 2em;
+  text-align: center; }

Added: incubator/deltacloud/trunk/server/public/stylesheets/compiled/ie.css
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/public/stylesheets/compiled/ie.css?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/public/stylesheets/compiled/ie.css (added)
+++ incubator/deltacloud/trunk/server/public/stylesheets/compiled/ie.css Thu Jul  8 23:30:02 2010
@@ -0,0 +1,31 @@
+body { text-align: center; }
+* html body legend { margin: 0px -8px 16px 0; padding: 0; }
+html>body p code { *white-space: normal; }
+
+.container { text-align: left; }
+
+ol { margin-left: 2em; }
+
+sup { vertical-align: text-top; }
+
+sub { vertical-align: text-bottom; }
+
+hr { margin: -8px auto 11px; }
+
+img { -ms-interpolation-mode: bicubic; }
+
+fieldset { padding-top: 0; }
+
+input.text { margin: 0.5em 0; background-color: #fff; border: 1px solid #bbb; }
+input.text:focus { border: 1px solid #666; }
+input.title { margin: 0.5em 0; background-color: #fff; border: 1px solid #bbb; }
+input.title:focus { border: 1px solid #666; }
+input.checkbox { position: relative; top: 0.25em; }
+input.radio { position: relative; top: 0.25em; }
+input.button { position: relative; top: 0.25em; }
+
+textarea { margin: 0.5em 0; }
+
+select { margin: 0.5em 0; }
+
+button { position: relative; top: 0.25em; }

Added: incubator/deltacloud/trunk/server/public/stylesheets/compiled/print.css
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/public/stylesheets/compiled/print.css?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/public/stylesheets/compiled/print.css (added)
+++ incubator/deltacloud/trunk/server/public/stylesheets/compiled/print.css Thu Jul  8 23:30:02 2010
@@ -0,0 +1,27 @@
+body { line-height: 1.5; font-family: Helvetica Neue, Arial, Helvetica, sans-serif; color: #000; background: none; font-size: 10pt; }
+
+.container { background: none; }
+
+hr { background: #ccc; color: #ccc; width: 100%; height: 2px; margin: 2em 0; padding: 0; border: none; }
+hr.space { background: #fff; color: #fff; }
+
+h1, h2, h3, h4, h5, h6 { font-family: Helvetica Neue, Arial, Helvetica, sans-serif; }
+
+code { font-size: .9em; font-family: 'andale mono', 'lucida console', monospace; }
+
+img { display: inline; float: left; margin: 1.5em 1.5em 1.5em 0; }
+
+a img { border: none; }
+a:link, a:visited { background: transparent; font-weight: 700; text-decoration: underline; }
+
+p img.top { margin-top: 0; }
+
+blockquote { margin: 1.5em; padding: 1em; font-style: italic; font-size: .9em; }
+
+.small { font-size: .9em; }
+
+.large { font-size: 1.1em; }
+
+.quiet { color: #999; }
+
+.hide { display: none; }

Added: incubator/deltacloud/trunk/server/public/stylesheets/compiled/screen.css
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/public/stylesheets/compiled/screen.css?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/public/stylesheets/compiled/screen.css (added)
+++ incubator/deltacloud/trunk/server/public/stylesheets/compiled/screen.css Thu Jul  8 23:30:02 2010
@@ -0,0 +1,456 @@
+/* line 4, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+html, body {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  font-weight: inherit;
+  font-style: inherit;
+  font-size: 100%;
+  font-family: inherit;
+  vertical-align: baseline; }
+
+/* line 12, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
+pre, a, abbr, acronym, address, code, del, dfn, em, img,
+dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  font-weight: inherit;
+  font-style: inherit;
+  font-size: 100%;
+  font-family: inherit;
+  vertical-align: baseline; }
+
+/* line 16, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+blockquote, q {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  font-weight: inherit;
+  font-style: inherit;
+  font-size: 100%;
+  font-family: inherit;
+  vertical-align: baseline;
+  quotes: "" ""; }
+  /* line 42, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+  blockquote:before, q:before,
+  blockquote:after, q:after {
+    content: ""; }
+
+/* line 18, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+th, td, caption {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  font-weight: inherit;
+  font-style: inherit;
+  font-size: 100%;
+  font-family: inherit;
+  vertical-align: baseline;
+  text-align: left;
+  font-weight: normal;
+  vertical-align: middle; }
+
+/* line 20, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+table {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  font-weight: inherit;
+  font-style: inherit;
+  font-size: 100%;
+  font-family: inherit;
+  vertical-align: baseline;
+  border-collapse: separate;
+  border-spacing: 0;
+  vertical-align: middle; }
+
+/* line 22, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass */
+a img {
+  border: none; }
+
+/* line 22, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+body.bp {
+  line-height: 1.5;
+  font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
+  color: #333333;
+  font-size: 75%; }
+  /* line 53, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h1 {
+    font-weight: normal;
+    color: #222222;
+    font-size: 3em;
+    line-height: 1;
+    margin-bottom: 0.5em; }
+    /* line 58, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+    body.bp h1 img {
+      margin: 0; }
+  /* line 60, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h2 {
+    font-weight: normal;
+    color: #222222;
+    font-size: 2em;
+    margin-bottom: 0.75em; }
+  /* line 64, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h3 {
+    font-weight: normal;
+    color: #222222;
+    font-size: 1.5em;
+    line-height: 1;
+    margin-bottom: 1em; }
+  /* line 69, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h4 {
+    font-weight: normal;
+    color: #222222;
+    font-size: 1.2em;
+    line-height: 1.25;
+    margin-bottom: 1.25em; }
+  /* line 74, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h5 {
+    font-weight: normal;
+    color: #222222;
+    font-size: 1em;
+    font-weight: bold;
+    margin-bottom: 1.5em; }
+  /* line 79, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h6 {
+    font-weight: normal;
+    color: #222222;
+    font-size: 1em;
+    font-weight: bold; }
+  /* line 83, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp h2 img, body.bp h3 img, body.bp h4 img, body.bp h5 img, body.bp h6 img {
+    margin: 0; }
+  /* line 85, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp p {
+    margin: 0 0 1.5em; }
+    /* line 87, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+    body.bp p img.left {
+      display: inline;
+      float: left;
+      margin: 1.5em 1.5em 1.5em 0;
+      padding: 0; }
+    /* line 91, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+    body.bp p img.right {
+      display: inline;
+      float: right;
+      margin: 1.5em 0 1.5em 1.5em;
+      padding: 0; }
+  /* line 95, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp a {
+    text-decoration: underline;
+    color: #000099; }
+    /* line 12, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass */
+    body.bp a:visited {
+      color: #000066; }
+    /* line 15, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass */
+    body.bp a:focus {
+      color: black; }
+    /* line 18, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass */
+    body.bp a:hover {
+      color: black; }
+    /* line 21, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass */
+    body.bp a:active {
+      color: #cc0099; }
+  /* line 98, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp blockquote {
+    margin: 1.5em;
+    color: #666;
+    font-style: italic; }
+  /* line 102, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp strong {
+    font-weight: bold; }
+  /* line 104, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp em {
+    font-style: italic; }
+  /* line 106, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp dfn {
+    font-style: italic;
+    font-weight: bold; }
+  /* line 109, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp sup, body.bp sub {
+    line-height: 0; }
+  /* line 111, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp abbr, body.bp acronym {
+    border-bottom: 1px dotted #666; }
+  /* line 113, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp address {
+    margin: 0 0 1.5em;
+    font-style: italic; }
+  /* line 116, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp del {
+    color: #666; }
+  /* line 118, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp pre {
+    margin: 1.5em 0;
+    white-space: pre; }
+  /* line 121, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp pre, body.bp code, body.bp tt {
+    font: 1em 'andale mono', 'lucida console', monospace;
+    line-height: 1.5; }
+  /* line 123, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp li ul, body.bp li ol {
+    margin: 0 1.5em; }
+  /* line 125, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp ul {
+    margin: 0 1.5em 1.5em 1.5em;
+    list-style-type: disc; }
+  /* line 128, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp ol {
+    margin: 0 1.5em 1.5em 1.5em;
+    list-style-type: decimal; }
+  /* line 131, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp dl {
+    margin: 0 0 1.5em 0; }
+    /* line 133, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+    body.bp dl dt {
+      font-weight: bold; }
+  /* line 135, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp dd {
+    margin-left: 1.5em; }
+  /* line 137, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp table {
+    margin-bottom: 1.4em;
+    width: 100%; }
+  /* line 140, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp th {
+    font-weight: bold; }
+  /* line 142, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp thead th {
+    background: #c3d9ff; }
+  /* line 144, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp th, body.bp td, body.bp caption {
+    padding: 4px 10px 4px 5px; }
+  /* line 146, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp tr.even td {
+    background: #e5ecf9; }
+  /* line 148, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp tfoot {
+    font-style: italic; }
+  /* line 150, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp caption {
+    background: #eee; }
+  /* line 152, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp .quiet {
+    color: #666666; }
+  /* line 154, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass */
+  body.bp .loud {
+    color: #111111; }
+
+/* line 36, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass */
+body.bp .box {
+  padding: 1.5em;
+  margin-bottom: 1.5em;
+  background: #E5ECF9; }
+/* line 39, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass */
+body.bp div.border {
+  padding-right: 4px;
+  margin-right: 5px;
+  border-right: 1px solid #eeeeee; }
+/* line 42, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass */
+body.bp div.colborder {
+  padding-right: 24px;
+  margin-right: 25px;
+  border-right: 1px solid #eeeeee; }
+/* line 44, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass */
+body.bp hr {
+  background: #dddddd;
+  color: #dddddd;
+  clear: both;
+  float: none;
+  width: 100%;
+  height: .1em;
+  margin: 0 0 1.45em;
+  border: none; }
+/* line 46, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass */
+body.bp hr.space {
+  background: #dddddd;
+  color: #dddddd;
+  clear: both;
+  float: none;
+  width: 100%;
+  height: .1em;
+  margin: 0 0 1.45em;
+  border: none;
+  background: #fff;
+  color: #fff; }
+
+/* line 9, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .clear {
+  clear: both; }
+/* line 12, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .nowrap {
+  white-space: nowrap; }
+/* line 16, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .clearfix {
+  overflow: hidden;
+  display: inline-block; }
+  /* line 5, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass */
+  body.bp .clearfix {
+    display: block; }
+/* line 18, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .small {
+  font-size: .8em;
+  margin-bottom: 1.875em;
+  line-height: 1.875em; }
+/* line 22, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .large {
+  font-size: 1.2em;
+  line-height: 2.5em;
+  margin-bottom: 1.25em; }
+/* line 26, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .first {
+  margin-left: 0;
+  padding-left: 0; }
+/* line 29, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .last {
+  margin-right: 0;
+  padding-right: 0; }
+/* line 32, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .top {
+  margin-top: 0;
+  padding-top: 0; }
+/* line 35, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass */
+body.bp .bottom {
+  margin-bottom: 0;
+  padding-bottom: 0; }
+/* line 7, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass */
+body.bp .showgrid {
+  background: url('/images/grid.png?1259629381'); }
+/* line 5, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .error {
+  padding: .8em;
+  margin-bottom: 1em;
+  border: 2px solid #dddddd;
+  background: #fbe3e4;
+  color: #8a1f11;
+  border-color: #fbc2c4; }
+  /* line 30, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+  body.bp .error a {
+    color: #8a1f11; }
+/* line 7, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .notice {
+  padding: .8em;
+  margin-bottom: 1em;
+  border: 2px solid #dddddd;
+  background: #fff6bf;
+  color: #514721;
+  border-color: #ffd324; }
+  /* line 38, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+  body.bp .notice a {
+    color: #514721; }
+/* line 9, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .success {
+  padding: .8em;
+  margin-bottom: 1em;
+  border: 2px solid #dddddd;
+  background: #e6efc2;
+  color: #264409;
+  border-color: #c6d880; }
+  /* line 46, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+  body.bp .success a {
+    color: #264409; }
+/* line 11, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .hide {
+  display: none; }
+/* line 13, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .highlight {
+  background: yellow; }
+/* line 15, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .added {
+  background: #006600;
+  color: white; }
+/* line 17, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass */
+body.bp .removed {
+  background: #990000;
+  color: white; }
+
+/* line 15, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp label {
+  font-weight: bold; }
+/* line 17, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp fieldset {
+  padding: 1.4em;
+  margin: 0 0 1.5em 0; }
+/* line 20, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp legend {
+  font-weight: bold;
+  font-size: 1.2em; }
+/* line 24, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp input.text, form.bp input.title, form.bp input[type=text] {
+  margin: 0.5em 0;
+  background-color: #fff;
+  padding: 5px; }
+/* line 28, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp input.title {
+  font-size: 1.5em; }
+/* line 30, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp input[type=checkbox], form.bp input.checkbox,
+form.bp input[type=radio], form.bp input.radio {
+  position: relative;
+  top: 0.25em; }
+/* line 34, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp textarea {
+  margin: 0.5em 0;
+  padding: 5px; }
+/* line 37, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp select {
+  margin: 0.5em 0; }
+/* line 48, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp fieldset {
+  border: 1px solid #cccccc; }
+/* line 50, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp input.text, form.bp input.title,
+form.bp textarea,
+form.bp select {
+  border: 1px solid #bbbbbb; }
+  /* line 54, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+  form.bp input.text:focus, form.bp input.title:focus,
+  form.bp textarea:focus,
+  form.bp select:focus {
+    border: 1px solid #666666; }
+/* line 41, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp input.text, form.bp input.title {
+  width: 300px; }
+/* line 43, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass */
+form.bp textarea {
+  width: 390px;
+  height: 250px; }
+
+/* line 27, ../../../app/stylesheets/screen.sass */
+body.three-col #container {
+  width: 950px;
+  margin: 0 auto;
+  overflow: hidden;
+  display: inline-block; }
+  /* line 5, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass */
+  body.three-col #container {
+    display: block; }
+/* line 29, ../../../app/stylesheets/screen.sass */
+body.three-col #header, body.three-col #footer {
+  display: inline;
+  float: left;
+  margin-right: 10px;
+  width: 950px; }
+  /* line 101, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass */
+  * html body.three-col #header, * html body.three-col #footer {
+    overflow-x: hidden; }
+/* line 31, ../../../app/stylesheets/screen.sass */
+body.three-col #sidebar {
+  display: inline;
+  float: left;
+  margin-right: 10px;
+  width: 310px; }
+  /* line 101, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass */
+  * html body.three-col #sidebar {
+    overflow-x: hidden; }
+/* line 35, ../../../app/stylesheets/screen.sass */
+body.three-col #content {
+  display: inline;
+  float: left;
+  margin-right: 0;
+  width: 630px; }
+  /* line 101, ../../../../../../../.gem/ruby/1.8/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass */
+  * html body.three-col #content {
+    overflow-x: hidden; }

Added: incubator/deltacloud/trunk/server/test/functional/hardware_profiles_controller_test.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/test/functional/hardware_profiles_controller_test.rb?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/test/functional/hardware_profiles_controller_test.rb (added)
+++ incubator/deltacloud/trunk/server/test/functional/hardware_profiles_controller_test.rb Thu Jul  8 23:30:02 2010
@@ -0,0 +1,8 @@
+require 'test_helper'
+
+class HardwareProfilesControllerTest < ActionController::TestCase
+  # Replace this with your real tests.
+  test "the truth" do
+    assert true
+  end
+end

Added: incubator/deltacloud/trunk/server/test/unit/helpers/hardware_profiles_helper_test.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/test/unit/helpers/hardware_profiles_helper_test.rb?rev=962162&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/test/unit/helpers/hardware_profiles_helper_test.rb (added)
+++ incubator/deltacloud/trunk/server/test/unit/helpers/hardware_profiles_helper_test.rb Thu Jul  8 23:30:02 2010
@@ -0,0 +1,4 @@
+require 'test_helper'
+
+class HardwareProfilesHelperTest < ActionView::TestCase
+end

Modified: incubator/deltacloud/trunk/server/vendor/plugins/haml/init.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/vendor/plugins/haml/init.rb?rev=962162&r1=962161&r2=962162&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/vendor/plugins/haml/init.rb (original)
+++ incubator/deltacloud/trunk/server/vendor/plugins/haml/init.rb Thu Jul  8 23:30:02 2010
@@ -1,8 +1,16 @@
 begin
   require File.join(File.dirname(__FILE__), 'lib', 'haml') # From here
 rescue LoadError
-  require 'haml' # From gem
+  begin
+    require 'haml' # From gem
+  rescue LoadError => e
+    # gems:install may be run to install Haml with the skeleton plugin
+    # but not the gem itself installed.
+    # Don't die if this is the case.
+    raise e unless defined?(Rake) && Rake.application.top_level_tasks.include?('gems:install')
+  end
 end
 
-# Load Haml and Sass
-Haml.init_rails(binding)
+# Load Haml and Sass.
+# Haml may be undefined if we're running gems:install.
+Haml.init_rails(binding) if defined?(Haml)



Mime
View raw message