summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-09-27 11:49:18 +0000
committerSarven Capadisli <csarven@status.net>2009-09-27 11:49:18 +0000
commita51339a2195caed5a3833346f508b38953e4618b (patch)
tree1b110a173f7a039e3d3000187477c19c3902b320 /plugins
parent7d843b11228bb55750177ca7809d5f067d52dc20 (diff)
Don't really need the header container. Adjusted some CSS instead
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Realtime/RealtimePlugin.php3
-rw-r--r--plugins/Realtime/realtimeupdate.js10
2 files changed, 7 insertions, 6 deletions
diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php
index e30c41156..0f0d0f9f4 100644
--- a/plugins/Realtime/RealtimePlugin.php
+++ b/plugins/Realtime/RealtimePlugin.php
@@ -216,8 +216,6 @@ class RealtimePlugin extends Plugin
'class' => 'user_in')
: array('id' => $action->trimmed('action')));
- $action->elementStart('div', array('id' => 'header'));
-
// XXX hack to deal with JS that tries to get the
// root url from page output
@@ -230,7 +228,6 @@ class RealtimePlugin extends Plugin
if (common_logged_in()) {
$action->showNoticeForm();
}
- $action->elementEnd('div');
$action->showContentBlock();
$action->elementEnd('body');
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js
index 765710bfe..a5f6052ea 100644
--- a/plugins/Realtime/realtimeupdate.js
+++ b/plugins/Realtime/realtimeupdate.js
@@ -114,7 +114,7 @@ RealtimeUpdate = {
addPopup: function(url, timeline, iconurl)
{
$('#content').prepend('<button id="realtime_timeline" title="Realtime window">Realtime</button>');
-
+
$('#realtime_timeline').css({
'margin':'0 0 18px 0',
'background':'transparent url('+ iconurl + ') no-repeat 0% 30%',
@@ -127,12 +127,12 @@ RealtimeUpdate = {
'font-weight':'bold',
'font-size':'1em'
});
-
+
$('#realtime_timeline').click(function() {
window.open(url,
timeline,
'toolbar=no,resizable=yes,scrollbars=yes,status=yes');
-
+
return false;
});
},
@@ -142,6 +142,10 @@ RealtimeUpdate = {
window.resizeTo(575, 640);
$('address').hide();
$('#content').css({'width':'92%'});
+
+ $('#form_notice').css({
+ 'margin':'18px 0 29px 1.795%'
+ });
}
}