incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r962173 - in /incubator/deltacloud/trunk/server/libexec/app/views: accounts/index.html.haml accounts/show.html.haml instances/index.html.haml instances/show.html.haml layouts/application.html.haml
Date Thu, 08 Jul 2010 23:33:35 GMT
Author: lutter
Date: Thu Jul  8 23:33:35 2010
New Revision: 962173

URL: http://svn.apache.org/viewvc?rev=962173&view=rev
Log:
Fixed copyright, missing tr and images in show account

Modified:
    incubator/deltacloud/trunk/server/libexec/app/views/accounts/index.html.haml
    incubator/deltacloud/trunk/server/libexec/app/views/accounts/show.html.haml
    incubator/deltacloud/trunk/server/libexec/app/views/instances/index.html.haml
    incubator/deltacloud/trunk/server/libexec/app/views/instances/show.html.haml
    incubator/deltacloud/trunk/server/libexec/app/views/layouts/application.html.haml

Modified: incubator/deltacloud/trunk/server/libexec/app/views/accounts/index.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/libexec/app/views/accounts/index.html.haml?rev=962173&r1=962172&r2=962173&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/libexec/app/views/accounts/index.html.haml (original)
+++ incubator/deltacloud/trunk/server/libexec/app/views/accounts/index.html.haml Thu Jul 
8 23:33:35 2010
@@ -2,7 +2,8 @@
 
 %table
   %thead
-    %th ID
+    %tr
+      %th ID
   %tbody
     - @accounts.each do |account|
       %tr

Modified: incubator/deltacloud/trunk/server/libexec/app/views/accounts/show.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/libexec/app/views/accounts/show.html.haml?rev=962173&r1=962172&r2=962173&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/libexec/app/views/accounts/show.html.haml (original)
+++ incubator/deltacloud/trunk/server/libexec/app/views/accounts/show.html.haml Thu Jul  8
23:33:35 2010
@@ -12,3 +12,19 @@
       %tr
         %td
           = link_to instance_id, instance_url( instance_id )
+
+%h2 Images
+
+%table
+  %thead
+    %tr
+      %th Image ID
+      %th Description
+  %tbody
+    %tbody
+      - @images.each do |image|
+        %tr
+          %td
+            = link_to image[:id], image_url( image[:id] )
+          %td
+            = image[:description]

Modified: incubator/deltacloud/trunk/server/libexec/app/views/instances/index.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/libexec/app/views/instances/index.html.haml?rev=962173&r1=962172&r2=962173&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/libexec/app/views/instances/index.html.haml (original)
+++ incubator/deltacloud/trunk/server/libexec/app/views/instances/index.html.haml Thu Jul
 8 23:33:35 2010
@@ -23,9 +23,9 @@
         %td
           = link_to instance.image_id, image_url( instance.image_id )
         %td
-          = instance.flavor_id ? link_to(instance.flavor_id, flavor_url(instance.flavor_url))
: default
+          = instance.flavor_id ? link_to(instance.flavor_id, flavor_url(instance.flavor_url))
: 'default'
         %td 
-          = instance.realm_id ? link_to(instance.realm_id, realm_url( instance.realm_id ))
: default
+          = instance.realm_id ? link_to(instance.realm_id, realm_url( instance.realm_id ))
: 'default'
         %td
           = instance.state
         %td

Modified: incubator/deltacloud/trunk/server/libexec/app/views/instances/show.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/libexec/app/views/instances/show.html.haml?rev=962173&r1=962172&r2=962173&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/libexec/app/views/instances/show.html.haml (original)
+++ incubator/deltacloud/trunk/server/libexec/app/views/instances/show.html.haml Thu Jul 
8 23:33:35 2010
@@ -17,11 +17,11 @@
   %di
     %dt Flavor
     %dd
-      = @instance.flavor_id ? link_to(@instance.flavor_id, flavor_url(@instance.flavor_id))
? default
+      = @instance.flavor_id ? link_to(@instance.flavor_id, flavor_url(@instance.flavor_id))
? 'default'
   %di
     %dt Realm
     %dd
-      = @instance.realm_id ? link_to(@instance.realm_id, realm_url(@instance.realm_id)) ?
default
+      = @instance.realm_id ? link_to(@instance.realm_id, realm_url(@instance.realm_id)) ?
'default'
   %di
     %dt State
     %dd

Modified: incubator/deltacloud/trunk/server/libexec/app/views/layouts/application.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/libexec/app/views/layouts/application.html.haml?rev=962173&r1=962172&r2=962173&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/libexec/app/views/layouts/application.html.haml (original)
+++ incubator/deltacloud/trunk/server/libexec/app/views/layouts/application.html.haml Thu
Jul  8 23:33:35 2010
@@ -19,8 +19,7 @@
         #driver_info
           Driver: #{DRIVER}
         #copyright
-          Copyright 
-          = Time.now.year
+          Copyright 2009, 2010
           #{link_to 'Red Hat', 'http://redhat.com'} and individual contributors.
       
   



Mime
View raw message