Count events, users, people and use datatables for them.
Show event types. Add proposal#show.
This commit is contained in:
parent
a557f3750e
commit
200a701861
8 changed files with 131 additions and 7 deletions
|
|
@ -1,7 +1,11 @@
|
|||
.container-fluid
|
||||
.row-fluid
|
||||
.span12
|
||||
%table.table.table-striped.table-bordered.table-hover
|
||||
%h2
|
||||
Users
|
||||
- if @users
|
||||
= "(#{@users.length})"
|
||||
%table.table.table-striped.table-bordered.table-hover#users
|
||||
%thead
|
||||
%th
|
||||
%b Email
|
||||
|
|
@ -55,3 +59,9 @@
|
|||
"data-content" => user.popup_details,
|
||||
"data-original-title" => ""
|
||||
|
||||
:javascript
|
||||
$(document).ready(function() {
|
||||
$('#users').dataTable( {
|
||||
sPaginationType: "full_numbers"
|
||||
} );
|
||||
} );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue