'use strict'; pandora.ui.embedError = function(notImplemented) { var that = Ox.Element() .addClass('OxScreen') .css({ position: 'absolute', left: 0, top: 0, right: 0, bottom: 0, }); $('
') .css({ position: 'absolute', left: 0, top: 0, right: 0, bottom: 0, width: '96px', height: '48px', paddingTop: '16px', margin: 'auto' }) .append( $('') .css({width: '96px'}) .attr({src: '/static/png/logo.png'}) ) .append( $('
') .css({marginTop: '4px', fontSize: '9px', textAlign: 'center'}) .html( notImplemented ? Ox._('This view is not
implemented.') : Ox._('This view cannot
be embedded.') ) ) .appendTo(that); return that; };