1--- 2extension: html 3filter: erb 4--- 5<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 6 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 7 8<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> 9<head> 10 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 11 <title>www.dcerpc.org - <%= @page.title %></title> 12 <meta name="author" content="<%= @page.author %>" /> 13 14 <!--- Blueprint CSS Framework --> 15 <link rel="stylesheet" href="/css/blueprint/screen.css" type="text/css" media="screen, projection"> 16 <link rel="stylesheet" href="/css/blueprint/print.css" type="text/css" media="print"> 17 <!--[if IE]> 18 <link rel="stylesheet" href="/css/blueprint/ie.css" type="text/css" media="screen, projection"> 19 <![endif]--> 20 21 <!-- CodeRay syntax highlighting CSS --> 22 <link rel="stylesheet" href="/css/coderay.css" type="text/css" /> 23 24 <!-- Homepage CSS --> 25 <link rel="stylesheet" href="/css/site.css" type="text/css" media="screen, projection" /> 26 27</head> 28<body> 29 30<div class="container"> 31 32 <% 33 sections = @pages.find(:all, 34 :in_directory => "/", :sort_by => "order") 35 36 columns = { 37 'max' => 20, 38 'title' => 6, 39 'sections' => 20 - 6 40 } 41 %> 42 43 <div id="header" class="column prepend-2 append-2 span-<%=columns['max']%> first last"> 44 <a style="text-decoration: none;" href="/"> 45 <p class="title">www.dcerpc.org</p> 46 </a> 47 </div> 48 49 <div id="nav" class="column prepend-14 append-2 first last"> 50 <% sections.each_with_index { |p, i| %> 51 52 <div class="column"> 53 <a href="<%= p.url %>"><%= p.title %></a> 54 </div> 55 56 <% } %> 57 58 </div> 59 60 <div class="column prepend-2 append-2 span-<%= columns['max'] %> first last" 61 id="content"> 62 <hr /> 63 <%= @content %> 64 </div> 65 66 <div class="column prepend-2 append-2 small quiet span-<%= columns['max'] %> first last" 67 id="footer"> 68 <hr /> 69 <em> 70DCE/RPC is an open source software project 71made available primarily under a BSD license 72(<a href="http://www.dcerpc.org/source.html">full license text</a>). 73Hosting provided by 74<a href="http://www.macosforge.org">Mac OS Forge</a>. 75Use of this site is subject to the 76<a href=" 77http://www.macosforge.org/terms/">Mac OS Forge Terms of Use</a>. 78This website was created with 79<a href="http://webby.rubyforge.org">Webby</a>. 80 </em> 81 </div> 82 83</div> 84</body> 85</html> 86