You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

export_multiple.html.erb 1.1KB

123456789101112131415161718192021222324252627282930
  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><%= @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. <strong><%= l(:label_index_by_title) %></strong>
  20. <%= render_page_hierarchy(@pages.group_by(&:parent_id), nil, :timestamp => true) %>
  21. <% @pages.each do |page| %>
  22. <hr />
  23. <a name="<%= page.title %>" />
  24. <%= textilizable page.content ,:text, :wiki_links => :anchor, :only_path => false %>
  25. <% end %>
  26. </body>
  27. </html>