incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core 2/3] Added new text filed to input Base64 encoded field in new instance UI
Date Tue, 12 Jul 2011 14:22:36 GMT
From: Michal Fojtik <mfojtik@redhat.com>


Signed-off-by: Michal fojtik <mfojtik@redhat.com>
---
 server/views/instances/new.html.haml |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/server/views/instances/new.html.haml b/server/views/instances/new.html.haml
index 70bd9d2..6f8a086 100644
--- a/server/views/instances/new.html.haml
+++ b/server/views/instances/new.html.haml
@@ -27,6 +27,11 @@
         %option
         - @load_balancers.each do |load_balancer|
           %option{:value => load_balancer.id} #{load_balancer.id}
+  -if driver_has_feature?(:user_data)
+    %p
+      %label
+        User data (Base64):
+      %textarea{:name => :user_data, :cols => 60, :rows => 10, :placeholder =>
"Copy&Paste a Base64 string here..."}
   -if driver_has_feature?(:authentication_key)
     %p
       %label
-- 
1.7.4.1


Mime
View raw message