drnic / rubigen

RubiGen - generator framework for your framework

This URL has Read+Write access

drnic (author)
Sun Dec 28 14:13:48 -0800 2008
commit  3683f9c6141e82817c91ef1894d77c5bdf98ccdf
tree    f6525dd537816192849e35f4b2a4dcf32708637f
rubigen / template.rhtml
100644 65 lines (61 sloc) 2.293 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>
      <%= title %>
  </title>
  <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
<style>
</style>
  <script type="text/javascript">
    window.onload = function() {
      settings = {
          tl: { radius: 10 },
          tr: { radius: 10 },
          bl: { radius: 10 },
          br: { radius: 10 },
          antiAlias: true,
          autoPad: true,
          validTags: ["div"]
      }
      var versionBox = new curvyCorners(settings, document.getElementById("version"));
      versionBox.applyCornersToAll();
 
      var twitterBox = new curvyCorners(settings, document.getElementById("twitter_search"));
      twitterBox.applyCornersToAll();
    }
  </script>
</head>
<body>
<div id="main">
    <h1><%= title %></h1>
    <div class="sidebar">
      <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
        <p>Get Version</p>
        <a href="<%= download %>" class="numbers"><%= version %></a>
      </div>
      
      <div id="twitter_search">
        <h3>Heard on twitter ('rubigen')...</h3>
        <!-- HELP FILE - http://twitterwidget.jazzychad.com/tw/ -->
        <script language = "javascript">
         var jtw_search = 'rubigen';
         var jtw_widget_background = 'd77';
         var jtw_widget_border = '0';
         var jtw_tweet_textcolor = 'fff';
          var jtw_tweet_background = '000';
          var jtw_tweet_border = '0px';
        </script>
        <script src="http://twitterwidget.jazzychad.com/tw/searchwidget.js" type="text/javascript"></script>
      </div>
      
    </div>
    <%= body %>
    <p class="coda">
      <a href="drnicwilliams@gmail.com">Dr Nic Williams</a>, <%= modified.pretty %><br>
      Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
    </p>
</div>
<!-- insert site tracking codes here, like Google Urchin -->
</body>
</html>