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