use OxTextPage class in info view and site/help/icon dialogs
This commit is contained in:
parent
0b6f8fe009
commit
c1bf737ee0
8 changed files with 15 additions and 7 deletions
|
@ -115,9 +115,9 @@ pandora.ui.helpDialog = function() {
|
|||
});
|
||||
|
||||
$text = Ox.Element()
|
||||
.addClass('OxTextPage')
|
||||
.css({
|
||||
padding: '16px',
|
||||
lineHeight: '16px',
|
||||
overflowY: 'scroll',
|
||||
MozUserSelect: 'text',
|
||||
WebkitUserSelect: 'text'
|
||||
|
|
|
@ -22,6 +22,7 @@ pandora.ui.iconDialog = function(options) {
|
|||
)
|
||||
.append(
|
||||
$('<div>')
|
||||
.addClass('OxTextPage')
|
||||
.css({position: 'absolute', left: '96px', top: '16px', width: options.width - 112 + 'px'})
|
||||
.html(options.text)
|
||||
),
|
||||
|
|
|
@ -115,6 +115,7 @@ pandora.ui.infoView = function(data) {
|
|||
.appendTo($reflection),
|
||||
|
||||
$text = Ox.Element()
|
||||
.addClass('OxTextPage')
|
||||
.css({
|
||||
position: 'absolute',
|
||||
left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px',
|
||||
|
|
|
@ -117,6 +117,7 @@ pandora.ui.infoView = function(data) {
|
|||
.appendTo($reflection),
|
||||
|
||||
$text = Ox.Element()
|
||||
.addClass('OxTextPage')
|
||||
.css({
|
||||
position: 'absolute',
|
||||
left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px',
|
||||
|
|
|
@ -107,8 +107,8 @@ pandora.ui.infoView = function(data) {
|
|||
})
|
||||
.appendTo($left),
|
||||
|
||||
$center = Ox.Element({
|
||||
})
|
||||
$center = Ox.Element()
|
||||
.addClass('OxTextPage')
|
||||
.css({
|
||||
position: 'absolute',
|
||||
left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px',
|
||||
|
|
|
@ -106,6 +106,7 @@ pandora.ui.infoView = function(data) {
|
|||
.appendTo($reflection),
|
||||
|
||||
$data = $('<div>')
|
||||
.addClass('OxTextPage')
|
||||
.css({
|
||||
position: 'absolute',
|
||||
left: margin + 'px',
|
||||
|
@ -114,8 +115,8 @@ pandora.ui.infoView = function(data) {
|
|||
})
|
||||
.appendTo($left),
|
||||
|
||||
$center = Ox.Element({
|
||||
})
|
||||
$center = Ox.Element()
|
||||
.addClass('OxTextPage')
|
||||
.css({
|
||||
position: 'absolute',
|
||||
left: margin + (iconSize == 256 ? 256 : iconWidth) + margin + 'px',
|
||||
|
|
|
@ -12,7 +12,9 @@ pandora.ui.siteDialog = function(section) {
|
|||
Ox.getObjectById(tabs, section).selected = true;
|
||||
var $tabPanel = Ox.TabPanel({
|
||||
content: function(id) {
|
||||
var $content = Ox.Element().css({padding: '16px', overflowY: 'auto'});
|
||||
var $content = Ox.Element()
|
||||
.addClass('OxTextPage')
|
||||
.css({padding: '16px', overflowY: 'auto'});
|
||||
if (id == 'contact') {
|
||||
pandora.$ui.contactForm = pandora.ui.contactForm().appendTo($content);
|
||||
} else if (id == 'news') {
|
||||
|
|
|
@ -12,7 +12,9 @@ pandora.ui.siteDialog = function(section) {
|
|||
Ox.getObjectById(tabs, section).selected = true;
|
||||
var $tabPanel = Ox.TabPanel({
|
||||
content: function(id) {
|
||||
var $content = Ox.Element().css({padding: '16px', overflowY: 'auto'});
|
||||
var $content = Ox.Element()
|
||||
.addClass('OxTextPage')
|
||||
.css({padding: '16px', overflowY: 'auto'});
|
||||
if (id == 'contact') {
|
||||
pandora.$ui.contactForm = pandora.ui.contactForm().appendTo($content);
|
||||
} else if (id == 'news') {
|
||||
|
|
Loading…
Reference in a new issue