To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / b4 / b41661ab8e12641807aa683f8cd996cdfc73ffef.svn-base @ 1297:0a574315af3e
History | View | Annotate | Download (1.16 KB)
| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|---|---|
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| 3 |
<head> |
| 4 |
<title><%=h @wiki.project.name %></title> |
| 5 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 6 |
<style> |
| 7 |
body { font:80% Verdana,Tahoma,Arial,sans-serif; }
|
| 8 |
h1, h2, h3, h4 { font-family: "Trebuchet MS",Georgia,"Times New Roman",serif; }
|
| 9 |
ul.toc { padding: 4px; margin-left: 0; }
|
| 10 |
ul.toc li { list-style-type:none; }
|
| 11 |
ul.toc li.heading2 { margin-left: 1em; }
|
| 12 |
ul.toc li.heading3 { margin-left: 2em; }
|
| 13 |
a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
|
| 14 |
a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
|
| 15 |
h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
|
| 16 |
</style> |
| 17 |
</head> |
| 18 |
<body> |
| 19 |
|
| 20 |
<strong><%= l(:label_index_by_title) %></strong> |
| 21 |
<ul> |
| 22 |
<% @pages.each do |page| %> |
| 23 |
<li><a href="#<%= h(page.title) %>"><%= h(page.pretty_title) %></a></li> |
| 24 |
<% end %> |
| 25 |
</ul> |
| 26 |
|
| 27 |
<% @pages.each do |page| %> |
| 28 |
<hr /> |
| 29 |
<a name="<%= h(page.title) %>" /> |
| 30 |
<%= textilizable page.content ,:text, :wiki_links => :anchor %> |
| 31 |
<% end %> |
| 32 |
|
| 33 |
</body> |
| 34 |
</html> |