Don't really need the header container. Adjusted some CSS instead
This commit is contained in:
parent
7d843b1122
commit
a51339a219
@ -216,8 +216,6 @@ class RealtimePlugin extends Plugin
|
|||||||
'class' => 'user_in')
|
'class' => 'user_in')
|
||||||
: array('id' => $action->trimmed('action')));
|
: array('id' => $action->trimmed('action')));
|
||||||
|
|
||||||
$action->elementStart('div', array('id' => 'header'));
|
|
||||||
|
|
||||||
// XXX hack to deal with JS that tries to get the
|
// XXX hack to deal with JS that tries to get the
|
||||||
// root url from page output
|
// root url from page output
|
||||||
|
|
||||||
@ -230,7 +228,6 @@ class RealtimePlugin extends Plugin
|
|||||||
if (common_logged_in()) {
|
if (common_logged_in()) {
|
||||||
$action->showNoticeForm();
|
$action->showNoticeForm();
|
||||||
}
|
}
|
||||||
$action->elementEnd('div');
|
|
||||||
|
|
||||||
$action->showContentBlock();
|
$action->showContentBlock();
|
||||||
$action->elementEnd('body');
|
$action->elementEnd('body');
|
||||||
|
@ -114,7 +114,7 @@ RealtimeUpdate = {
|
|||||||
addPopup: function(url, timeline, iconurl)
|
addPopup: function(url, timeline, iconurl)
|
||||||
{
|
{
|
||||||
$('#content').prepend('<button id="realtime_timeline" title="Realtime window">Realtime</button>');
|
$('#content').prepend('<button id="realtime_timeline" title="Realtime window">Realtime</button>');
|
||||||
|
|
||||||
$('#realtime_timeline').css({
|
$('#realtime_timeline').css({
|
||||||
'margin':'0 0 18px 0',
|
'margin':'0 0 18px 0',
|
||||||
'background':'transparent url('+ iconurl + ') no-repeat 0% 30%',
|
'background':'transparent url('+ iconurl + ') no-repeat 0% 30%',
|
||||||
@ -127,12 +127,12 @@ RealtimeUpdate = {
|
|||||||
'font-weight':'bold',
|
'font-weight':'bold',
|
||||||
'font-size':'1em'
|
'font-size':'1em'
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#realtime_timeline').click(function() {
|
$('#realtime_timeline').click(function() {
|
||||||
window.open(url,
|
window.open(url,
|
||||||
timeline,
|
timeline,
|
||||||
'toolbar=no,resizable=yes,scrollbars=yes,status=yes');
|
'toolbar=no,resizable=yes,scrollbars=yes,status=yes');
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -142,6 +142,10 @@ RealtimeUpdate = {
|
|||||||
window.resizeTo(575, 640);
|
window.resizeTo(575, 640);
|
||||||
$('address').hide();
|
$('address').hide();
|
||||||
$('#content').css({'width':'92%'});
|
$('#content').css({'width':'92%'});
|
||||||
|
|
||||||
|
$('#form_notice').css({
|
||||||
|
'margin':'18px 0 29px 1.795%'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user