forked from 0x2620/pandora
add (non-functional) 'show guests' ui to manage users dialog
This commit is contained in:
parent
31908adbb1
commit
2f115f2dfc
1 changed files with 9 additions and 7 deletions
|
@ -9,6 +9,12 @@ pandora.ui.usersDialog = function() {
|
|||
numberOfUsers = 0,
|
||||
userLevels = ['member', 'friend', 'staff', 'admin'],
|
||||
|
||||
$guestsCheckbox = Ox.Checkbox({
|
||||
checked: true,
|
||||
title: 'Show Guests'
|
||||
})
|
||||
.css({float: 'left', margin: '4px'}),
|
||||
|
||||
$findSelect = Ox.Select({
|
||||
items: [
|
||||
{id: 'all', title: 'Find: All', checked: true},
|
||||
|
@ -200,9 +206,7 @@ pandora.ui.usersDialog = function() {
|
|||
keys: ['notes'],
|
||||
max: 1,
|
||||
scrollbarVisible: true,
|
||||
sort: [
|
||||
{key: 'username', operator: '+'}
|
||||
]
|
||||
sort: [{key: 'lastseen', operator: '-'}]
|
||||
})
|
||||
.bindEvent({
|
||||
init: function(data) {
|
||||
|
@ -303,10 +307,8 @@ pandora.ui.usersDialog = function() {
|
|||
elements: [
|
||||
{
|
||||
element: Ox.Bar({size: 24})
|
||||
.append($status)
|
||||
.append(
|
||||
$findElement
|
||||
),
|
||||
.append($guestsCheckbox)
|
||||
.append($findElement),
|
||||
size: 24
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue