diff options
Diffstat (limited to 'app/views/layouts/profile.html.haml')
| -rw-r--r-- | app/views/layouts/profile.html.haml | 48 |
1 files changed, 18 insertions, 30 deletions
diff --git a/app/views/layouts/profile.html.haml b/app/views/layouts/profile.html.haml index 6eeecb294be..091e85631f6 100644 --- a/app/views/layouts/profile.html.haml +++ b/app/views/layouts/profile.html.haml @@ -1,30 +1,18 @@ -!!! -%html - %head - %title - GitLab #{" - #{@project.name}" if @project && !@project.new_record?} - = favicon_link_tag 'favicon.ico' - = stylesheet_link_tag "application" - = javascript_include_tag "application" - = csrf_meta_tags - = javascript_tag do - REQ_URI = "#{request.env["REQUEST_URI"]}"; - REQ_REFFER = "#{request.env["HTTP_REFERER"]}"; - %body{ :class => body_class('project-page'), :id => yield(:boyd_id)} - = render :partial => "layouts/flash" - #container - = render :partial => "layouts/head_panel" - .project-container - .project-sidebar - .fixed - %aside - = link_to "Profile", profile_path, :class => current_page?(:controller => "profile", :action => :show) ? "current" : nil - = link_to "Password & token", profile_password_path, :class => current_page?(:controller => "profile", :action => :password) ? "current" : nil - = link_to "Design", profile_design_path, :class => current_page?(:controller => "profile", :action => :design) ? "current" : nil - = link_to keys_path, :class => controller.controller_name == "keys" ? "current" : nil do - Keys - - unless current_user.keys.empty? - %span{ :class => "number" }= current_user.keys.count - - .project-content - = yield +!!! 5 +%html{ :lang => "en"} + = render "layouts/head" + %body.ui_basic.profile + = render "layouts/flash" + = render "layouts/head_panel", :title => "Profile" + .container + %nav.main_menu + = render "layouts/const_menu_links" + = link_to "Profile", profile_path, :class => current_page?(:controller => "profile", :action => :show) ? "current" : nil + = link_to "Password & token", profile_password_path, :class => current_page?(:controller => "profile", :action => :password) ? "current" : nil + = link_to "Design", profile_design_path, :class => current_page?(:controller => "profile", :action => :design) ? "current" : nil + = link_to keys_path, :class => controller.controller_name == "keys" ? "current" : nil do + SSH Keys + .content + .row + .span12= yield + .sidebar= render "layouts/projects_side" |
