2016-02-13 07:32:20 -06:00
< navbar icon = "icon-gf icon-gf-users" title = "Organization Users" >
2016-01-29 15:52:30 -06:00
< / navbar >
2015-02-07 05:28:47 -06:00
2016-01-15 08:51:30 -06:00
< div class = "page-container" >
2015-11-19 21:02:38 -06:00
< div class = "page-wide" >
2015-02-08 03:23:35 -06:00
2016-02-11 13:18:55 -06:00
< button class = "btn btn-success pull-right" ng-click = "openInviteModal()" >
2015-07-29 02:30:23 -05:00
< i class = "fa fa-plus" > < / i >
Add or Invite
2015-07-16 03:44:55 -05:00
< / button >
2015-02-08 03:23:35 -06:00
2016-01-15 07:42:59 -06:00
< h1 > Organization users< / h1 >
2015-02-08 03:23:35 -06:00
< br >
2015-07-17 02:51:34 -05:00
< tabset >
< tab heading = "Users ({{users.length}})" >
2015-11-03 08:24:10 -06:00
< table class = "filter-table form-inline" >
< thead >
< tr >
< th > Login< / th >
< th > Email< / th >
< th > Role< / th >
< th style = "width: 34px;" > < / th >
< / tr >
< / thead >
2015-07-17 02:51:34 -05:00
< tr ng-repeat = "user in users" >
< td > {{user.login}}< / td >
2015-11-03 08:24:10 -06:00
< td > < span class = "ellipsis" > {{user.email}}< / span > < / td >
2015-07-17 02:51:34 -05:00
< td >
< select type = "text" ng-model = "user.role" class = "input-medium" ng-options = "f for f in ['Viewer', 'Editor', 'Read Only Editor', 'Admin']" ng-change = "updateOrgUser(user)" >
< / select >
< / td >
2015-11-03 08:24:10 -06:00
< td >
2015-07-17 02:51:34 -05:00
< a ng-click = "removeUser(user)" class = "btn btn-danger btn-mini" >
< i class = "fa fa-remove" > < / i >
< / a >
< / td >
< / tr >
< / table >
< / tab >
< tab heading = "Pending Invitations ({{pendingInvites.length}})" >
2015-11-19 21:02:38 -06:00
< table class = "filter-table form-inline" >
< thead >
< tr >
< th > Email< / th >
< th > Name< / th >
< th > < / th >
< / tr >
< / thead >
< tbody ng-repeat = "invite in pendingInvites" >
< tr ng-click = "invite.expanded = !invite.expanded" ng-class = "{'expanded': invite.expanded}" >
< td > {{invite.email}}< / td >
2015-12-09 05:04:51 -06:00
< td > {{invite.name}}< / td >
2015-11-19 21:02:38 -06:00
< td class = "text-right" >
2015-12-03 20:20:54 -06:00
< button class = "btn btn-inverse btn-mini " data-clipboard-text = "{{invite.url}}" clipboard-button ng-click = "copyInviteToClipboard($event)" >
2015-11-19 21:02:38 -06:00
< i class = "fa fa-clipboard" > < / i > Copy Invite
< / button >
2015-12-09 05:04:51 -06:00
< button class = "btn btn-inverse btn-mini" >
Details
2015-11-19 21:02:38 -06:00
< i ng-show = "!invite.expanded" class = "fa fa-caret-right" > < / i >
< i ng-show = "invite.expanded" class = "fa fa-caret-down" > < / i >
2015-12-09 05:04:51 -06:00
< / button >
2015-11-19 21:02:38 -06:00
< / td >
< / tr >
< tr ng-show = "invite.expanded" >
< td colspan = "3" >
< a href = "{{invite.url}}" > {{invite.url}}< / a > < br > < br >
< button class = "btn btn-inverse btn-mini" ng-click = "revokeInvite(invite, $event)" >
< i class = "fa fa-remove" style = "color: red" > < / i > Revoke invite
< / button >
< span style = "padding-left: 15px" >
Invited: < em > {{invite.createdOn | date: 'shortDate'}} by {{invite.invitedBy}} < / em >
< / span >
< / td >
< / tr >
< / tbody >
< / table >
2015-07-17 02:51:34 -05:00
< / tab >
< / tabset >
2015-01-15 12:14:07 -06:00
< / div >
< / div >