This file is indexed.

/usr/share/chef-server-webui/app/views/layout/application.html.haml is in chef-server-webui 10.12.0+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
!!! 5
%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", "jquery.suggest.css"
    = js_include_tag "jquery-1.5.2.min", "jquery.jeditable.mini", "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"
    = js_include_tag "drop_down_menu"
    = js_include_tag "jquery.suggest"

    = catch_content :header_content
        
  %body
    #container
      #header
        %h1
          = link_to "Chef Server", url(:top)
          %label{:for => 'environment-select'} Environment:
          %select{:name => 'environment-select', :onchange => 'jump(this)', :size => 1, :class => 'title-select'}
            - current_env = session[:environment]
            %option{:value => url(:environment_select, :environment_id => '_none'), :selected => current_env == nil} None
            - @environments.each do |env|
              %option{:value => url(:environment_select, :environment_id => env), :selected => current_env == env}= env
        #user-navigation
          %ul
            - if session[:user]
              %li= link_to "Edit account", url(:users_edit, :user_id => session[:user]), :method => 'get'
              %li= link_to "Logout #{h session[:user]} (#{session[:level].to_s})", url(:users_logout), :method => 'get', :confirm => "Are you sure you want to logout?"
            - else
              %li= link_to "Login", url(:users_login), :rel => "facebox"
          .clear
        #main-navigation
          %ul
            = nav_link_item("Environments", :environments)
            = nav_link_item("Search", :searches)
            = nav_link_item("Status", :status)
            = nav_link_item("Roles", :roles)
            = nav_link_item("Nodes", :nodes)
            = nav_link_item("Cookbooks", :cookbooks)
            = nav_link_item("Databags", :databags)
            = nav_link_item("Clients", :clients)
            = nav_link_item("Users", :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= "Version #{chef_version} — Copyright © 2009-#{Time.now.year} Opscode"
        #sidebar
          .block.notice#sidebar_block_notice= catch_content :sidebar_block_notice
          .block#sidebar_block= catch_content :sidebar_block
        .clear