summaryrefslogtreecommitdiff
path: root/app/views/layouts/profile.html.haml
blob: 957a68bf4827f13b4043c92f42892a632a96fd7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
!!! 5
%html{ :lang => "en"}
  = render "layouts/head"
  %body{:class => "#{app_theme} profile"}
    = render "layouts/flash"
    = render "layouts/head_panel", :title => "Profile"
    .container
      %ul.main_menu
        %li.home{:class => tab_class(:profile)}
          = link_to "Profile", profile_path

        %li{:class => tab_class(:password)}
          = link_to "Password", profile_password_path

        %li{:class => tab_class(:ssh_keys)}
          = link_to keys_path do
            SSH Keys
            %span.count= current_user.keys.count

        %li{:class => tab_class(:token)}
          = link_to "Token", profile_token_path

        %li{:class => tab_class(:design)}
          = link_to "Design", profile_design_path


      .content
        = yield