layout refactored
This commit is contained in:
parent
fcd92f9d95
commit
fbd5296e32
7 changed files with 32 additions and 73 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue