fix site dialog css
This commit is contained in:
parent
8c8ae16019
commit
3fb6a91507
2 changed files with 7 additions and 3 deletions
|
@ -13,8 +13,10 @@ pandora.ui.siteDialog = function(section) {
|
||||||
var $tabPanel = Ox.TabPanel({
|
var $tabPanel = Ox.TabPanel({
|
||||||
content: function(id) {
|
content: function(id) {
|
||||||
var $content = Ox.Element()
|
var $content = Ox.Element()
|
||||||
.addClass('OxTextPage')
|
|
||||||
.css({padding: '16px', overflowY: 'auto'});
|
.css({padding: '16px', overflowY: 'auto'});
|
||||||
|
if (id != 'contact') {
|
||||||
|
$content.addClass('OxTextPage');
|
||||||
|
}
|
||||||
if (id == 'contact') {
|
if (id == 'contact') {
|
||||||
pandora.$ui.contactForm = pandora.ui.contactForm().appendTo($content);
|
pandora.$ui.contactForm = pandora.ui.contactForm().appendTo($content);
|
||||||
} else if (id == 'news') {
|
} else if (id == 'news') {
|
||||||
|
@ -70,7 +72,7 @@ pandora.ui.siteDialog = function(section) {
|
||||||
.appendTo($content);
|
.appendTo($content);
|
||||||
if (id == 'rights') {
|
if (id == 'rights') {
|
||||||
$right = $('<div>')
|
$right = $('<div>')
|
||||||
.css({position: 'absolute', top: '16px', right: '16px', width: '128px'})
|
.css({position: 'absolute', top: '16px', right: '16px', width: '128px', lineHeight: 'normal'})
|
||||||
.appendTo($content);
|
.appendTo($content);
|
||||||
$('<img>')
|
$('<img>')
|
||||||
.attr({src: '/static/png/rights.png'})
|
.attr({src: '/static/png/rights.png'})
|
||||||
|
|
|
@ -13,8 +13,10 @@ pandora.ui.siteDialog = function(section) {
|
||||||
var $tabPanel = Ox.TabPanel({
|
var $tabPanel = Ox.TabPanel({
|
||||||
content: function(id) {
|
content: function(id) {
|
||||||
var $content = Ox.Element()
|
var $content = Ox.Element()
|
||||||
.addClass('OxTextPage')
|
|
||||||
.css({padding: '16px', overflowY: 'auto'});
|
.css({padding: '16px', overflowY: 'auto'});
|
||||||
|
if (id != 'contact') {
|
||||||
|
$content.addClass('OxTextPage');
|
||||||
|
}
|
||||||
if (id == 'contact') {
|
if (id == 'contact') {
|
||||||
pandora.$ui.contactForm = pandora.ui.contactForm().appendTo($content);
|
pandora.$ui.contactForm = pandora.ui.contactForm().appendTo($content);
|
||||||
} else if (id == 'news') {
|
} else if (id == 'news') {
|
||||||
|
|
Loading…
Reference in a new issue