summaryrefslogtreecommitdiff
path: root/chef-server/lib/views/layout/application.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'chef-server/lib/views/layout/application.html.haml')
-rw-r--r--chef-server/lib/views/layout/application.html.haml26
1 files changed, 26 insertions, 0 deletions
diff --git a/chef-server/lib/views/layout/application.html.haml b/chef-server/lib/views/layout/application.html.haml
new file mode 100644
index 0000000000..2be4097d29
--- /dev/null
+++ b/chef-server/lib/views/layout/application.html.haml
@@ -0,0 +1,26 @@
+!!! XML
+!!!
+%html
+ %head
+ %title Chef Server
+ %meta{"http-equiv" => "content-type", :content => "text/html; charset=utf-8" }
+ %link{:rel => "stylesheet", :href => "/stylesheets/master.css", :type => "text/css", :media => "screen", :charset => "utf-8" }
+ %body
+ .header
+ %a{:href => url(:searches) } Search
+ |
+ %a{:href => url(:nodes) } Nodes
+ |
+ %a{:href => url(:cookbooks) } Cookbooks
+ |
+ %a{:href => url(:registrations)} Registrations
+ - if session[:openid]
+ |
+ %a{:href => url(:openid_consumer_logout)}= "Logout #{h session[:openid]}"
+ = "(#{session[:level].to_s})"
+ - else
+ |
+ %a{:href => url(:openid_consumer)} Login
+ = catch_content :for_layout
+
+ \ No newline at end of file