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,9 +6,8 @@
6 = @app.api_key 6 = @app.api_key
7 - content_for :action_bar do 7 - content_for :action_bar do
8 - if current_user.admin? 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 - if @app.errs.none? 12 - if @app.errs.none?
14 %h3 Setup your app 13 %h3 Setup your app
app/views/users/index.html.haml
1 - content_for :title, 'Users' 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 %table 5 %table
4 %thead 6 %thead
app/views/users/show.html.haml
1 - content_for :title, @user.name 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 %table 6 %table
4 %tr 7 %tr
public/stylesheets/application.css
@@ -362,6 +362,7 @@ pre { @@ -362,6 +362,7 @@ pre {
362 a.button { 362 a.button {
363 display: inline-block; 363 display: inline-block;
364 padding: 0 0.8em; 364 padding: 0 0.8em;
  365 + margin-left: 0.5em;
365 color: #666; 366 color: #666;
366 background-color: #EBEBEB; 367 background-color: #EBEBEB;
367 border: 1px solid #BBB; 368 border: 1px solid #BBB;