Integrate the splash page into the general layout

* Cleanup the CSS
* Fix more views then you have fingers and toes
* Introduce position(weight) for sponsor levels
* Fix bootstrap/datatable integration
This commit is contained in:
Henne Vogelsang 2014-11-14 11:58:36 +01:00
parent 7acd16f923
commit f2cdea4f1a
56 changed files with 1191 additions and 1266 deletions

View file

@ -1,12 +1,14 @@
.row
.col-md-12
%h2
Users
- if @users
= "(#{@users.length})"
= link_to 'New User', new_admin_user_path, class: 'btn btn-success pull-right'
%table.table.table-striped.table-bordered.table-hover#users-datatable
.page-header
%h2
Users
- if @users
= "(#{@users.length})"
= link_to 'New User', new_admin_user_path, class: 'btn btn-success pull-right'
.row
.col-md-12
%table.table.table-striped.table-bordered.table-hover.datatable
%thead
%th ID
%th State
@ -53,4 +55,4 @@
disabled: true, class: 'btn btn-primary disabled btn-danger', role: 'button'
- else
= link_to 'Delete',admin_user_path(user), method: :delete,
data: { confirm: 'Are you sure ?' }, class: 'btn btn-primary btn-danger'
data: { confirm: 'Are you sure ?' }, class: 'btn btn-primary btn-danger'