overleaf/services/web/app/views/subscriptions/group_admin.jade
2014-03-28 12:07:30 +00:00

54 lines
1.2 KiB
Text

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
th
input(type="checkbox").select-all
th email
th Name
th Registered
tbody#userList
-each user in users
tr
td
input(type="checkbox").select-one
td #{user.email}
td #{user.first_name} #{user.last_name}
td #{!user.holdingAccount}
td
input(type="hidden", name="user_id", value=user._id).user_id {{user._id}}
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.
- locals.supressDefaultJs = true
script(data-main='/js/SubscriptionGroupsManager.js', src='/js/libs/require.js')