2014-05-04 19:26:43 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
oml.ui.notificationsButton = function() {
|
|
|
|
|
|
|
|
var that = Ox.Element({
|
|
|
|
tooltip: Ox._('No notifications')
|
|
|
|
})
|
|
|
|
.css({
|
|
|
|
marginRight: '3px'
|
|
|
|
})
|
|
|
|
.bindEvent({
|
2016-01-07 10:39:10 +05:30
|
|
|
click: function() {
|
|
|
|
// ...
|
|
|
|
}
|
2014-05-04 19:26:43 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
Ox.Button({
|
|
|
|
style: 'symbol',
|
|
|
|
title: 'playlist',
|
|
|
|
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;
|
|
|
|
|
|
|
|
};
|