debian-mirror-gitlab/app/views/layouts/ci/_page.html.haml

28 lines
939 B
Text
Raw Normal View History

2015-12-23 02:04:40 +05:30
.page-with-sidebar{ class: page_sidebar_class }
2015-09-25 12:07:36 +05:30
= render "layouts/broadcast"
2015-12-23 02:04:40 +05:30
.sidebar-wrapper.nicescroll{ class: nav_sidebar_class }
2015-09-25 12:07:36 +05:30
.header-logo
2015-12-23 02:04:40 +05:30
= link_to root_path, class: 'home', title: 'Dashboard', id: 'js-shortcuts-home' do
2015-09-25 12:07:36 +05:30
= brand_header_logo
.gitlab-text-container
2015-10-24 18:46:33 +05:30
%h3 GitLab
2015-09-25 12:07:36 +05:30
- if defined?(sidebar) && sidebar
= render "layouts/ci/#{sidebar}"
- elsif current_user
= render 'layouts/nav/dashboard'
.collapse-nav
= render partial: 'layouts/collapse_button'
- if current_user
2015-12-23 02:04:40 +05:30
= link_to current_user, class: 'sidebar-user', title: "Profile" do
= image_tag avatar_icon(current_user, 60), alt: 'Profile', class: 'avatar avatar s36'
2015-09-25 12:07:36 +05:30
.username
= current_user.username
.content-wrapper
= render "layouts/flash"
= render 'layouts/ci/info'
%div{ class: container_class }
.content
.clearfix
= yield