2008-01-12 22:13:37 -05:00
|
|
|
require 'rdoc/generator/html'
|
|
|
|
require 'rdoc/generator/html/html'
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-12 22:13:37 -05:00
|
|
|
module RDoc::Generator::HTML::HEFSS
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
FONTS = "Verdana, Arial, Helvetica, sans-serif"
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
STYLE = <<-EOF
|
|
|
|
body,p { font-family: Verdana, Arial, Helvetica, sans-serif;
|
2003-12-01 02:12:49 -05:00
|
|
|
color: #000040; background: #BBBBBB;
|
|
|
|
}
|
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
td { font-family: Verdana, Arial, Helvetica, sans-serif;
|
2003-12-01 02:12:49 -05:00
|
|
|
color: #000040;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attr-rw { font-size: small; color: #444488 }
|
|
|
|
|
|
|
|
.title-row {color: #eeeeff;
|
|
|
|
background: #BBBBDD;
|
|
|
|
}
|
|
|
|
|
|
|
|
.big-title-font { color: white;
|
|
|
|
font-family: Verdana, Arial, Helvetica, sans-serif;
|
2008-01-12 22:02:49 -05:00
|
|
|
font-size: large;
|
2003-12-01 02:12:49 -05:00
|
|
|
height: 50px}
|
|
|
|
|
|
|
|
.small-title-font { color: purple;
|
|
|
|
font-family: Verdana, Arial, Helvetica, sans-serif;
|
|
|
|
font-size: small; }
|
|
|
|
|
|
|
|
.aqua { color: purple }
|
|
|
|
|
|
|
|
.method-name, attr-name {
|
|
|
|
font-family: monospace; font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablesubtitle {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 1ex;
|
|
|
|
margin-bottom: .5ex;
|
|
|
|
padding: 5px 0px 5px 20px;
|
|
|
|
font-size: large;
|
|
|
|
color: purple;
|
|
|
|
background: #BBBBCC;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tablesubsubtitle {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 1ex;
|
|
|
|
margin-bottom: .5ex;
|
|
|
|
padding: 5px 0px 5px 20px;
|
|
|
|
font-size: medium;
|
|
|
|
color: white;
|
|
|
|
background: #BBBBCC;
|
|
|
|
}
|
|
|
|
|
|
|
|
.name-list {
|
|
|
|
font-family: monospace;
|
|
|
|
margin-left: 40px;
|
|
|
|
margin-bottom: 2ex;
|
|
|
|
line-height: 140%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
margin-left: 40px;
|
|
|
|
margin-bottom: 2ex;
|
|
|
|
line-height: 140%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.methodtitle {
|
|
|
|
font-size: medium;
|
|
|
|
text_decoration: none;
|
|
|
|
padding: 3px 3px 3px 20px;
|
|
|
|
color: #0000AA;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column-title {
|
|
|
|
font-size: medium;
|
|
|
|
font-weight: bold;
|
|
|
|
text_decoration: none;
|
|
|
|
padding: 3px 3px 3px 20px;
|
|
|
|
color: #3333CC;
|
|
|
|
}
|
|
|
|
|
|
|
|
.variable-name {
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: medium;
|
|
|
|
text_decoration: none;
|
|
|
|
padding: 3px 3px 3px 20px;
|
|
|
|
color: #0000AA;
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-name {
|
|
|
|
font-size: medium;
|
|
|
|
font-weight: medium;
|
|
|
|
font-family: monospace;
|
|
|
|
text_decoration: none;
|
|
|
|
padding: 3px 3px 3px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.paramsig {
|
|
|
|
font-size: small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.srcbut { float: right }
|
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
BODY = <<-EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
<html><head>
|
2008-01-07 05:40:50 -05:00
|
|
|
<title><%= values["title"] %></title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=<%= values["charset"] %>">
|
|
|
|
<link rel="stylesheet" href="<%= values["style_url"] %>" type="text/css" media="screen" />
|
2003-12-01 02:12:49 -05:00
|
|
|
<script type="text/javascript" language="JavaScript">
|
|
|
|
<!--
|
|
|
|
function popCode(url) {
|
|
|
|
parent.frames.source.location = url
|
|
|
|
}
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body bgcolor="#BBBBBB">
|
|
|
|
|
2008-01-07 05:40:50 -05:00
|
|
|
<%= template_include %> <!-- banner header -->
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-07 05:40:50 -05:00
|
|
|
<% if values["diagram"] then %>
|
2003-12-01 02:12:49 -05:00
|
|
|
<table width="100%"><tr><td align="center">
|
2008-01-07 05:40:50 -05:00
|
|
|
<%= values["diagram"] %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</td></tr></table>
|
2008-01-07 05:40:50 -05:00
|
|
|
<% end %>
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-07 05:40:50 -05:00
|
|
|
<% if values["description"] then %>
|
|
|
|
<div class="description"><%= values["description"] %></div>
|
|
|
|
<% end %>
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-07 05:40:50 -05:00
|
|
|
<% if values["requires"] then %>
|
2006-01-13 05:27:52 -05:00
|
|
|
<table cellpadding="5" width="100%">
|
2003-12-01 02:12:49 -05:00
|
|
|
<tr><td class="tablesubtitle">Required files</td></tr>
|
2006-01-13 05:27:52 -05:00
|
|
|
</table><br />
|
2003-12-01 02:12:49 -05:00
|
|
|
<div class="name-list">
|
2008-01-07 05:40:50 -05:00
|
|
|
<% values["requires"].each do |requires| %>
|
|
|
|
<%= href requires["aref"], requires["name"] %>
|
|
|
|
<% end # values["requires"] %>
|
|
|
|
<% end %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</div>
|
|
|
|
|
2008-01-07 05:40:50 -05:00
|
|
|
<% if values["sections"] then %>
|
|
|
|
<% values["sections"].each do |sections| %>
|
|
|
|
<% if sections["method_list"] then %>
|
|
|
|
<% sections["method_list"].each do |method_list| %>
|
|
|
|
<% if method_list["methods"] then %>
|
2006-01-13 05:27:52 -05:00
|
|
|
<table cellpadding="5" width="100%">
|
2003-12-01 02:12:49 -05:00
|
|
|
<tr><td class="tablesubtitle">Subroutines and Functions</td></tr>
|
2006-01-13 05:27:52 -05:00
|
|
|
</table><br />
|
2003-12-01 02:12:49 -05:00
|
|
|
<div class="name-list">
|
2008-01-07 05:40:50 -05:00
|
|
|
<% method_list["methods"].each do |methods| %>
|
|
|
|
<a href="<%= methods["codeurl"] %>" target="source"><%= methods["name"] %></a>
|
|
|
|
<% end # values["methods"] %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</div>
|
2008-01-07 05:40:50 -05:00
|
|
|
<% end %>
|
|
|
|
<% end # values["method_list"] %>
|
|
|
|
<% end %>
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-07 05:40:50 -05:00
|
|
|
<% if sections["attributes"] then %>
|
2006-01-13 05:27:52 -05:00
|
|
|
<table cellpadding="5" width="100%">
|
2003-12-01 02:12:49 -05:00
|
|
|
<tr><td class="tablesubtitle">Arguments</td></tr>
|
2006-01-13 05:27:52 -05:00
|
|
|
</table><br />
|
|
|
|
<table cellspacing="5">
|
2008-01-07 05:40:50 -05:00
|
|
|
<% sections["attributes"].each do |attributes| %>
|
2003-12-01 02:12:49 -05:00
|
|
|
<tr valign="top">
|
2008-01-07 05:40:50 -05:00
|
|
|
<% if attributes["rw"] then %>
|
|
|
|
<td align="center" class="attr-rw"> [<%= attributes["rw"] %>] </td>
|
|
|
|
<% end %>
|
|
|
|
<% unless attributes["rw"] then %>
|
2003-12-01 02:12:49 -05:00
|
|
|
<td></td>
|
2008-01-07 05:40:50 -05:00
|
|
|
<% end %>
|
|
|
|
<td class="attr-name"><%= attributes["name"] %></td>
|
|
|
|
<td><%= attributes["a_desc"] %></td>
|
2003-12-01 02:12:49 -05:00
|
|
|
</tr>
|
2008-01-07 05:40:50 -05:00
|
|
|
<% end # values["attributes"] %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</table>
|
2008-01-07 05:40:50 -05:00
|
|
|
<% end %>
|
|
|
|
<% end # values["sections"] %>
|
|
|
|
<% end %>
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-07 05:40:50 -05:00
|
|
|
<% if values["classlist"] then %>
|
2006-01-13 05:27:52 -05:00
|
|
|
<table cellpadding="5" width="100%">
|
2003-12-01 02:12:49 -05:00
|
|
|
<tr><td class="tablesubtitle">Modules</td></tr>
|
2006-01-13 05:27:52 -05:00
|
|
|
</table><br />
|
2008-01-07 05:40:50 -05:00
|
|
|
<%= values["classlist"] %><br />
|
|
|
|
<% end %>
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-07 05:40:50 -05:00
|
|
|
<%= template_include %> <!-- method descriptions -->
|
2003-12-01 02:12:49 -05:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
2008-01-12 22:02:49 -05:00
|
|
|
EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
FILE_PAGE = <<-EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
<table width="100%">
|
|
|
|
<tr class="title-row">
|
|
|
|
<td><table width="100%"><tr>
|
2008-01-07 05:40:50 -05:00
|
|
|
<td class="big-title-font" colspan="2"><font size="-3"><b>File</b><br /></font><%= values["short_name"] %></td>
|
2006-01-13 05:27:52 -05:00
|
|
|
<td align="right"><table cellspacing="0" cellpadding="2">
|
2003-12-01 02:12:49 -05:00
|
|
|
<tr>
|
|
|
|
<td class="small-title-font">Path:</td>
|
2008-01-07 05:40:50 -05:00
|
|
|
<td class="small-title-font"><%= values["full_path"] %>
|
|
|
|
<% if values["cvsurl"] then %>
|
|
|
|
(<a href="<%= values["cvsurl"] %>"><acronym title="Concurrent Versioning System">CVS</acronym></a>)
|
|
|
|
<% end %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="small-title-font">Modified:</td>
|
2008-01-07 05:40:50 -05:00
|
|
|
<td class="small-title-font"><%= values["dtm_modified"] %></td>
|
2003-12-01 02:12:49 -05:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td></tr></table></td>
|
|
|
|
</tr>
|
2006-01-13 05:27:52 -05:00
|
|
|
</table><br />
|
2008-01-12 22:02:49 -05:00
|
|
|
EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
CLASS_PAGE = <<-EOF
|
2006-01-13 05:27:52 -05:00
|
|
|
<table width="100%" border="0" cellspacing="0">
|
2003-12-01 02:12:49 -05:00
|
|
|
<tr class="title-row">
|
|
|
|
<td class="big-title-font">
|
2008-01-07 05:40:50 -05:00
|
|
|
<font size="-3"><b><%= values["classmod"] %></b><br /></font><%= values["full_name"] %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</td>
|
|
|
|
<td align="right">
|
2006-01-13 05:27:52 -05:00
|
|
|
<table cellspacing="0" cellpadding="2">
|
2003-12-01 02:12:49 -05:00
|
|
|
<tr valign="top">
|
|
|
|
<td class="small-title-font">In:</td>
|
|
|
|
<td class="small-title-font">
|
2008-01-07 05:40:50 -05:00
|
|
|
<% values["infiles"].each do |infiles| %>
|
|
|
|
<%= href infiles["full_path_url"], infiles["full_path"] %>
|
|
|
|
<% if infiles["cvsurl"] then %>
|
|
|
|
(<a href="<%= infiles["cvsurl"] %>"><acronym title="Concurrent Versioning System">CVS</acronym></a>)
|
|
|
|
<% end %>
|
|
|
|
<% end # values["infiles"] %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</td>
|
|
|
|
</tr>
|
2008-01-07 05:40:50 -05:00
|
|
|
<% if values["parent"] then %>
|
2003-12-01 02:12:49 -05:00
|
|
|
<tr>
|
|
|
|
<td class="small-title-font">Parent:</td>
|
|
|
|
<td class="small-title-font">
|
2008-01-07 05:40:50 -05:00
|
|
|
<% if values["par_url"] then %>
|
|
|
|
<a href="<%= values["par_url"] %>" class="cyan">
|
|
|
|
<% end %>
|
|
|
|
<%= values["parent"] %>
|
|
|
|
<% if values["par_url"] then %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</a>
|
2008-01-07 05:40:50 -05:00
|
|
|
<% end %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</td>
|
|
|
|
</tr>
|
2008-01-07 05:40:50 -05:00
|
|
|
<% end %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2006-01-13 05:27:52 -05:00
|
|
|
</table><br />
|
2008-01-12 22:02:49 -05:00
|
|
|
EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
METHOD_LIST = <<-EOF
|
2008-01-07 05:40:50 -05:00
|
|
|
<% if values["includes"] then %>
|
2006-01-13 05:27:52 -05:00
|
|
|
<div class="tablesubsubtitle">Uses</div><br />
|
2003-12-01 02:12:49 -05:00
|
|
|
<div class="name-list">
|
2008-01-07 05:40:50 -05:00
|
|
|
<% values["includes"].each do |includes| %>
|
|
|
|
<span class="method-name"><%= href includes["aref"], includes["name"] %></span>
|
|
|
|
<% end # values["includes"] %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</div>
|
2008-01-07 05:40:50 -05:00
|
|
|
<% end %>
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-07 05:40:50 -05:00
|
|
|
<% if values["sections"] then %>
|
|
|
|
<% values["sections"].each do |sections| %>
|
|
|
|
<% if sections["method_list"] then %>
|
|
|
|
<% sections["method_list"].each do |method_list| %>
|
|
|
|
<% if method_list["methods"] then %>
|
2006-01-13 05:27:52 -05:00
|
|
|
<table cellpadding="5" width="100%">
|
2008-01-07 05:40:50 -05:00
|
|
|
<tr><td class="tablesubtitle"><%= method_list["type"] %> <%= method_list["category"] %> methods</td></tr>
|
2003-12-01 02:12:49 -05:00
|
|
|
</table>
|
2008-01-07 05:40:50 -05:00
|
|
|
<% method_list["methods"].each do |methods| %>
|
2006-01-13 05:27:52 -05:00
|
|
|
<table width="100%" cellspacing="0" cellpadding="5" border="0">
|
2003-12-01 02:12:49 -05:00
|
|
|
<tr><td class="methodtitle">
|
2008-01-07 05:40:50 -05:00
|
|
|
<a name="<%= methods["aref"] %>">
|
|
|
|
<b><%= methods["name"] %></b><%= methods["params"] %>
|
|
|
|
<% if methods["codeurl"] then %>
|
|
|
|
<a href="<%= methods["codeurl"] %>" target="source" class="srclink">src</a>
|
|
|
|
<% end %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</a></td></tr>
|
|
|
|
</table>
|
2008-01-07 05:40:50 -05:00
|
|
|
<% if method_list["m_desc"] then %>
|
2003-12-01 02:12:49 -05:00
|
|
|
<div class="description">
|
2008-01-07 05:40:50 -05:00
|
|
|
<%= method_list["m_desc"] %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</div>
|
2008-01-07 05:40:50 -05:00
|
|
|
<% end %>
|
|
|
|
<% end # method_list["methods"] %>
|
|
|
|
<% end %>
|
|
|
|
<% end # sections["method_list"] %>
|
|
|
|
<% end %>
|
|
|
|
<% end # values["sections"] %>
|
|
|
|
<% end %>
|
2008-01-12 22:02:49 -05:00
|
|
|
EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
SRC_PAGE = <<-EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
<html>
|
2008-01-07 05:40:50 -05:00
|
|
|
<head><title><%= values["title"] %></title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=<%= values["charset"] %>">
|
2006-01-13 05:27:52 -05:00
|
|
|
<style type="text/css">
|
2003-12-01 02:12:49 -05:00
|
|
|
.kw { color: #3333FF; font-weight: bold }
|
|
|
|
.cmt { color: green; font-style: italic }
|
|
|
|
.str { color: #662222; font-style: italic }
|
|
|
|
.re { color: #662222; }
|
|
|
|
.ruby-comment { color: green; font-style: italic }
|
|
|
|
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
|
|
.ruby-identifier { color: #222222; }
|
|
|
|
.ruby-ivar { color: #2233dd; }
|
|
|
|
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
|
|
.ruby-node { color: #777777; }
|
|
|
|
.ruby-operator { color: #111111; }
|
|
|
|
.ruby-regexp { color: #662222; }
|
|
|
|
.ruby-value { color: #662222; font-style: italic }
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body bgcolor="#BBBBBB">
|
2008-01-07 05:40:50 -05:00
|
|
|
<pre><%= values["code"] %></pre>
|
2003-12-01 02:12:49 -05:00
|
|
|
</body>
|
|
|
|
</html>
|
2008-01-12 22:02:49 -05:00
|
|
|
EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
FR_INDEX_BODY = %{
|
2008-01-07 05:40:50 -05:00
|
|
|
<%= template_include %>
|
2003-12-01 02:12:49 -05:00
|
|
|
}
|
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
FILE_INDEX = <<-EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
<html>
|
|
|
|
<head>
|
2008-01-07 05:40:50 -05:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=<%= values["charset"] %>">
|
2006-01-13 05:27:52 -05:00
|
|
|
<style type="text/css">
|
2003-12-01 02:12:49 -05:00
|
|
|
<!--
|
|
|
|
body {
|
|
|
|
background-color: #bbbbbb;
|
2008-01-12 22:02:49 -05:00
|
|
|
font-family: #{FONTS};
|
|
|
|
font-size: 11px;
|
2003-12-01 02:12:49 -05:00
|
|
|
font-style: normal;
|
2008-01-12 22:02:49 -05:00
|
|
|
line-height: 14px;
|
2003-12-01 02:12:49 -05:00
|
|
|
color: #000040;
|
|
|
|
}
|
|
|
|
div.banner {
|
|
|
|
background: #bbbbcc;
|
|
|
|
color: white;
|
|
|
|
padding: 1;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 90%;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 1.1;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2008-01-07 05:40:50 -05:00
|
|
|
|
2003-12-01 02:12:49 -05:00
|
|
|
-->
|
|
|
|
</style>
|
|
|
|
<base target="docwin">
|
|
|
|
</head>
|
|
|
|
<body>
|
2008-01-07 05:40:50 -05:00
|
|
|
<div class="banner"><%= values["list_title"] %></div>
|
|
|
|
<% values["entries"].each do |entries| %>
|
|
|
|
<a href="<%= entries["href"] %>"><%= entries["name"] %></a><br />
|
|
|
|
<% end # values["entries"] %>
|
2003-12-01 02:12:49 -05:00
|
|
|
</body></html>
|
2008-01-12 22:02:49 -05:00
|
|
|
EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
CLASS_INDEX = FILE_INDEX
|
|
|
|
METHOD_INDEX = FILE_INDEX
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
INDEX = <<-EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
<html>
|
|
|
|
<head>
|
2008-01-07 05:40:50 -05:00
|
|
|
<title><%= values["title"] %></title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=<%= values["charset"] %>">
|
2003-12-01 02:12:49 -05:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<frameset cols="20%,*">
|
|
|
|
<frameset rows="15%,35%,50%">
|
|
|
|
<frame src="fr_file_index.html" title="Files" name="Files">
|
|
|
|
<frame src="fr_class_index.html" name="Modules">
|
|
|
|
<frame src="fr_method_index.html" name="Subroutines and Functions">
|
|
|
|
</frameset>
|
|
|
|
<frameset rows="80%,20%">
|
2008-01-07 05:40:50 -05:00
|
|
|
<frame src="<%= values["initial_page"] %>" name="docwin">
|
2003-12-01 02:12:49 -05:00
|
|
|
<frame src="blank.html" name="source">
|
|
|
|
</frameset>
|
|
|
|
<noframes>
|
|
|
|
<body bgcolor="#BBBBBB">
|
|
|
|
Click <a href="html/index.html">here</a> for a non-frames
|
|
|
|
version of this page.
|
|
|
|
</body>
|
|
|
|
</noframes>
|
|
|
|
</frameset>
|
|
|
|
|
|
|
|
</html>
|
2008-01-12 22:02:49 -05:00
|
|
|
EOF
|
2003-12-01 02:12:49 -05:00
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
# Blank page to use as a target
|
|
|
|
BLANK = %{
|
2003-12-01 02:12:49 -05:00
|
|
|
<html><body bgcolor="#BBBBBB"></body></html>
|
|
|
|
}
|
|
|
|
|
2008-01-12 22:02:49 -05:00
|
|
|
def write_extra_pages
|
|
|
|
template = TemplatePage.new(BLANK)
|
|
|
|
File.open("blank.html", "w") { |f| template.write_html_on(f, {}) }
|
|
|
|
end
|
2003-12-01 02:12:49 -05:00
|
|
|
|
|
|
|
end
|
2008-01-12 22:02:49 -05:00
|
|
|
|