Consistent, concise styling of datables
Add a semantic class to aggregate bootstrap classes and consistently applyt them to all datatables.
This commit is contained in:
parent
3bb73f27cf
commit
4ecf078db6
25 changed files with 47 additions and 25 deletions
|
|
@ -7,7 +7,7 @@
|
|||
- if @conference.resources.any?
|
||||
.row
|
||||
.col-md-12
|
||||
%table.table.table-hover.datatable
|
||||
%table.datatable
|
||||
%thead
|
||||
%th Name
|
||||
%th Left( Left/Total )
|
||||
|
|
@ -33,4 +33,3 @@
|
|||
.row
|
||||
.col-md-12
|
||||
= link_to 'Add Resource', new_admin_conference_resource_path, class: 'btn btn-success pull-right', disabled: !(can? :create, Resource.new(conference_id: @conference_id))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue