application.html.haml 1.0 KB
Newer Older
G
gitlabhq 已提交
1 2 3 4 5
!!!
%html
  %head
    %title
      GitLab #{" - #{@project.name}" if @project && !@project.new_record?}
6 7 8 9
    -#= stylesheet_link_tag 'blueprint/screen', :media => "screen, projection"
    -#= stylesheet_link_tag 'blueprint/print', :media => "print"
    -#= stylesheet_link_tag 'blueprint/plugins/buttons/screen', :media => "screen, projection"
    -#= stylesheet_link_tag 'blueprint/plugins/link-icons/screen', :media => "screen, projection"
G
gitlabhq 已提交
10 11 12 13 14 15 16
    = stylesheet_link_tag    "application"
    = javascript_include_tag "application"
    = csrf_meta_tags
    %link{:href => "/assets/favicon.png", :rel => "icon", :type => "image/png"}/
    = javascript_tag do
      REQ_URI = "#{request.env["REQUEST_URI"]}";
      REQ_REFFER = "#{request.env["HTTP_REFERER"]}";
G
gitlabhq 已提交
17
  %body{ :class => yield(:body_class), :id => yield(:boyd_id)}
18 19
    #container
      = render :partial => "layouts/flash"
G
commit  
gitlabhq 已提交
20 21 22 23
      = render :partial => "layouts/head_panel"
      %div{ :id => "main", :role => "main", :class => "container_4" }
        = render :partial => "layouts/page_title"
        = yield