mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.8 KiB
63 lines
1.8 KiB
8 years ago
|
extends ./_layout.pug
|
||
|
|
||
8 years ago
|
block rootNavRight
|
||
8 years ago
|
i.nav-item#notifload
|
||
|
.nav-item
|
||
|
a.button.btn-create-prompt
|
||
|
i.icon-plus
|
||
|
span Create / Authorize User
|
||
8 years ago
|
|
||
8 years ago
|
block adminContent
|
||
8 years ago
|
#page-type-admin-users
|
||
|
.hero
|
||
|
h1.title#title Users
|
||
|
h2.subtitle Manage users and access rights
|
||
|
table.table
|
||
|
thead
|
||
|
tr
|
||
|
th
|
||
|
th Name
|
||
|
th Email
|
||
|
th Provider
|
||
|
th Created On
|
||
|
th Updated On
|
||
|
tbody
|
||
|
each usr in usrs
|
||
|
tr
|
||
|
td.is-icon
|
||
|
i.icon-user.is-grey
|
||
|
td
|
||
|
a(href='/admin/users/' + usr._id)= usr.name
|
||
|
td= usr.email
|
||
|
td.is-centered.has-icons
|
||
|
case usr.provider
|
||
|
when 'local'
|
||
|
i.icon-server.is-deep-orange
|
||
|
| Local Database
|
||
|
when 'windowslive'
|
||
|
i.icon-windows2.is-blue
|
||
|
| Microsoft Account
|
||
8 years ago
|
when 'azure'
|
||
|
i.icon-windows2.is-blue
|
||
|
| Azure Active Directory
|
||
8 years ago
|
when 'google'
|
||
|
i.icon-google.is-blue
|
||
|
| Google ID
|
||
|
when 'facebook'
|
||
|
i.icon-facebook.is-purple
|
||
|
| Facebook
|
||
8 years ago
|
when 'github'
|
||
|
i.icon-github.is-blue-grey
|
||
|
| GitHub
|
||
|
when 'slack'
|
||
|
i.icon-slack.is-purple
|
||
|
| Slack
|
||
8 years ago
|
when 'ldap'
|
||
|
i.icon-arrow-repeat-outline
|
||
|
| LDAP / Active Directory
|
||
8 years ago
|
default: i.icon-warning
|
||
|
td.is-centered= userMoment(usr.createdAt).format('lll')
|
||
|
td.is-centered= userMoment(usr.updatedAt).format('lll')
|
||
8 years ago
|
|
||
8 years ago
|
include ../../modals/admin-createuser.pug
|