diff options
author | Drew Blessing <drew.blessing@buckle.com> | 2013-11-29 13:38:23 -0600 |
---|---|---|
committer | Drew Blessing <drew.blessing@buckle.com> | 2013-11-29 13:51:33 -0600 |
commit | 23e36202d263fb8e665f271c55d949ff38b9ae28 (patch) | |
tree | 05886ff467cb2c1d9bf5d7a4897cdeb4850e43a9 /app/views | |
parent | 477e9f87e14a8b7a04355453283d49e4e14fcafb (diff) | |
download | gitlab-ce-23e36202d263fb8e665f271c55d949ff38b9ae28.tar.gz |
Improve Help navigation UI
Make hash keys symbols
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/help/_layout.html.haml | 38 |
1 files changed, 6 insertions, 32 deletions
diff --git a/app/views/help/_layout.html.haml b/app/views/help/_layout.html.haml index da917888eee..7928937c60a 100644 --- a/app/views/help/_layout.html.haml +++ b/app/views/help/_layout.html.haml @@ -1,37 +1,11 @@ .row .span3{:"data-spy" => 'affix'} - .ui-box - .title - Help - %ul.well-list - %li - %strong= link_to "Workflow", help_workflow_path - %li - %strong= link_to "SSH keys", help_ssh_path - - %li - %strong= link_to "GitLab Markdown", help_markdown_path - - %li - %strong= link_to "Permissions", help_permissions_path - - %li - %strong= link_to "API", help_api_path - - %li - %strong= link_to "Web Hooks", help_web_hooks_path - - %li - %strong= link_to "Rake Tasks", help_raketasks_path - - %li - %strong= link_to "System Hooks", help_system_hooks_path - - %li - %strong= link_to "Public Access", help_public_access_path - - %li - %strong= link_to "Security", help_security_path + %h3.page-title Help + %ul.nav.nav-pills.nav-stacked + - links = {:"Workflow" => help_workflow_path, :"SSH Keys" => help_ssh_path, :"GitLab Markdown" => help_markdown_path, :"Permissions" => help_permissions_path, :"API" => help_api_path, :"Web Hooks" => help_web_hooks_path, :"Rake Tasks" => help_raketasks_path, :"System Hooks" => help_system_hooks_path, :"Public Access" => help_public_access_path, :"Security" => help_security_path} + - links.each do |title,path| + %li{class: current_page?(path) ? 'active' : nil} + = link_to title, path .span9.pull-right = yield |