summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/export_multiple.html.erb
blob: b068ce1d684aef5ba5dcb3b156d8e2161b0405ac (plain)
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
<!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><%= @wiki.project.name %></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<style>
body { font:80% Verdana,Tahoma,Arial,sans-serif; }
h1, h2, h3, h4 {  font-family: "Trebuchet MS",Georgia,"Times New Roman",serif; }
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; }
</style>
</head>
<body>

<strong><%= l(:label_index_by_title) %></strong>
<ul>
<% @pages.each do |page| %>
    <li><a href="#<%= page.title %>"><%= page.pretty_title %></a></li>
<% end %>
</ul>

<% @pages.each do |page| %>
<hr />
<a name="<%= page.title %>" />
<%= textilizable page.content ,:text, :wiki_links => :anchor %>
<% end %>

</body>
</html>