]> Pileus Git - ~andy/aweather-web/blobdiff - html.ct
XHTML Strict fixes
[~andy/aweather-web] / html.ct
diff --git a/html.ct b/html.ct
index af42dca22a60d76be1020df741836c5d2d209347..199f343f3ca383e333cbf234e85c58fd6e5153c3 100644 (file)
--- a/html.ct
+++ b/html.ct
@@ -2,7 +2,7 @@
 
 <% /* Global functions */ %>
 <% void print_header(void) { %>
-Content-Type: application/xhtml+xml; charset=UTF-8
+Content-Type: text/html; charset=UTF-8
 
 <% } %>
 
@@ -30,18 +30,19 @@ Content-Type: application/xhtml+xml; charset=UTF-8
        </head> 
        <body> 
                <div class="top">
-                       <!-- <a href=""><img class="logo" src="../data/aweather.svg" /></a> -->
                        <a href="."><img class="logo" src="images/logo.png" alt="AWeather" /></a>
                        <h1 class="title"><a href=".">AWeather</a></h1>
                        <h2 class="nav">
                                <% for (int i = 0; header[i].link; i++) print_nav(&header[i], page); %>
-                               <span class="sep" />
+                               <span class="sep"></span>
                                <% print_nav(&grits[0], page); %>
                        </h2>
                </div>
                <div class="content">
+                       <p class="msg">This site is currently under construction.</p>
+                       <p class="msg" style="font-size:8pt; font-weight:normal;">If I had an animated GIF of a guy with a shovel, I would put it here.</p>
                        <% page->print(); %>
-                       <br style="clear:both;" />
+                       <div style="clear:both;"></div>
                </div>
                <p class="footer">
                        Copyright © 2011 Andy Spencer
@@ -78,13 +79,14 @@ Content-Type: application/xhtml+xml; charset=UTF-8
        </ul>
 
        <h2>Status</h2>
-       <blockquote>Now that it's spring again, progress on AWeather is continuing.</blockquote>
+       <p class="quote">Now that it's spring again, progress on AWeather is continuing.</p>
        <h3>Working</h3>
        <ul>
                <li>Level-II and Conus NEXRAD imagery</li>
                <li>Real-time and offline mode</li>
-               <li>Virtual Globe base rendering</li>
-               <ul><li>Including terrain, satellite, and map imagery</li></ul>
+               <li>Virtual Globe base rendering<ul>
+                       <li>Including terrain, satellite, and map imagery</li>
+               </ul></li>
                <li>Auto-updating</li>
                <li>volume display</li>
        </ul>
@@ -172,7 +174,7 @@ Content-Type: application/xhtml+xml; charset=UTF-8
        <ul>
                <li class="linux"><dl class="inline">
                        <dt>Source code</dt>
-                       <dd><a href="../aweather-0.4.2.tar.gz">aweather-0.4.2.tar.gz</a></dd>
+                       <dd><a href="files/aweather-0.4.2.tar.gz">aweather-0.4.2.tar.gz</a></dd>
 
                        <dt>Gentoo</dt>
                        <dd>Emerge <span class="code">sci-geosciences/aweather</span> from the sunrise overlay</dd>
@@ -182,10 +184,10 @@ Content-Type: application/xhtml+xml; charset=UTF-8
                </dl></li>
                <li class="windows"><dl class="inline">
                        <dt>Windows</dt>
-                       <dd><a href="../aweather-0.4.2-gtk.exe">aweather-0.4.2-gtk.exe</a></dd>
+                       <dd><a href="files/aweather-0.4.2-gtk.exe">aweather-0.4.2-gtk.exe</a></dd>
 
                        <dt>Update only</dt>
-                       <dd><a href="../aweather-0.4.2.exe">aweather-0.4.2.exe</a></dd>
+                       <dd><a href="files/aweather-0.4.2.exe">aweather-0.4.2.exe</a></dd>
                </dl></li>
                <li class="macos" style="padding-top: .8em; padding-bottom: .8em">
                        Coming soon (hopefully)
@@ -195,7 +197,7 @@ Content-Type: application/xhtml+xml; charset=UTF-8
        <h2>Unstable releases</h2>
        <p class="note">Pre-releases, betas, and other hazardous software</p>
        <div style="margin-left: 30px;">
-               <p>Check out the <a href="../">releases</a> directory for any potential updates</p>
+               <p>Check out the <a href="files">files</a> directory for any potential updates</p>
                <p>Pre-releases are labeled with a -p0 and are mainly build for testing the Windows packages</p>
        </div>
 
@@ -307,18 +309,18 @@ Content-Type: application/xhtml+xml; charset=UTF-8
        <% print_screen("meso"); %>
        <div class="buttons">
                <a class="download" href="">
-                       <p>Download</p>
-                       <p>AWeather 0.5-p0 source</p>
-                       <img src="images/dl-arrow.png" />
+                       <span>Download</span>
+                       <span>AWeather 0.5-p0 source</span>
+                       <img src="images/dl-arrow.png" alt="Download" />
                </a>
                <a class="download" href="">
-                       <p>Download</p>
-                       <p>AWeather 0.5-p0 source</p>
-                       <img src="images/dl-arrow.png" />
+                       <span>Download</span>
+                       <span>AWeather 0.5-p0 source</span>
+                       <img src="images/dl-arrow.png" alt="Download" />
                </a>
        </div>
        <b>Features:</b>
-       <ul class="left">
+       <ul>
                <li>Detailed Level-II radar</li>
                <li>3D volume rendering</li>
                <li>Dual-pole support</li>