!!! XML !!! %html %head %meta{ "http-equiv" => "content-type", :content => "text/html; charset=utf-8" } %title Chef Server = css_include_tag "base", "themes/djime-cerulean/style", "chef", "/facebox/facebox.css", "jquery-ui-1.7.1.custom", "jquery.treeTable", "jsonedit_main.css" = js_include_tag "jquery-1.3.2.min", "jquery.jeditable.mini", "jquery.livequery", "jquery.localscroll", "jquery.scrollTo", "jquery.tools.min" = js_include_tag "/facebox/facebox.js" = js_include_tag "jquery-ui-1.7.1.custom.min" = js_include_tag "jquery.treeTable.min" = js_include_tag "chef" = catch_content :header_content %body #container #header %h1= link_to "Chef Server", slice_url(:top) #user-navigation %ul - if session[:user] %li= link_to "Logout #{h session[:user]} (#{session[:level].to_s})", slice_url(:users_logout), :method => "get", :confirm => "Are you sure you want to logout?" - else %li= link_to "Login", slice_url(:users_login), :rel => "facebox" .clear #main-navigation %ul %li= link_to "Search", slice_url(:searches) %li= link_to "Status", slice_url(:status) %li= link_to "Roles", slice_url(:roles) %li= link_to "Nodes", slice_url(:nodes) %li= link_to "Cookbooks", slice_url(:cookbooks) %li= link_to "Databags", slice_url(:databags) %li= link_to "Clients", slice_url(:clients) %li= link_to "Users", slice_url(:users) .clear #wrapper #main - unless message.empty? .block#block-messages .content %h2.title Messages .inner .flash - message.each do |type, msg| %div{:class => "message #{type}"} %p= msg = catch_content :for_layout #footer .block %p Copyright © 2009 Opscode #sidebar .block.notice#sidebar_block_notice= catch_content :sidebar_block_notice .block#sidebar_block= catch_content :sidebar_block .clear