summaryrefslogtreecommitdiff
path: root/lib/chef_server/views/layout/application.html.haml
blob: 2be4097d29158d2a6555e294398ca78fbc74b8bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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