diff -r c14a8549a7af blueGradient.png Binary file blueGradient.png has changed diff -r c14a8549a7af firefox.png Binary file firefox.png has changed diff -r c14a8549a7af nightly.css --- a/nightly.css Thu Sep 30 15:21:40 2010 -0400 +++ b/nightly.css Fri May 20 09:57:05 2011 -0700 @@ -1,34 +1,40 @@ h1 { font-size: 360%; - color: #fff; - margin: 20px 0 0 0; + color: #333; + margin: 0; } li { margin-bottom: 1em; } -html { - background: url(http://www.mozilla.com/img/tignish/template/background-tile.png) repeat-x 50% -145px #fff; +body { + font-family: georgia, serif; + padding: 20px; + background: url(blueGradient.png) top left repeat-x; + color: #333333; } -body { - padding: 20px; - background: url(http://www.mozilla.com/img/tignish/template/background-feature.jpg) 50% -145px no-repeat; -} - -ul { - width: 500px !important; +#builds { + margin-left: auto; + margin-right: auto; + text-align: left; + width: 800px; } ul,p,#main-feature { - width: 900px; + width: 800px; text-align: left; margin-left: auto; margin-right: auto; left: 0; } +ul,p { + margin-left: 125px; + width: auto; +} + p { clear: left; padding-top: 50px; @@ -42,7 +48,7 @@ } ul li a { - font-weight: bold; + font-weight: bold; font-family: verdana, sans-serif; background-position: 0 50%; background-repeat: no-repeat; @@ -70,8 +76,8 @@ } #main-feature { - padding: 0; - background: url(firefox.png) 0 0 no-repeat; + padding: 5px 0 0 5px; + background: url(nightly.png) 0 0 no-repeat; } #main-feature p { diff -r c14a8549a7af nightly.png Binary file nightly.png has changed diff -r c14a8549a7af scrape.py --- a/scrape.py Thu Sep 30 15:21:40 2010 -0400 +++ b/scrape.py Fri May 20 09:57:05 2011 -0700 @@ -34,7 +34,6 @@ BuildDisplay(".win32.installer", "exe", "Windows", "windows exe"), BuildDisplay(".win64-x86_64.installer", "exe", "Windows 64-bit", "windows exe x64"), BuildDisplay(".mac", "dmg", "Mac", "mac dmg"), - BuildDisplay(".mac64", "dmg", "Mac 32/64-bit Universal", "mac dmg x64"), BuildDisplay(".linux-i686", "tar.bz2", "Linux Intel", "linux bz2"), BuildDisplay(".linux-x86_64", "tar.bz2", "Linux 64-bit Intel", "linux bz2 x64") ] @@ -94,7 +93,6 @@ Firefox Nightly Builds - @@ -103,23 +101,29 @@

%s

These builds are for testing purposes only.

- -

We have more stuff if you don't see what you're looking for.

- +

We have more stuff if you don't see what you're looking for.

+ """ % parse_url + extension = "" middle = "" for build in recent_builds: - middle += '\n
  • \n' + middle += '\n
  • ' middle += build['name'] middle += '' - middle += ' ' + build['size'] + 'B' + middle += '' + build['size'] + 'B' middle += ' ' + build['extension'] middle += '
    \n' middle += 'Built on ' + build['date'] + '\n' @@ -145,8 +149,11 @@ for build in builds: if build['url'].endswith(f.suffix + "." + f.extension) and f.css_class not in recent_builds_dict: recent_builds_dict[f.css_class] = build - items = recent_builds_dict.items() - items.sort() + items = [] + for f in files_wanted: + if recent_builds_dict.has_key(f.css_class): + items.append((f.css_class, recent_builds_dict[f.css_class])) + return [value for key, value in items] def generateBuildPages(output_path, parse_url, dest_page, title): @@ -173,7 +180,7 @@ for page in build_pages: generateBuildPages(options.output_path, page["url"], page["html"], page["title"]) - copyFile(options.output_path, "firefox.png") + copyFile(options.output_path, "nightly.png") copyFile(options.output_path, "nightly.css") if __name__ == '__main__':