2014-02-12 05:23:40 -05:00
|
|
|
extends ../layout
|
|
|
|
|
|
|
|
block content
|
|
|
|
.container.box
|
|
|
|
.row
|
|
|
|
.span12
|
|
|
|
.page-header
|
|
|
|
h2 Group Admin
|
|
|
|
|
|
|
|
div You are allowed up to
|
|
|
|
strong #{subscription.membersLimit}
|
|
|
|
| members in this group
|
|
|
|
|
|
|
|
table.table-striped.table.table-striped
|
|
|
|
thead
|
|
|
|
tr
|
2014-03-03 12:48:48 -05:00
|
|
|
th
|
2014-03-28 08:07:30 -04:00
|
|
|
input(type="checkbox").select-all
|
2014-02-12 05:23:40 -05:00
|
|
|
th email
|
|
|
|
th Name
|
|
|
|
th Registered
|
|
|
|
|
|
|
|
tbody#userList
|
|
|
|
-each user in users
|
|
|
|
tr
|
2014-03-03 12:48:48 -05:00
|
|
|
td
|
2014-03-28 08:07:30 -04:00
|
|
|
input(type="checkbox").select-one
|
2014-02-12 05:23:40 -05:00
|
|
|
td #{user.email}
|
|
|
|
td #{user.first_name} #{user.last_name}
|
|
|
|
td #{!user.holdingAccount}
|
|
|
|
td
|
2014-03-03 12:48:48 -05:00
|
|
|
input(type="hidden", name="user_id", value=user._id).user_id {{user._id}}
|
2014-02-12 05:23:40 -05:00
|
|
|
|
|
|
|
|
2014-03-03 12:48:48 -05:00
|
|
|
div
|
|
|
|
button.btn.btn-danger#deleteUsers Delete Selected
|
|
|
|
div
|
|
|
|
div
|
|
|
|
form.well.form-inline#addUserToGroup
|
|
|
|
div
|
|
|
|
input(name="_csrf", type="hidden", value=csrfToken)
|
|
|
|
input(name="email", type="email", placeholder="someone@email.com")#newEmail.email.input-large
|
|
|
|
button.btn.btn-primary.addUser Add
|
|
|
|
div
|
|
|
|
div Add multiple emails seperated with commas or space.
|
|
|
|
|
2014-02-12 05:23:40 -05:00
|
|
|
|
|
|
|
- locals.supressDefaultJs = true
|
|
|
|
script(data-main='/js/SubscriptionGroupsManager.js', src='/js/libs/require.js')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|