overleaf/services/web/app/views/subscriptions/group_admin.jade

55 lines
1.2 KiB
Text
Raw Normal View History

2014-02-12 10:23:40 +00: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
th
input(type="checkbox").select-all
2014-02-12 10:23:40 +00:00
th email
th Name
th Registered
tbody#userList
-each user in users
tr
td
input(type="checkbox").select-one
2014-02-12 10:23:40 +00:00
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}}
2014-02-12 10:23:40 +00: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 10:23:40 +00:00
- locals.supressDefaultJs = true
script(data-main='/js/SubscriptionGroupsManager.js', src='/js/libs/require.js')