restyled user profile
This commit is contained in:
parent
3f0d807955
commit
b5d7fb5eed
6 changed files with 18 additions and 15 deletions
|
@ -12,5 +12,5 @@
|
|||
= f.label :key
|
||||
= f.text_area :key, :style => "width:300px; height:130px"
|
||||
.form-row
|
||||
= f.submit 'Save', :class => "lbutton vm"
|
||||
= f.submit 'Save', :class => "grey-button"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
%tr
|
||||
%td= truncate key.title, :lenght => 12
|
||||
%td= truncate key.key, :lenght => 1114
|
||||
%td= link_to 'Cancel', key, :confirm => 'Are you sure?', :method => :delete, :class => "lbutton negative delete-key", :id => "destroy_key_#{key.id}", :remote => true
|
||||
%td= link_to 'Cancel', key, :confirm => 'Are you sure?', :method => :delete, :class => "grey-button negative delete-key", :id => "destroy_key_#{key.id}", :remote => true
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
%div#new-key-holder
|
||||
= link_to "Add new", new_key_path, :remote => true, :class => "lbutton vm"
|
||||
= link_to "Add new", new_key_path, :remote => true, :class => "grey-button"
|
||||
%br
|
||||
|
||||
%table.round-borders#keys-table
|
||||
%tr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue