]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Don't really need the header container. Adjusted some CSS instead
authorSarven Capadisli <csarven@status.net>
Sun, 27 Sep 2009 11:49:18 +0000 (11:49 +0000)
committerSarven Capadisli <csarven@status.net>
Sun, 27 Sep 2009 11:49:18 +0000 (11:49 +0000)
plugins/Realtime/RealtimePlugin.php
plugins/Realtime/realtimeupdate.js

index e30c4115676b3740205af9caec39936a7b1c03eb..0f0d0f9f42309b134298220d3fc1d148e3ae2ed7 100644 (file)
@@ -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');
index 765710bfe29357139800be7809c6eb1233ae11b1..a5f6052eab6c51ae3e4a31efd2aea204504784c5 100644 (file)
@@ -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%'
+         });
      }
 }