rename menu extras

This commit is contained in:
rlx 2016-01-13 12:34:35 +05:30
commit 9fe7bcecbf
3 changed files with 4 additions and 4 deletions

40
static/js/peersButton.js Normal file
View file

@ -0,0 +1,40 @@
'use strict';
oml.ui.peersButton = function() {
var that = Ox.Element({
tooltip: Ox._('No peering requests')
})
.css({
marginRight: '6px'
})
.bindEvent({
click: function() {
// ...
}
});
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('0')
.appendTo(that);
return that;
};