- lots of placeholders
---
 src/app/views/templates/build_form.haml |   76 +++++++++++++++++++-----------
 src/public/javascripts/application.js   |    2 +-
 2 files changed, 49 insertions(+), 29 deletions(-)

diff --git a/src/app/views/templates/build_form.haml 
b/src/app/views/templates/build_form.haml
index c600d8a..1918322 100644
--- a/src/app/views/templates/build_form.haml
+++ b/src/app/views/templates/build_form.haml
@@ -1,35 +1,55 @@
 %h2 BUILD REQUEST
 - form_for @image, :url => { :action => "build" } do
   = hidden_field :image, :template_id
-  %h3 DEPLOYMENT DEFINITION
-  = label_tag :deploy_name, 'Deployment Definition Name'
-  = text_field_tag 'deploy_name', 'Deployment Name', :disabled => true
-  = text_field_tag 'deploy_description', 'Deployment Description', :disabled 
=> true
-  %br
-  = check_box_tag 'use_for_machine', 1, true, :disabled => true
-  = label_tag 'use_for_machine', 'Use for Machine Definition Name and 
Description'
-  %br
-  = file_field :templates, :choose_logo, :value => 'Choose Logo', :disabled => 
true
-  = text_field :templates, :logo_text, :value => 'Logo Text (5 characters)', 
:disabled => true
-  %br
-  %label{ :for => :template_group}
-    Template Group
-  = select_tag(:template_group, options_for_select([['User Private', 1]]))
+  %h3 Deployment Definition
+  %fieldset.clearfix
+    = label_tag :deploy_name, 'Deployment Definition Name:', :class => 'grid_4'
+    = text_field_tag 'deploy_name', 'Deployment Name', :disabled => true, 
:class => 'grid_3'
+    = text_field_tag 'deploy_description', 'Deployment Description', :disabled 
=> true, :class => 'grid_3'
+  %fieldset.clearfix
+    .prefix_4.grid_6
+      = check_box_tag 'use_for_machine', 1, true, :disabled => true
+      = label_tag 'use_for_machine', 'Use for Machine Definition Name and 
Description'
+  %fieldset.clearfix
+    .grid_7
+      = file_field :templates, :choose_logo, :value => 'Choose Logo', 
:disabled => true
+    = text_field :templates, :logo_text, :value => 'Logo Text (5 characters)', 
:disabled => true, :class => "grid_3"
 
-  %h3 DEPLOYMENT OPTIONS
-  %hr
-  %b OS:
-  = @image.template.platform
-  %b OS Version:
-  = @image.template.platform_version
-  %h3 BUILD OPTIONS
-  %hr
-  %b Choose Provider Format:
-  %ul
-    - @all_targets.each do |target_id, target|
-      %li
-      = check_box_tag 'targets[]', target_id, false
-      = label_tag 'targets[]', target['name']
+  %fieldset.clearfix
+    %label.grid_4{:for => :template_group}
+      Template Category:
+    .grid_3
+      = select_tag(:template_group, options_for_select([['User Private', 1]]))
+
+  %h3 Deployment Options
+  %fieldset.clearfix
+    .grid_6
+      %label OS:
+      = @image.template.platform
+    .grid_3
+      Hardware Profile
+    .grid_3.suffix_3
+      Locale
+  %fieldset.clearfix
+    .grid_3
+      %label OS Version:
+      = @image.template.platform_version
+    .grid_3.ra
+      %label Global Settings:
+    .grid_3
+      Small
+    .grid_3
+      Any
+    .grid_3
+      = submit_tag "Config", :name => "config", :disabled => true
+  %h3 Build Options
+  %label Choose Provider Format:
+  %section.clearfix.gap
+    %ul.block
+      - @all_targets.each do |target_id, target|
+        %li
+        = check_box_tag 'targets[]', target_id, false, :disabled => true
+        = label_tag 'targets[]', target['name']
 
   = submit_tag "Submit to Build", :name => "build"
   = submit_tag "Cancel", :name => "cancel"
diff --git a/src/public/javascripts/application.js 
b/src/public/javascripts/application.js
index 425b6ad..57bfa35 100644
--- a/src/public/javascripts/application.js
+++ b/src/public/javascripts/application.js
@@ -118,5 +118,5 @@ var Aggregator = {
 
 $(document).ready(function () {
   
$(window).scroll(Aggregator.positionFooter).resize(Aggregator.positionFooter).scroll();
-  $("#notification").enhanceInteraction().change();
+  $("#notification").enhanceInteraction();
 });
-- 
1.7.2.3

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to