2007-03-12 20:59:02 +03:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
|
|
<head>
|
|
|
|
<title><%=h @wiki.project.name %></title>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
|
|
<style>
|
|
|
|
body { font:80% Verdana,Tahoma,Arial,sans-serif; }
|
2009-02-03 20:15:59 +03:00
|
|
|
h1, h2, h3, h4 { font-family: "Trebuchet MS",Georgia,"Times New Roman",serif; }
|
2009-11-11 14:10:03 +03:00
|
|
|
ul.toc { padding: 4px; margin-left: 0; }
|
|
|
|
ul.toc li { list-style-type:none; }
|
|
|
|
ul.toc li.heading2 { margin-left: 1em; }
|
|
|
|
ul.toc li.heading3 { margin-left: 2em; }
|
|
|
|
a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
|
|
|
|
a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
|
|
|
|
h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
|
2007-03-12 20:59:02 +03:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2007-09-29 14:26:57 +04:00
|
|
|
<strong><%= l(:label_index_by_title) %></strong>
|
2007-03-12 20:59:02 +03:00
|
|
|
<ul>
|
|
|
|
<% @pages.each do |page| %>
|
2011-08-02 17:19:05 +04:00
|
|
|
<li><a href="#<%= h(page.title) %>"><%= h(page.pretty_title) %></a></li>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<% @pages.each do |page| %>
|
|
|
|
<hr />
|
2011-08-02 17:19:05 +04:00
|
|
|
<a name="<%= h(page.title) %>" />
|
2007-11-12 17:36:33 +03:00
|
|
|
<%= textilizable page.content ,:text, :wiki_links => :anchor %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|