summaryrefslogtreecommitdiff
path: root/chef-server/lib/views/nodes/index.html.haml
diff options
context:
space:
mode:
authorBryan McLellan <bryanm@widemile.com>2008-10-13 16:44:09 -0700
committerBryan McLellan <bryanm@widemile.com>2008-10-13 16:44:09 -0700
commit49d2c20c81ce942955fbbf0ab3ff22373051f284 (patch)
tree6ba27f017158497f95d4d7600b9156de68531498 /chef-server/lib/views/nodes/index.html.haml
parentde1bc77f177f20b5d9a95cac546d1dadfd116bcb (diff)
parent0c99f89fcb2a74de5d8638f7f503e5aa8f52b72e (diff)
downloadchef-49d2c20c81ce942955fbbf0ab3ff22373051f284.tar.gz
Merge branch 'master' of git@github.com:hjkp/chef into hjk
Diffstat (limited to 'chef-server/lib/views/nodes/index.html.haml')
-rw-r--r--chef-server/lib/views/nodes/index.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/chef-server/lib/views/nodes/index.html.haml b/chef-server/lib/views/nodes/index.html.haml
new file mode 100644
index 0000000000..667e1c7317
--- /dev/null
+++ b/chef-server/lib/views/nodes/index.html.haml
@@ -0,0 +1,9 @@
+%h1 Node List
+- @node_list.each do |node|
+ .node
+ %a{ :href => url(:node, { :id => node.gsub(/\./, "_") }) }
+ = node
+ %form{ :method => "post", :action => url(:node, { :id => node.gsub(/\./, "_") })}
+ %input{ :type => "hidden", :name => "_method", :value => "delete" }
+ %input{ :type => "submit", :name => "Delete", :value => "Delete" }
+ \ No newline at end of file