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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/header/_public.html.haml')
-rw-r--r--app/views/layouts/header/_public.html.haml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/layouts/header/_public.html.haml b/app/views/layouts/header/_public.html.haml
new file mode 100644
index 00000000000..15c2e292be3
--- /dev/null
+++ b/app/views/layouts/header/_public.html.haml
@@ -0,0 +1,15 @@
+%header.navbar.navbar-fixed-top.navbar-gitlab{ class: nav_header_class }
+ .container
+ .header-logo
+ = link_to explore_root_path, class: "home" do
+ = brand_header_logo
+ .gitlab-text-container
+ %h3 GitLab
+ .header-content
+ - unless current_controller?('sessions')
+ .pull-right
+ = link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-success btn-sm'
+
+ %h1.title= title
+
+= render 'shared/outdated_browser'