debian-mirror-gitlab/app/views/layouts/_public_head_panel.html.haml

23 lines
802 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
%header.navbar.navbar-fixed-top.navbar-gitlab
2014-09-02 18:07:02 +05:30
.navbar-inner
.container
%div.app_logo
= link_to explore_root_path, class: "home" do
2015-04-26 12:48:37 +05:30
= brand_header_logo
2014-09-02 18:07:02 +05:30
%h1.title= title
%button.navbar-toggle{"data-target" => ".navbar-collapse", "data-toggle" => "collapse", type: "button"}
%span.sr-only Toggle navigation
2015-04-26 12:48:37 +05:30
%i.fa.fa-bars
2014-09-02 18:07:02 +05:30
2015-04-26 12:48:37 +05:30
- 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 append-right-10'
2014-09-02 18:07:02 +05:30
2015-04-26 12:48:37 +05:30
.navbar-collapse.collapse
%ul.nav.navbar-nav
%li.visible-xs
= link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes')
2014-09-02 18:07:02 +05:30
2015-04-26 12:48:37 +05:30
= render 'shared/outdated_browser'