<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>chef-server-slice/public/images/add.png</filename>
    </added>
    <added>
      <filename>chef-server-slice/public/images/delete.png</filename>
    </added>
    <added>
      <filename>chef-server-slice/public/javascripts/editor.js</filename>
    </added>
    <added>
      <filename>chef-server-slice/public/javascripts/jquery.timers.js</filename>
    </added>
    <added>
      <filename>chef-server-slice/public/javascripts/json2.js</filename>
    </added>
    <added>
      <filename>chef-server-slice/public/stylesheets/base.css</filename>
    </added>
    <added>
      <filename>chef-server-slice/public/stylesheets/editor.css</filename>
    </added>
    <added>
      <filename>chef-server-slice/public/stylesheets/themes</filename>
    </added>
    <added>
      <filename>chef-server-slice/public/web-app-theme</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,6 @@
 [submodule &quot;chef-server-slice/public/javascripts/jsoneditor&quot;]
 	path = chef-server-slice/public/javascripts/jsoneditor
 	url = git://github.com/iterationlabs/jsoneditor.git
+[submodule &quot;chef-server-slice/public/web-app-theme&quot;]
+	path = chef-server-slice/public/web-app-theme
+	url = git://github.com/pilu/web-app-theme.git</diff>
      <filename>.gitmodules</filename>
    </modified>
    <modified>
      <diff>@@ -38,11 +38,8 @@ class ChefServerSlice::Nodes &lt; ChefServerSlice::Application
     rescue Net::HTTPServerException =&gt; e
       raise NotFound, &quot;Cannot load node #{params[:id]}&quot;
     end
-    if request.xhr?
-      render JSON.pretty_generate(@node), :layout =&gt; false
-    else
-      display @node
-    end
+
+    display @node
   end
 
   def create</diff>
      <filename>chef-server-slice/app/controllers/nodes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,11 +4,10 @@
   %head
     %meta{ &quot;http-equiv&quot; =&gt; &quot;content-type&quot;, :content =&gt; &quot;text/html; charset=utf-8&quot; }
     %title Chef Server
-    = css_include_tag &quot;base&quot;, &quot;themes/blue/style&quot;, &quot;chef&quot;, &quot;/facebox/facebox.css&quot;
-    = js_include_tag &quot;jquery-1.3.1.min&quot;, &quot;jquery.jeditable.mini&quot;, &quot;jquery.livequery&quot;, &quot;jquery.localscroll&quot;, &quot;jquery.scrollTo&quot;, &quot;jquery.editinline&quot;
-    = js_include_tag &quot;chef&quot;
-    = js_include_tag &quot;/facebox/facebox.js&quot;
-    
+    = css_include_tag &quot;base&quot;, &quot;themes/djime-cerulean/style&quot;, &quot;chef&quot;, &quot;/facebox/facebox.css&quot;, &quot;editor&quot;
+    = js_include_tag &quot;jquery-1.3.1.min&quot;, &quot;jquery.jeditable.mini&quot;, &quot;jquery.livequery&quot;, &quot;jquery.localscroll&quot;, &quot;jquery.scrollTo&quot;, &quot;jquery.timers&quot;, &quot;json2.js&quot;
+    = js_include_tag &quot;chef&quot;, &quot;editor&quot;, &quot;/facebox/facebox.js&quot;
+        
   %body
     #container
       #header</diff>
      <filename>chef-server-slice/app/views/layout/chef_server_slice.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -5,12 +5,14 @@
       %table.table
         %tr
           %th.first Node Name
+          %th &amp;nbsp
+          %th Control
           %th.last &amp;nbsp
           - if @node_list.empty?
             %tr
