layout refactored

This commit is contained in:
Dmitriy Zaporozhets 2012-02-09 09:59:04 +02:00
parent fcd92f9d95
commit fbd5296e32
7 changed files with 32 additions and 73 deletions

View file

@ -1,16 +1,6 @@
!!!
%html
%head
%meta{:charset => "utf-8"}
%title
GitLab #{" - #{@project.name}" if @project && !@project.new_record?}
= favicon_link_tag 'favicon.ico'
= stylesheet_link_tag "application"
= javascript_include_tag "application"
= csrf_meta_tags
= javascript_tag do
REQ_URI = "#{request.env["REQUEST_URI"]}";
REQ_REFFER = "#{request.env["HTTP_REFERER"]}";
!!! 5
%html{ :lang => "en"}
= render "layouts/head"
%body.admin
= render :partial => "layouts/flash"
= render :partial => "layouts/head_panel"