openmedialibrary/static/js/connectionButton.js

33 lines
624 B
JavaScript
Raw Normal View History

2014-05-04 17:26:43 +00:00
'use strict';
oml.ui.connectionButton = function() {
var that = Ox.Element({
tooltip: Ox._('Disconnected')
})
.css({
marginRight: '3px'
})
.bindEvent({
// ...
});
/*
oml.ui.statusIcon(oml.user.online ? 'connected' : 'disconnected')
.css({float: 'left'})
.appendTo(that);
*/
Ox.Element()
.addClass('OxLight')
.css({
float: 'left',
marginTop: '2px',
fontSize: '9px'
})
.html('↓0K/↑0K')
.appendTo(that);
return that;
};