Displaying 2 results from an estimated 2 matches for "70cda97".
2010 Sep 03
1
[PATCH] Adding some control over usages in the network creation/edition form
...ools, :controller => 'storage'
end
map.resources :vms, :controller => 'vm'
+ map.resources :usages, :only => [ :create ], :collection => { :remove => :delete }
end
diff --git a/src/public/stylesheets/components.css b/src/public/stylesheets/components.css
index 70cda97..3cdbf49 100644
--- a/src/public/stylesheets/components.css
+++ b/src/public/stylesheets/components.css
@@ -394,3 +394,21 @@
#vm_network_config_add:hover {
cursor: pointer;
}
+
+#network_usages_infos {
+ overflow: hidden;
+ width: 100%;
+}
+
+#network_usages_infos select {
+ float: left;
+}...
2010 Aug 25
2
[PATCH] Virtio support
...ean, :default => false
+ add_column :nics, :virtio, :boolean, :default => false
+ end
+
+ def self.down
+ remove_column :vms, :virtio
+ remove_column :nics, :virtio
+ end
+end
diff --git a/src/public/stylesheets/components.css b/src/public/stylesheets/components.css
index 2cda65d..70cda97 100644
--- a/src/public/stylesheets/components.css
+++ b/src/public/stylesheets/components.css
@@ -367,6 +367,11 @@
max-width: 150px;
}
+.vm_network_config_virtio {
+ float: left;
+ width: 80px;
+}
+
.vm_network_config_net select,
.vm_network_config_mac input,
.vm_network_config_ip input...