fix #1404 (software tab: pan.do/ra logo should move a bit further up)

This commit is contained in:
rolux 2013-07-19 09:52:12 +00:00
parent de04f0816f
commit d0e5290357
2 changed files with 18 additions and 8 deletions

View file

@ -108,10 +108,15 @@ pandora.ui.siteDialog = function(section) {
.css({padding: '16px'}) .css({padding: '16px'})
.append( .append(
$('<img>') $('<img>')
.attr({src: '/static/png/' + ( .attr({
id == 'software' ? 'software' : 'logo' src: '/static/png/' + (
) + '.png'}) id == 'software' ? 'software' : 'logo'
.css({width: '256px'}) ) + '.png'
})
.css({
width: '256px',
marginTop: id == 'software' ? '-16px' : 0
})
), ),
size: 272 size: 272
}, },

View file

@ -79,10 +79,15 @@ pandora.ui.siteDialog = function(section) {
.css({padding: '16px'}) .css({padding: '16px'})
.append( .append(
$('<img>') $('<img>')
.attr({src: '/static/png/' + ( .attr({
id == 'software' ? 'software' : 'logo' src: '/static/png/' + (
) + '.png'}) id == 'software' ? 'software' : 'logo'
.css({width: '256px'}) ) + '.png'
})
.css({
width: '256px',
marginTop: id == 'software' ? '-16px' : 0
})
), ),
size: 272 size: 272
}, },