Снорк (nely_snork) wrote in changelog,
Снорк
nely_snork
changelog

[ljcom] r9190: LJSUP-6371: Remove two widgets from home...

Committer: narefieva
LJSUP-6371: Remove two widgets from homepage (spotlight and ONTD) and move back old spotlight widget.
U   trunk/htdocs/index.bml
U   trunk/htdocs/stc/home.css
Modified: trunk/htdocs/index.bml
===================================================================
--- trunk/htdocs/index.bml	2010-07-02 17:02:01 UTC (rev 9189)
+++ trunk/htdocs/index.bml	2010-07-05 09:31:36 UTC (rev 9190)
@@ -65,15 +65,17 @@
         my $secondsago = time() - $remote->timeupdate;
         my $lastupdated = LJ::TimeUtil->ago_text($secondsago);
 
-        $ret .= "<div class='l-wrap l-col2-50'>";
-        $ret .= "<div class='l-col-1'>";
-#        $ret .= LJ::Widget::JournalSpotlight->render( stylesheet_override => 'stc/widgets/journalspotlight-home.css' );
-        $ret .= LJ::Widget::TopEntries->render(domain => 'hmp_spotlight');
-        $ret .= "</div>";
-        $ret .= "<div class='l-col-2'>";
-        $ret .= LJ::Widget::TopEntries->render(domain => 'hmp_ontd');
-        $ret .= "</div>";
-        $ret .= "</div>";
+
+        $ret .= LJ::Widget::JournalSpotlight->render( stylesheet_override => 'stc/widgets/journalspotlight-home.css' );
+
+        # $ret .= "<div class='l-wrap l-col2-50'>";
+        # $ret .= "<div class='l-col-1'>";
+        # $ret .= LJ::Widget::TopEntries->render(domain => 'hmp_spotlight');
+        # $ret .= "</div>";
+        # $ret .= "<div class='l-col-2'>";
+        # $ret .= LJ::Widget::TopEntries->render(domain => 'hmp_ontd');
+        # $ret .= "</div>";
+        # $ret .= "</div>";
         
         $ret .= "<div class='homepage-account appwidget pkg b-qotd'>";
         $ret .= "<h2><span>" . BML::ml('.loggedin.qotd.title') . "</span></h2>";
@@ -224,17 +226,18 @@
         
         $ret .= "<div class='l-body'>";
         $ret .= "<div class='l-content'>";
+
+        $ret .= LJ::Widget::JournalSpotlight->render( stylesheet_override => 'stc/widgets/journalspotlight.css', spotlight_comm_in_header => 0 );
         
         #ONTD & Spotlight widget
-        $ret .= "<div class='l-wrap l-col2-50'>";
-        $ret .= "<div class='l-col-1'>";
-#        $ret .= LJ::Widget::JournalSpotlight->render( stylesheet_override => 'stc/widgets/journalspotlight.css', spotlight_comm_in_header => 0 );
-        $ret .= LJ::Widget::TopEntries->render(domain => 'hmp_spotlight');
-        $ret .= "</div>";
-        $ret .= "<div class='l-col-2'>";
-        $ret .= LJ::Widget::TopEntries->render(domain => 'hmp_ontd');
-        $ret .= "</div>";
-        $ret .= "</div>";
+        # $ret .= "<div class='l-wrap l-col2-50'>";
+        # $ret .= "<div class='l-col-1'>";
+        # $ret .= LJ::Widget::TopEntries->render(domain => 'hmp_spotlight');
+        # $ret .= "</div>";
+        # $ret .= "<div class='l-col-2'>";
+        # $ret .= LJ::Widget::TopEntries->render(domain => 'hmp_ontd');
+        # $ret .= "</div>";
+        # $ret .= "</div>";
         
         #Sign UP button
         $ret .= '<p class="b-signup"><a href="'.$LJ::SITEROOT.'/create.bml"><span>'.BML::ml('.loggedout.signup').'</span></a></p>';

Modified: trunk/htdocs/stc/home.css
===================================================================
--- trunk/htdocs/stc/home.css	2010-07-02 17:02:01 UTC (rev 9189)
+++ trunk/htdocs/stc/home.css	2010-07-05 09:31:36 UTC (rev 9190)
@@ -30,7 +30,7 @@
 	-moz-border-radius: 6px;
 	-webkit-border-radius: 6px;
     } 
-.homepage-loggedout .rounded-box {
+/*.homepage-loggedout .rounded-box {
     background-color: #a7c4d8;
     background-image: url(/img/corners/tl-on-f0f5f9.gif);
 }
@@ -66,7 +66,7 @@
 
 .homepage-loggedout .rounded-box-content {
     background-color: #fff;
-} 
+} */
 
 /* logged out features */
 .homepage-loggedout #homepage-features {
@@ -132,29 +132,23 @@
     background: #447c33;
 }
 
-/* logged out spotlight */
-.homepage-loggedout .homepage-spotlight {
-    width: 660px;
-    float: left;
+/* logged out spotlight 
+.homepage-spotlight {
     margin-bottom: 10px;
-}
-.homepage-loggedout .homepage-spotlight .rounded-box-content {
-    padding-bottom: 5px;
-}
+}*/
 .homepage-loggedout .appwidget-journalspotlight {
-    margin-bottom: 0;
-}
-.homepage-loggedout .header,
-.homepage-loggedout .appwidget-journalspotlight h2 {
+    margin: 0 0 10px;
+    }
+.homepage-loggedout .header {
     color: #213368;
     font-size: 16px;
     font-weight: bold;
     margin: 0 !important;
 }
-.homepage-loggedout .appwidget-journalspotlight h2 {
+/*.homepage-loggedout .appwidget-journalspotlight h2 {
     font-size: 19px;
     font-weight: normal;
-}
+}*/
 .homepage-loggedout .appwidget-journalspotlight .spotlight-controls img {
     vertical-align: middle;
 }
@@ -358,12 +352,14 @@
 .homepage-loggedin .appwidget-promotext {
     padding-bottom: 30px;
 }
-.homepage-loggedin h2 {
+.homepage-loggedin h2,
+.homepage-loggedout .appwidget-journalspotlight h2
+ {
     font-size: 14px;
     clear: left;
     font-family: Arial;
     font-weight: bold;
-    background: #ededed url(/img/corner.gif) no-repeat 0 0;
+    background: #C7E0F6 url(/img/corner.gif) no-repeat 0 0;
     margin: 0 0 8px 0;
     padding: 5px 8px;
     color: #222;
@@ -390,10 +386,13 @@
 .homepage-loggedin .appwidget-recentcomments h2 span {
     background: url(/img/interests.gif) no-repeat 0 50%;
 }
-.homepage-loggedin .appwidget-journalspotlight h2 span {
-    background: url(/img/icon-spotlight-16x16.gif) no-repeat 0 50%;
-    padding-left:  20px;
-}
+.homepage-loggedin .appwidget-journalspotlight {
+    margin: 0 0 15px;
+    }
+    .appwidget-journalspotlight h2 span {
+        background: url(/img/icon-spotlight-16x16.gif) no-repeat 0 50%;
+        padding-left:  20px;
+        }
 
 .homepage-verticaleditorials h2 span {
     background: url(/img/Website.gif) no-repeat 0 50%;

Tags: bml, css, ljcom, nely_snork
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