gitlab-org--gitlab-foss/app/views/layouts/errors.html.haml
2018-05-31 21:28:19 +00:00

19 lines
571 B
Text

!!! 5
%html{ lang: "en" }
%head
%meta{ :content => "width=device-width, initial-scale=1, maximum-scale=1", :name => "viewport" }
%title= yield(:title)
%style
= Rails.application.assets_manifest.find_sources('errors.css').first.to_s.html_safe
%body
.page-container
= yield
-# haml-lint:disable InlineJavaScript
:javascript
(function(){
var goBackElement = document.querySelector('.js-go-back');
if (goBackElement && history.length > 1) {
goBackElement.style.display = 'block';
}
}());