Commit b5d7fb5eed496dbef766390a57fd8eec53f842d0
1 parent
3f0d8079
Exists in
master
and in
4 other branches
restyled user profile
Showing
6 changed files
with
18 additions
and
15 deletions
Show diff stats
app/views/keys/_form.html.haml
app/views/keys/_show.html.haml
1 | 1 | %tr |
2 | 2 | %td= truncate key.title, :lenght => 12 |
3 | 3 | %td= truncate key.key, :lenght => 1114 |
4 | - %td= link_to 'Cancel', key, :confirm => 'Are you sure?', :method => :delete, :class => "lbutton negative delete-key", :id => "destroy_key_#{key.id}", :remote => true | |
4 | + %td= link_to 'Cancel', key, :confirm => 'Are you sure?', :method => :delete, :class => "grey-button negative delete-key", :id => "destroy_key_#{key.id}", :remote => true | ... | ... |
app/views/keys/index.html.haml
app/views/profile/password.html.haml
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | %br |
17 | 17 | = f.password_field :password_confirmation |
18 | 18 | .actions |
19 | - = f.submit 'Save', :class => "lbutton vm" | |
19 | + = f.submit 'Save', :class => "grey-button" | |
20 | 20 | |
21 | 21 | %br |
22 | 22 | %br |
... | ... | @@ -30,4 +30,4 @@ |
30 | 30 | %em.cred |
31 | 31 | keep it in secret! |
32 | 32 | .actions |
33 | - = f.submit 'Reset', :confirm => "Are you sure?", :class => "lbutton vm" | |
33 | + = f.submit 'Reset', :confirm => "Are you sure?", :class => "grey-button" | ... | ... |
app/views/profile/show.html.haml
1 | -.span-2 | |
2 | - = image_tag gravatar_icon(@user.email), :class => "left", :width => 60, :style => "padding-right:5px;" | |
3 | -%p | |
4 | - %b Name: | |
1 | +%h2.icon | |
2 | + %span> | |
5 | 3 | = @user.name |
6 | -%p | |
7 | - %b Email: | |
8 | - = @user.email | |
9 | 4 | |
10 | -%br | |
5 | +.clear | |
11 | 6 | |
12 | 7 | = form_for @user, :url => profile_edit_path, :method => :put do |f| |
13 | 8 | -if @user.errors.any? |
... | ... | @@ -17,6 +12,14 @@ |
17 | 12 | %li= msg |
18 | 13 | |
19 | 14 | .form-row |
15 | + = f.label :name | |
16 | + %br | |
17 | + = f.text_field :name | |
18 | + .form-row | |
19 | + = f.label :email | |
20 | + %br | |
21 | + = f.text_field :email | |
22 | + .form-row | |
20 | 23 | = f.label :skype |
21 | 24 | %br |
22 | 25 | = f.text_field :skype |
... | ... | @@ -29,5 +32,5 @@ |
29 | 32 | %br |
30 | 33 | = f.text_field :twitter |
31 | 34 | .actions |
32 | - = f.submit 'Save', :class => "lbutton vm" | |
35 | + = f.submit 'Save', :class => "grey-button" | |
33 | 36 | ... | ... |