# HG changeset patch # User Christophe Lincoln # Date 1295821068 -3600 # Node ID 35688e566dbe83c56a2fa95af59cb0a66b584a89 # Parent 6fa4ffc7415d06dba6839305ae4e53a314f5e2e5 mainpage: Use RSS for Hg commit diff -r 6fa4ffc7415d -r 35688e566dbe index.php --- a/index.php Sun Jan 23 23:01:40 2011 +0100 +++ b/index.php Sun Jan 23 23:17:48 2011 +0100 @@ -183,12 +183,16 @@ - - - - +
+
+

.pngLatest cooked packages

+ +
+
+

.pngLatest commits

+ +
+

Spread SliTaz

diff -r 6fa4ffc7415d -r 35688e566dbe libs/get-latest.sh --- a/libs/get-latest.sh Sun Jan 23 23:01:40 2011 +0100 +++ b/libs/get-latest.sh Sun Jan 23 23:17:48 2011 +0100 @@ -15,6 +15,7 @@ DOC_FEED='http://doc.slitaz.org/feed.php' FORUM_FEED='http://forum.slitaz.org/discussions/feed.rss' BUGS_FEED='http://labs.slitaz.org/issues.atom?query_id=' +WOK_FEED='http://hg.slitaz.org/wok/rss-log' # Clean cache mkdir -p $CACHE && cd $CACHE @@ -24,31 +25,17 @@ wget -O scn.xml $SCN_FEED wget -O doc.xml $DOC_FEED wget -O forum.xml $FORUM_FEED -wget -O bugs.xml $BUGS_FEED - -# Latest Hg commits -echo -n "Getting latest commits... " -echo '

' > $OUTPUT -echo '

.pngLatest commits

' >> $OUTPUT -echo '
    ' >> $OUTPUT -hg log --repository $REPO --limit 5 --no-merges \ - --template "
  • {date|shortdate} \ -- {desc}
  • \n" >> $OUTPUT 2> /dev/null -echo '
' >> $OUTPUT -echo '
' >> $OUTPUT -echo "Done" +wget -O bugs.xml $BUGS_FEED +wget -O wok.xml $WOK_FEED # Latest cooked packages by the build bot. echo -n "Getting latest cooked packages... " -echo '
' >> $OUTPUT -echo '

.pngLatest cooked packages

' >> $OUTPUT echo '
    ' >> $OUTPUT -cd $PKGS && ls -1t *.tazpkg | head -5 | \ +cd $PKGS && ls -1t *.tazpkg | head -8 | \ while read file do - echo -n '
  • '$(stat -c '%y' $PKGS/$file | \ - cut -d ' ' -f 1); echo " - $file
  • " + echo -n '
  • '$(stat -c '%y' $PKGS/$file | \ + cut -d ' ' -f 1); echo " - $file
  • " done >> $OUTPUT echo '
' >> $OUTPUT -echo '
' >> $OUTPUT echo "Done" diff -r 6fa4ffc7415d -r 35688e566dbe slitaz.css --- a/slitaz.css Sun Jan 23 23:01:40 2011 +0100 +++ b/slitaz.css Sun Jan 23 23:17:48 2011 +0100 @@ -234,8 +234,8 @@ #block_top:hover, #block_nav:hover, #footer:hover { background-color: #f8f8f8; } -.right_box { width: 50%; float: right; } -.left_box { width: 50%; float: left; } +.right_box { width: 48%; float: right; } +.left_box { width: 48%; float: left; } /* Button */ .button { margin-left: 20px; }