-              %td= &quot;You appear to have no nodes - try connecting one, or validating an existing #{link_to('registration', slice_url(:registrations))}&quot;
+              %td{:colspan =&gt; 4}= &quot;You appear to have no nodes - try connecting one, or validating an existing #{link_to('registration', slice_url(:registrations))}&quot;
           - else
             - @node_list.each_with_index do |node, index|
               %tr{:class =&gt; &quot;#{index % 2 == 1 ? 'odd' : 'even'}&quot;}
-                %td= link_to node, slice_url(:node, { :id =&gt; node.gsub(/\./, &quot;_&quot; ) } )
+                %td{:colspan =&gt; 2}= link_to node, slice_url(:node, { :id =&gt; node.gsub(/\./, &quot;_&quot; ) } )
                 %td= link_to &quot;Delete&quot;, slice_url(:node, { :id =&gt; node.gsub(/\./, &quot;_&quot;) }), :method =&gt; &quot;delete&quot;, :confirm =&gt; &quot;Are you sure? There is no undo.&quot;
\ No newline at end of file</diff>
      <filename>chef-server-slice/app/views/nodes/index.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -2,10 +2,5 @@
   .content
     %h2.title= &quot;Node #{h @node.name}&quot;
     .inner
-      %div{ :id =&gt; 'node', :class =&gt; &quot;#{session[:level] == :admin ? 'edit_area' : 'non_edit_area'}&quot;, :to_update =&gt; @node.name}
-        %h2 Recipes
-        %ol
-          = recipe_list(@node)
-        %h2 Attributes
-        %ol
-          = attribute_list(@node)
\ No newline at end of file
+      %textarea#attrib_json_edit= JSON.pretty_generate(@node.attribute)
+      %textarea#recipe_json_edit= JSON.pretty_generate(@node.recipes)
\ No newline at end of file</diff>
      <filename>chef-server-slice/app/views/nodes/show.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -5,10 +5,12 @@
       %table.table
         %tr
           %th.first Registration Name
+          %th &amp;nbsp
+          %th Control
           %th.last &amp;nbsp;
           - @registered_nodes.sort{ |a,b| a.name.to_s &lt;=&gt; b.name.to_s }.each_with_index do |node, index|
             %tr{:class =&gt; &quot;#{index % 2 == 1 ? 'odd' : 'even'}&quot;}
-              %td= link_to(node.name, slice_url(:registration, { :id =&gt; node.name }))
+              %td{:colspan =&gt; 2}= link_to(node.name, slice_url(:registration, { :id =&gt; node.name }))
               %td
                 = link_to((node.validated ? &quot;Invalidate&quot; : &quot;Validate&quot;), slice_url(:validate_registration, { :id =&gt; node.name}), :method =&gt; &quot;post&quot;, :confirm =&gt; &quot;Are you sure you want to toggle this registrations validation?&quot;)
                 |</diff>
      <filename>chef-server-slice/app/views/openid_register/index.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -5,15 +5,16 @@
       %table.table
         %tr
           %th.first Node Name
+          %th &amp;nbsp
           %th State
           %th.last &amp;nbsp
           - if @node_list.empty?
             %tr
-              %td= &quot;You appear to have no nodes - try connecting one, or validating an existing #{link_to('registration', slice_url(:registrations))}&quot;
+              %td{:colspan =&gt; 4}= &quot;You appear to have no nodes - try connecting one, or validating an existing #{link_to('registration', slice_url(:registrations))}&quot;
           - else
             - @node_list.each_with_index do |node, index|
               %tr{:class =&gt; &quot;#{index % 2 == 1 ? 'odd' : 'even'}&quot;}
-                %td= node
+                %td{:colspan =&gt; 2}= node
                 %td
                   = get_info(node)
                   %br</diff>
      <filename>chef-server-slice/app/views/status/index.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -62,4 +62,14 @@ $(document).ready(function(){
 	
 	// global facebox callback
 	$('a[rel*=facebox]').facebox();
+	
+  JSONEditor.prototype.ADD_IMG = '/images/add.png';
+  JSONEditor.prototype.DELETE_IMG = '/images/delete.png';
+  var attrib_editor = new JSONEditor($(&quot;#attrib_json_edit&quot;), 400, 300);
+  attrib_editor.doTruncation(true);
+  attrib_editor.showFunctionButtons();
+  
+  var recipe_editor = new JSONEditor($(&quot;#recipe_json_edit&quot;), 400, 300);
+  recipe_editor.doTruncation(true);
+  recipe_editor.showFunctionButtons();
 });
\ No newline at end of file</diff>
      <filename>chef-server-slice/public/javascripts/chef.js</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>chef-server-slice/public/stylesheets/base.css</filename>
    </removed>
    <removed>
      <filename>chef-server-slice/public/stylesheets/themes/bec-green/style.css</filename>
    </removed>
    <removed>
      <filename>chef-server-slice/public/stylesheets/themes/bec/style.css</filename>
    </removed>
    <removed>
      <filename>chef-server-slice/public/stylesheets/themes/blue/style.css</filename>
    </removed>
    <removed>
      <filename>chef-server-slice/public/stylesheets/themes/default/style.css</filename>
    </removed>
    <removed>
      <filename>chef-server-slice/public/stylesheets/themes/kathleene/style.css</filename>
    </removed>
    <removed>
      <filename>chef-server-slice/public/stylesheets/themes/orange/style.css</filename>
    </removed>
    <removed>
      <filename>chef-server-slice/public/stylesheets/themes/reidb-greenish/style.css</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>047bf52647e673d2359168f12e64ea9abed67c41</id>
    </parent>
  </parents>
  <author>
    <name>AJ Christensen</name>
    <email>aj@junglist.gen.nz</email>
  </author>
  <url>http://github.com/joewilliams/chef/commit/67009d2787ca47ce0b6d48ff9ae4524406a3246c</url>
  <id>67009d2787ca47ce0b6d48ff9ae4524406a3246c</id>
  <committed-date>2009-04-10T23:46:17-07:00</committed-date>
  <authored-date>2009-04-10T23:46:17-07:00</authored-date>
  <message>Submodule the web-app-theme</message>
  <tree>2d14e102e4a487bddb6ea40882f0409aef7d575b</tree>
  <committer>
    <name>AJ Christensen</name>
    <email>aj@junglist.gen.nz</email>
  </committer>
</commit>
