2012-02-09 08:59:04 +01:00
|
|
|
!!! 5
|
|
|
|
%html{ :lang => "en"}
|
|
|
|
= render "layouts/head"
|
2012-03-01 20:23:50 +01:00
|
|
|
%body{:class => "#{app_theme} profile"}
|
2012-02-09 08:59:14 +01:00
|
|
|
= render "layouts/flash"
|
|
|
|
= render "layouts/head_panel", :title => "Profile"
|
2012-02-12 16:48:17 +01:00
|
|
|
.container
|
2012-07-03 19:52:48 +02:00
|
|
|
%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
|
|
|
|
|
2012-07-21 09:27:09 +02:00
|
|
|
%li{:class => tab_class(:ssh_keys)}
|
|
|
|
= link_to keys_path do
|
|
|
|
SSH Keys
|
|
|
|
%span.count= current_user.keys.count
|
|
|
|
|
2012-07-03 19:52:48 +02:00
|
|
|
%li{:class => tab_class(:token)}
|
|
|
|
= link_to "Token", profile_token_path
|
|
|
|
|
|
|
|
%li{:class => tab_class(:design)}
|
|
|
|
= link_to "Design", profile_design_path
|
|
|
|
|
|
|
|
|
2012-01-29 22:59:12 +01:00
|
|
|
.content
|
2012-03-03 12:03:03 +01:00
|
|
|
= yield
|