You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2011/08/08 11:13:58 UTC
svn commit: r1154879 -
/incubator/deltacloud/trunk/server/views/images/new.html.haml
Author: mfojtik
Date: Mon Aug 8 09:13:58 2011
New Revision: 1154879
URL: http://svn.apache.org/viewvc?rev=1154879&view=rev
Log:
Fixed create image UI
Modified:
incubator/deltacloud/trunk/server/views/images/new.html.haml
Modified: incubator/deltacloud/trunk/server/views/images/new.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/views/images/new.html.haml?rev=1154879&r1=1154878&r2=1154879&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/views/images/new.html.haml (original)
+++ incubator/deltacloud/trunk/server/views/images/new.html.haml Mon Aug 8 09:13:58 2011
@@ -1,14 +1,13 @@
-%h1 Create image from #{@instance.id}
+=header "Create new image"
+=subheader "#{@instance.id}"
-%form{ :action => images_url, :method => :post, :class => :new_instance }
- %input{ :name => :instance_id, :type => :hidden, :value => @instance.id }/
- %p
- %label
- Name:
- %input{ :name => :name, :size => 30, :type => :text }/
- %p
- %label
- Description:
- %textarea{ :name => :description, :cols => 70, :rows => 20}
- %p
- %input{ :type => :submit, :value => 'Create' }
+%div{ :'data-role' => :content, :'data-theme' => 'c', :class => 'middle-dialog'}
+ %form{ :action => images_url, :method => :post}
+ %input{ :type => :hidden, :name => :instance_id, :value => @instance.id}
+ %div{ 'data-role' => :fieldcontain }
+ %label{ :for => :name} Name:
+ %input{ :type => :text, :id => :name, :name => :name, :value => '' }
+ %div{ 'data-role' => :fieldcontain }
+ %label{ :for => :description} Description:
+ %input{ :type => :text, :id => :description, :name => :description, :value => '' }
+ %button{ :type => :submit} Create