summaryrefslogtreecommitdiff
path: root/packages/chef-server/app/views/layout/application.html.haml
blob: f04f299d2cabdb97f56135953ffafaedacef500f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
!!! 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(:nodes) } Nodes
      |
      %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