Commit 0c314215718dd419afcbebdfd3687f70ca4f3803

Authored by Jared Pace
1 parent 508db3da
Exists in master and in 1 other branch production

Update button styles

app/views/apps/show.html.haml
... ... @@ -6,9 +6,8 @@
6 6 = @app.api_key
7 7 - content_for :action_bar do
8 8 - if current_user.admin?
9   - = link_to 'edit', edit_app_path(@app)
10   - |
11   - = link_to 'destroy', app_path(@app), :method => :delete, :confirm => 'Seriously?'
  9 + = link_to 'edit', edit_app_path(@app), :class => 'button'
  10 + = link_to 'destroy', app_path(@app), :method => :delete, :confirm => 'Seriously?', :class => 'button'
12 11  
13 12 - if @app.errs.none?
14 13 %h3 Setup your app
... ...
app/views/users/index.html.haml
1 1 - content_for :title, 'Users'
  2 +- content_for :action_bar do
  3 + %span= link_to('Add a New User', new_user_path, :class => 'add')
2 4  
3 5 %table
4 6 %thead
... ...
app/views/users/show.html.haml
1 1 - content_for :title, @user.name
  2 +- content_for :action_bar do
  3 + = link_to 'edit', edit_user_path(@user), :class => 'button'
  4 + = link_to 'destroy', user_path(@user), :method => :delete, :confirm => 'Seriously?', :class => 'button'
2 5  
3 6 %table
4 7 %tr
... ...
public/stylesheets/application.css
... ... @@ -362,6 +362,7 @@ pre {
362 362 a.button {
363 363 display: inline-block;
364 364 padding: 0 0.8em;
  365 + margin-left: 0.5em;
365 366 color: #666;
366 367 background-color: #EBEBEB;
367 368 border: 1px solid #BBB;
... ...