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:
James Mason 2018-06-15 18:20:18 -07:00
parent 3bb73f27cf
commit 4ecf078db6
25 changed files with 47 additions and 25 deletions

View file

@ -5,7 +5,7 @@
.col-md-12
.well
%table.table.table-bordered.table-striped.table-hover.datatable#event_registrations
%table.datatable#event_registrations
%thead
%th ID
%th Conference

View file

@ -4,7 +4,7 @@
Submissions (#{@user.events.length}) for #{@user.name}
.col-md-12
.well
%table.table.table-bordered.table-striped.table-hover.datatable#submissions
%table.datatable#submissions
%thead
%th ID
%th Conference

View file

@ -10,7 +10,7 @@
= link_to 'Add User', new_admin_user_path, :class => 'button btn btn-default btn-info'
.row
.col-md-12.table-responsive
%table.table.table-striped.table-bordered.table-hover.datatable
%table.datatable
%thead
%th ID
%th Confirmed?