start and end scripts run automatically
[zcc.git] / website / template.rhtml
blobe3e589fe40e5b57f5074a60b9d6891ac08bbe552
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5   <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
6   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7   <title>
8       <%= title %>
9   </title>
10   <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
11 <style>
13 </style>
14   <script type="text/javascript">
15     window.onload = function() {
16       settings = {
17           tl: { radius: 10 },
18           tr: { radius: 10 },
19           bl: { radius: 10 },
20           br: { radius: 10 },
21           antiAlias: true,
22           autoPad: true,
23           validTags: ["div"]
24       }
25       var versionBox = new curvyCorners(settings, document.getElementById("version"));
26       versionBox.applyCornersToAll();
27     }
28   </script>
29 </head>
30 <body>
31 <div id="main">
33     <h1><%= title %></h1>
34     <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
35       <p>Get Version</p>
36       <a href="<%= download %>" class="numbers"><%= version %></a>
37     </div>
38     <%= body %>
39     
40 </div>
42 <!-- insert site tracking codes here, like Google Urchin -->
44 </body>
45 </html>