Open Media Library
This commit is contained in:
commit
2ee2bc178a
228 changed files with 85988 additions and 0 deletions
38
static/js/userButton.js
Normal file
38
static/js/userButton.js
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
'use strict';
|
||||
|
||||
oml.ui.userButton = function() {
|
||||
|
||||
var that = Ox.Element({
|
||||
tooltip: Ox._('Click to open preferences')
|
||||
})
|
||||
.css({
|
||||
marginRight: '3px'
|
||||
})
|
||||
.bindEvent({
|
||||
// ...
|
||||
});
|
||||
|
||||
Ox.Button({
|
||||
style: 'symbol',
|
||||
title: 'user',
|
||||
type: 'image'
|
||||
})
|
||||
.css({
|
||||
float: 'left',
|
||||
borderRadius: 0
|
||||
})
|
||||
.appendTo(that);
|
||||
|
||||
Ox.Element()
|
||||
.addClass('OxLight')
|
||||
.css({
|
||||
float: 'left',
|
||||
marginTop: '2px',
|
||||
fontSize: '9px'
|
||||
})
|
||||
.html('anonymous')
|
||||
.appendTo(that);
|
||||
|
||||
return that;
|
||||
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue