Welcome to mirror list, hosted at ThFree Co, Russian Federation.

errors.html.haml « layouts « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 06069a72951519b966050c1fd87aae198d853646 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
!!! 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';
        }
      }());