Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[livejournal] r17839: LJSUP-7434: move featured posts and feat...

Committer: mchervonniy
LJSUP-7434: move featured posts and featured communities widget to right at admin panel for Landing page
U   trunk/htdocs/admin/browse/featured_communities.bml
U   trunk/htdocs/admin/browse/top_entries_vertical.bml
Modified: trunk/htdocs/admin/browse/featured_communities.bml
===================================================================
--- trunk/htdocs/admin/browse/featured_communities.bml	2010-12-01 09:43:33 UTC (rev 17838)
+++ trunk/htdocs/admin/browse/featured_communities.bml	2010-12-01 10:36:38 UTC (rev 17839)
@@ -22,6 +22,7 @@
     my $vert_id = $POST{'vert_id'};
     my $journals = $POST{'journals'};
 
+    $ret .= "<div style='float:left;width:500px;'>\n";
     $ret .= "<form method='POST'>\n";
     $ret .= LJ::form_auth();
 
@@ -104,6 +105,7 @@
             };
         }
         $ret .= "</ul>";
+        $ret .= "</div>";
         my $template = LJ::HTML::Template->new(
             { use_expr => 1 }, # force HTML::Template::Pro with Expr support
             filename => "$ENV{'LJHOME'}/templates/Browse/featured_communities.tmpl",
@@ -113,9 +115,9 @@
         $template->param(
             top_comms => \@top_comms,
         );
-        $ret .= "<div style=\"padding:0 0 0 500px\">".$template->output."</div>";
+        $ret .= "<div style=\"padding:0 0 0 550px;width:300px;\">".$template->output."</div>";
     }
-    $ret .= "<p><a href='/admin/browse/'>Back to main page</a></p>";
+    $ret .= "<p style='clear:both;'><a href='/admin/browse/'>Back to main page</a></p>";
 
 
     return "<body>$ret</body>";

Modified: trunk/htdocs/admin/browse/top_entries_vertical.bml
===================================================================
--- trunk/htdocs/admin/browse/top_entries_vertical.bml	2010-12-01 09:43:33 UTC (rev 17838)
+++ trunk/htdocs/admin/browse/top_entries_vertical.bml	2010-12-01 10:36:38 UTC (rev 17839)
@@ -22,6 +22,7 @@
     my $vert_id = $POST{'vert_id'} ne '' ? $POST{'vert_id'} : undef;
     my $journals = $POST{'journals'};
 
+    $ret .= "<div style='float:left;width:500px;'>\n";
     $ret .= "<form method='POST'>\n";
     $ret .= LJ::form_auth();
 
@@ -139,6 +140,7 @@
             };
         }
         $ret .= "</ul>";
+        $ret .= "</div>";
         my $template = LJ::HTML::Template->new(
             { use_expr => 1 }, # force HTML::Template::Pro with Expr support
             filename => "$ENV{'LJHOME'}/templates/Browse/top_posts.tmpl",
@@ -148,10 +150,10 @@
         $template->param(
             top_posts => \@top_posts,
         );
-        $ret .= "<div style=\"padding:0 0 0 500px\">".$template->output."</div>";
+        $ret .= "<div style=\"padding:0 0 0 550px;width:300px;\">".$template->output."</div>";
 
     }
-    $ret .= "<p><a href='/admin/browse/'>Back to main page</a></p>";
+    $ret .= "<p style='clear:both;'><a href='/admin/browse/'>Back to main page</a></p>";
 
 
     return "<body>$ret</body>";

Tags: bml, fiskus_boulder, livejournal
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments