BigW Consortium Gitlab

_public_head_panel.html.haml 825 Bytes
Newer Older
1
%header.navbar.navbar-fixed-top.navbar-gitlab
2 3 4 5
  .navbar-inner
    .container
      %div.app_logo
        %span.separator
6
        = link_to explore_root_path, class: "home" do
7 8
          %h1 GITLAB
        %span.separator
9
      %h1.title= title
10

Drew Blessing committed
11 12
      %button.navbar-toggle{"data-target" => ".navbar-collapse", "data-toggle" => "collapse", type: "button"}
        %span.sr-only Toggle navigation
13
        %i.fa.fa-bars
Drew Blessing committed
14

15 16 17
      - unless current_controller?('sessions')
        .pull-right.hidden-xs
          = link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-new'
18

19 20 21 22
        .navbar-collapse.collapse
          %ul.nav.navbar-nav
            %li.visible-xs
              = link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes')
Drew Blessing committed
23

24
= render 'shared/outdated_browser'