openmedialibrary/static/js/notificationsButton.js

40 lines
745 B
JavaScript
Raw Normal View History

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