From: Andy Spencer Date: Sat, 7 Apr 2012 05:38:11 +0000 (+0000) Subject: Update linux download links X-Git-Url: http://pileus.org/git/?p=~andy%2Faweather-web;a=commitdiff_plain;h=27f5eae0be0602965f9fb330e2fc16311bfeacfe Update linux download links --- diff --git a/data/global.css b/data/global.css index f90982e..9c299e8 100644 --- a/data/global.css +++ b/data/global.css @@ -320,23 +320,15 @@ dl.inline dt { dl.inline dt:after { content: ":"; } +dl.inline .hidden { + display: none; +} h1 + .note, h2 + .note, -.left { +.note.left { text-align: left; margin-bottom: 10px; } - -dl.inline dt { - display: block; - float: left; - clear: both; - font-weight: bold; - width: 8em; -} -dl.inline dt:after { - content: ":"; -} dl.small dt { width: 4em; } diff --git a/data/global.js b/data/global.js new file mode 100644 index 0000000..f9c17ea --- /dev/null +++ b/data/global.js @@ -0,0 +1,8 @@ +function show() { + var hidden = document.getElementsByClassName('hidden'); + var shown = document.getElementsByClassName('shown'); + for (i = 0; i < hidden.length; i ++) + hidden[i].style.display = "block"; + for (i = 0; i < shown.length; i ++) + shown[i].style.display = "none"; +} diff --git a/html.ct b/html.ct index ff0efe9..8746424 100644 --- a/html.ct +++ b/html.ct @@ -25,6 +25,7 @@ Content-Type: text/html; charset=UTF-8 AWeather<% if (page->name) printf(" - %s", page->name); %> + @@ -313,33 +314,35 @@ Content-Type: text/html; charset=UTF-8
  • Source code
    - aweather-<%= VERSION %>.tar.gz, - grits-<%= VERSION_GRITS %>.tar.gz, - rsl-1.40.tar.gz + aweather-<%= VERSION %>.tar.gz, + grits-<%= VERSION_GRITS %>.tar.gz, + rsl-1.40.tar.gz
    -
    Gentoo
    -
    emerge sci-geosciences/aweather from the sunrise overlay
    +
    Binaries
    +
    Show..
    -
    Debian
    -
    apt-get install aweather from Debian sid
    + + -
    Ubuntu
    -
    apt-get install aweather from Ubuntu Oneiric, - or the AWeather PPA
    - - - + + + + + + + + + + + + + +
  • Windows
    @@ -351,7 +354,8 @@ Content-Type: text/html; charset=UTF-8
  • Mac OS X
    -
    aweather-<%= VERSION_MAC %>.dmg
    +
    aweather-<%= VERSION_MAC %>.dmg + (Requires 10.6 or newer)
  • diff --git a/html.h b/html.h index 668ec0d..a1b6fc5 100644 --- a/html.h +++ b/html.h @@ -30,10 +30,12 @@ #define RSL_WEB "http://trmm-fc.gsfc.nasa.gov/trmm_gv/software/rsl/" #define RSL_FTP "ftp://trmm-fc.gsfc.nasa.gov/software/" +#define GENTOO_HOME "http://gpo.zugaina.org/sci-geosciences/aweather" #define DEBIAN_HOME "http://packages.debian.org/unstable/aweather" #define UBUNTU_HOME "http://packages.ubuntu.com/oneiric/science/aweather" #define UBUNTU_PPA "https://launchpad.net/~andy753421/+archive/aweather" #define ARCH_HOME "http://aur.archlinux.org/packages.php?ID=52003" +#define SLACKY_HOME "http://www.slacky.eu/asche/pkgs/index.php?pkg=2682" #define PREFIX "http://lug.rose-hulman.edu/proj/aweather/"