webgen 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. data/ChangeLog +46 -0
  2. data/VERSION +1 -1
  3. data/doc/src/default.template +4 -8
  4. data/doc/src/documentation/references/meta_info_reference.page +17 -0
  5. data/doc/src/news.page +15 -0
  6. data/doc/src/project.todo +9 -2
  7. data/lib/webgen/config.rb +1 -1
  8. data/lib/webgen/plugins/coreplugins/resourcemanager.rb +3 -3
  9. data/lib/webgen/plugins/filehandlers/filehandler.rb +15 -2
  10. data/lib/webgen/plugins/filehandlers/gallery.rb +12 -8
  11. data/lib/webgen/plugins/menustyles/default.rb +6 -1
  12. data/lib/webgen/plugins/tags/breadcrumbtrail.rb +1 -1
  13. data/lib/webgen/plugins/tags/langbar.rb +1 -1
  14. data/lib/webgen/plugins/tags/news.rb +2 -0
  15. data/lib/webgen/plugins/tags/sitemap.rb +1 -1
  16. data/lib/webgen/website.rb +3 -3
  17. metadata +2 -256
  18. data/doc/examples/website_styles/1024px/README +0 -9
  19. data/doc/examples/website_styles/1024px/config.yaml +0 -2
  20. data/doc/examples/website_styles/1024px/src/about.page +0 -12
  21. data/doc/examples/website_styles/1024px/src/default.css +0 -188
  22. data/doc/examples/website_styles/1024px/src/default.template +0 -62
  23. data/doc/examples/website_styles/1024px/src/download.page +0 -15
  24. data/doc/examples/website_styles/1024px/src/features.page +0 -8
  25. data/doc/examples/website_styles/1024px/src/images/background.gif +0 -0
  26. data/doc/examples/website_styles/1024px/src/index.page +0 -9
  27. data/doc/examples/website_styles/1024px/src/screenshots.page +0 -18
  28. data/doc/examples/website_styles/andreas00/README +0 -9
  29. data/doc/examples/website_styles/andreas00/config.yaml +0 -2
  30. data/doc/examples/website_styles/andreas00/src/about.page +0 -12
  31. data/doc/examples/website_styles/andreas00/src/default.css +0 -290
  32. data/doc/examples/website_styles/andreas00/src/default.template +0 -62
  33. data/doc/examples/website_styles/andreas00/src/download.page +0 -15
  34. data/doc/examples/website_styles/andreas00/src/features.page +0 -8
  35. data/doc/examples/website_styles/andreas00/src/images/bg.gif +0 -0
  36. data/doc/examples/website_styles/andreas00/src/images/front.jpg +0 -0
  37. data/doc/examples/website_styles/andreas00/src/images/menubg.gif +0 -0
  38. data/doc/examples/website_styles/andreas00/src/images/menubg2.gif +0 -0
  39. data/doc/examples/website_styles/andreas00/src/index.page +0 -9
  40. data/doc/examples/website_styles/andreas00/src/screenshots.page +0 -18
  41. data/doc/examples/website_styles/andreas01/README +0 -9
  42. data/doc/examples/website_styles/andreas01/config.yaml +0 -2
  43. data/doc/examples/website_styles/andreas01/src/about.page +0 -12
  44. data/doc/examples/website_styles/andreas01/src/default.css +0 -310
  45. data/doc/examples/website_styles/andreas01/src/default.template +0 -63
  46. data/doc/examples/website_styles/andreas01/src/download.page +0 -15
  47. data/doc/examples/website_styles/andreas01/src/features.page +0 -8
  48. data/doc/examples/website_styles/andreas01/src/images/bg.gif +0 -0
  49. data/doc/examples/website_styles/andreas01/src/images/front.jpg +0 -0
  50. data/doc/examples/website_styles/andreas01/src/index.page +0 -9
  51. data/doc/examples/website_styles/andreas01/src/print.css +0 -35
  52. data/doc/examples/website_styles/andreas01/src/screenshots.page +0 -18
  53. data/doc/examples/website_styles/andreas03/README +0 -9
  54. data/doc/examples/website_styles/andreas03/config.yaml +0 -2
  55. data/doc/examples/website_styles/andreas03/src/about.page +0 -12
  56. data/doc/examples/website_styles/andreas03/src/default.css +0 -223
  57. data/doc/examples/website_styles/andreas03/src/default.template +0 -60
  58. data/doc/examples/website_styles/andreas03/src/download.page +0 -15
  59. data/doc/examples/website_styles/andreas03/src/features.page +0 -8
  60. data/doc/examples/website_styles/andreas03/src/images/bodybg.png +0 -0
  61. data/doc/examples/website_styles/andreas03/src/images/contbg.png +0 -0
  62. data/doc/examples/website_styles/andreas03/src/images/footerbg.png +0 -0
  63. data/doc/examples/website_styles/andreas03/src/images/gradient1.png +0 -0
  64. data/doc/examples/website_styles/andreas03/src/images/gradient2.png +0 -0
  65. data/doc/examples/website_styles/andreas03/src/index.page +0 -9
  66. data/doc/examples/website_styles/andreas03/src/screenshots.page +0 -18
  67. data/doc/examples/website_styles/andreas04/README +0 -9
  68. data/doc/examples/website_styles/andreas04/config.yaml +0 -2
  69. data/doc/examples/website_styles/andreas04/src/about.page +0 -12
  70. data/doc/examples/website_styles/andreas04/src/default.css +0 -290
  71. data/doc/examples/website_styles/andreas04/src/default.template +0 -83
  72. data/doc/examples/website_styles/andreas04/src/download.page +0 -15
  73. data/doc/examples/website_styles/andreas04/src/features.page +0 -8
  74. data/doc/examples/website_styles/andreas04/src/images/blinkarrow.gif +0 -0
  75. data/doc/examples/website_styles/andreas04/src/images/bodybg.png +0 -0
  76. data/doc/examples/website_styles/andreas04/src/images/contentbg.png +0 -0
  77. data/doc/examples/website_styles/andreas04/src/images/entrybg.png +0 -0
  78. data/doc/examples/website_styles/andreas04/src/images/flash.gif +0 -0
  79. data/doc/examples/website_styles/andreas04/src/images/flash2.gif +0 -0
  80. data/doc/examples/website_styles/andreas04/src/images/globe.gif +0 -0
  81. data/doc/examples/website_styles/andreas04/src/images/globebottom.gif +0 -0
  82. data/doc/examples/website_styles/andreas04/src/images/linkarrow.gif +0 -0
  83. data/doc/examples/website_styles/andreas04/src/images/menuhover.png +0 -0
  84. data/doc/examples/website_styles/andreas04/src/index.page +0 -9
  85. data/doc/examples/website_styles/andreas04/src/screenshots.page +0 -18
  86. data/doc/examples/website_styles/andreas05/README +0 -9
  87. data/doc/examples/website_styles/andreas05/config.yaml +0 -2
  88. data/doc/examples/website_styles/andreas05/src/about.page +0 -12
  89. data/doc/examples/website_styles/andreas05/src/default.css +0 -33
  90. data/doc/examples/website_styles/andreas05/src/default.template +0 -42
  91. data/doc/examples/website_styles/andreas05/src/download.page +0 -15
  92. data/doc/examples/website_styles/andreas05/src/features.page +0 -8
  93. data/doc/examples/website_styles/andreas05/src/images/bodybg.gif +0 -0
  94. data/doc/examples/website_styles/andreas05/src/images/front.png +0 -0
  95. data/doc/examples/website_styles/andreas05/src/index.page +0 -9
  96. data/doc/examples/website_styles/andreas05/src/screenshots.page +0 -18
  97. data/doc/examples/website_styles/andreas06/README +0 -9
  98. data/doc/examples/website_styles/andreas06/config.yaml +0 -2
  99. data/doc/examples/website_styles/andreas06/src/about.page +0 -12
  100. data/doc/examples/website_styles/andreas06/src/default.css +0 -354
  101. data/doc/examples/website_styles/andreas06/src/default.template +0 -72
  102. data/doc/examples/website_styles/andreas06/src/download.page +0 -15
  103. data/doc/examples/website_styles/andreas06/src/features.page +0 -8
  104. data/doc/examples/website_styles/andreas06/src/images/bodybg.gif +0 -0
  105. data/doc/examples/website_styles/andreas06/src/images/boxbg.gif +0 -0
  106. data/doc/examples/website_styles/andreas06/src/images/greypx.gif +0 -0
  107. data/doc/examples/website_styles/andreas06/src/images/header.jpg +0 -0
  108. data/doc/examples/website_styles/andreas06/src/images/innerbg.gif +0 -0
  109. data/doc/examples/website_styles/andreas06/src/images/leaves.jpg +0 -0
  110. data/doc/examples/website_styles/andreas06/src/images/tabs.gif +0 -0
  111. data/doc/examples/website_styles/andreas06/src/index.page +0 -9
  112. data/doc/examples/website_styles/andreas06/src/screenshots.page +0 -18
  113. data/doc/examples/website_styles/andreas07/README +0 -9
  114. data/doc/examples/website_styles/andreas07/config.yaml +0 -2
  115. data/doc/examples/website_styles/andreas07/src/about.page +0 -12
  116. data/doc/examples/website_styles/andreas07/src/browserfix.css +0 -7
  117. data/doc/examples/website_styles/andreas07/src/default.css +0 -92
  118. data/doc/examples/website_styles/andreas07/src/default.template +0 -44
  119. data/doc/examples/website_styles/andreas07/src/download.page +0 -15
  120. data/doc/examples/website_styles/andreas07/src/features.page +0 -8
  121. data/doc/examples/website_styles/andreas07/src/images/bodybg.gif +0 -0
  122. data/doc/examples/website_styles/andreas07/src/images/sidebarbg.gif +0 -0
  123. data/doc/examples/website_styles/andreas07/src/index.page +0 -9
  124. data/doc/examples/website_styles/andreas07/src/screenshots.page +0 -18
  125. data/doc/examples/website_styles/andreas08/README +0 -9
  126. data/doc/examples/website_styles/andreas08/config.yaml +0 -2
  127. data/doc/examples/website_styles/andreas08/src/about.page +0 -12
  128. data/doc/examples/website_styles/andreas08/src/default.css +0 -224
  129. data/doc/examples/website_styles/andreas08/src/default.template +0 -53
  130. data/doc/examples/website_styles/andreas08/src/download.page +0 -15
  131. data/doc/examples/website_styles/andreas08/src/features.page +0 -8
  132. data/doc/examples/website_styles/andreas08/src/index.page +0 -9
  133. data/doc/examples/website_styles/andreas08/src/screenshots.page +0 -18
  134. data/doc/examples/website_styles/andreas09/README +0 -9
  135. data/doc/examples/website_styles/andreas09/config.yaml +0 -2
  136. data/doc/examples/website_styles/andreas09/src/about.page +0 -12
  137. data/doc/examples/website_styles/andreas09/src/default.css +0 -308
  138. data/doc/examples/website_styles/andreas09/src/default.template +0 -70
  139. data/doc/examples/website_styles/andreas09/src/download.page +0 -15
  140. data/doc/examples/website_styles/andreas09/src/features.page +0 -8
  141. data/doc/examples/website_styles/andreas09/src/images/bodybg-black.jpg +0 -0
  142. data/doc/examples/website_styles/andreas09/src/images/bodybg-green.jpg +0 -0
  143. data/doc/examples/website_styles/andreas09/src/images/bodybg-orange.jpg +0 -0
  144. data/doc/examples/website_styles/andreas09/src/images/bodybg-purple.jpg +0 -0
  145. data/doc/examples/website_styles/andreas09/src/images/bodybg-red.jpg +0 -0
  146. data/doc/examples/website_styles/andreas09/src/images/bodybg.jpg +0 -0
  147. data/doc/examples/website_styles/andreas09/src/images/footerbg.jpg +0 -0
  148. data/doc/examples/website_styles/andreas09/src/images/menuhover-black.jpg +0 -0
  149. data/doc/examples/website_styles/andreas09/src/images/menuhover-green.jpg +0 -0
  150. data/doc/examples/website_styles/andreas09/src/images/menuhover-orange.jpg +0 -0
  151. data/doc/examples/website_styles/andreas09/src/images/menuhover-purple.jpg +0 -0
  152. data/doc/examples/website_styles/andreas09/src/images/menuhover-red.jpg +0 -0
  153. data/doc/examples/website_styles/andreas09/src/images/menuhover.jpg +0 -0
  154. data/doc/examples/website_styles/andreas09/src/index.page +0 -9
  155. data/doc/examples/website_styles/andreas09/src/screenshots.page +0 -18
  156. data/doc/examples/website_styles/default/README +0 -9
  157. data/doc/examples/website_styles/default/config.yaml +0 -2
  158. data/doc/examples/website_styles/default/src/about.page +0 -12
  159. data/doc/examples/website_styles/default/src/default.css +0 -84
  160. data/doc/examples/website_styles/default/src/default.template +0 -38
  161. data/doc/examples/website_styles/default/src/download.page +0 -15
  162. data/doc/examples/website_styles/default/src/features.page +0 -8
  163. data/doc/examples/website_styles/default/src/index.page +0 -9
  164. data/doc/examples/website_styles/default/src/screenshots.page +0 -18
  165. data/doc/examples/website_templates/default/README +0 -8
  166. data/doc/examples/website_templates/default/config.yaml +0 -2
  167. data/doc/examples/website_templates/default/src/default.css +0 -84
  168. data/doc/examples/website_templates/default/src/default.template +0 -38
  169. data/doc/examples/website_templates/default/src/index.page +0 -8
  170. data/doc/examples/website_templates/personal_hp/README +0 -8
  171. data/doc/examples/website_templates/personal_hp/config.yaml +0 -2
  172. data/doc/examples/website_templates/personal_hp/src/about.page +0 -12
  173. data/doc/examples/website_templates/personal_hp/src/default.css +0 -84
  174. data/doc/examples/website_templates/personal_hp/src/default.template +0 -38
  175. data/doc/examples/website_templates/personal_hp/src/index.page +0 -9
  176. data/doc/examples/website_templates/personal_hp/src/links.page +0 -22
  177. data/doc/examples/website_templates/personal_hp/src/projects.page +0 -20
  178. data/doc/examples/website_templates/project/README +0 -9
  179. data/doc/examples/website_templates/project/config.yaml +0 -2
  180. data/doc/examples/website_templates/project/src/about.page +0 -12
  181. data/doc/examples/website_templates/project/src/default.css +0 -84
  182. data/doc/examples/website_templates/project/src/default.template +0 -38
  183. data/doc/examples/website_templates/project/src/download.page +0 -15
  184. data/doc/examples/website_templates/project/src/features.page +0 -8
  185. data/doc/examples/website_templates/project/src/index.page +0 -9
  186. data/doc/examples/website_templates/project/src/screenshots.page +0 -18
  187. data/doc/plugin/gallery/slides/collage.rb +0 -337
  188. data/doc/src/examples/gallery_styles/default/default.gallery +0 -78
  189. data/doc/src/examples/gallery_styles/default/gallery_gallery.template +0 -38
  190. data/doc/src/examples/gallery_styles/default/gallery_image.template +0 -30
  191. data/doc/src/examples/gallery_styles/default/gallery_main.template +0 -18
  192. data/doc/src/examples/gallery_styles/index.page +0 -22
  193. data/doc/src/examples/gallery_styles/slides/gallery_gallery.template +0 -62
  194. data/doc/src/examples/gallery_styles/slides/gallery_image.template +0 -53
  195. data/doc/src/examples/gallery_styles/slides/gallery_main.template +0 -32
  196. data/doc/src/examples/gallery_styles/slides/slides.gallery +0 -79
  197. data/doc/src/examples/sipttra_styles/default.page +0 -5
  198. data/doc/src/examples/sipttra_styles/default/css/sipttra.rcss +0 -71
  199. data/doc/src/examples/sipttra_styles/default/default.template +0 -16
  200. data/doc/src/examples/sipttra_styles/default/index.todo +0 -60
  201. data/doc/src/examples/sipttra_styles/default/js/sipttra.js +0 -7
  202. data/doc/src/examples/sipttra_styles/default/sipttra.template +0 -105
  203. data/doc/src/examples/sipttra_styles/index.page +0 -17
  204. data/doc/src/examples/website_styles/1024px.page +0 -5
  205. data/doc/src/examples/website_styles/andreas00.page +0 -5
  206. data/doc/src/examples/website_styles/andreas01.page +0 -5
  207. data/doc/src/examples/website_styles/andreas03.page +0 -5
  208. data/doc/src/examples/website_styles/andreas04.page +0 -5
  209. data/doc/src/examples/website_styles/andreas05.page +0 -5
  210. data/doc/src/examples/website_styles/andreas06.page +0 -5
  211. data/doc/src/examples/website_styles/andreas07.page +0 -5
  212. data/doc/src/examples/website_styles/andreas08.page +0 -5
  213. data/doc/src/examples/website_styles/andreas09.page +0 -5
  214. data/doc/src/examples/website_styles/default.page +0 -5
  215. data/doc/src/examples/website_styles/index.page +0 -76
  216. data/doc/src/examples/website_templates/default.page +0 -5
  217. data/doc/src/examples/website_templates/index.page +0 -24
  218. data/doc/src/examples/website_templates/personal_hp.page +0 -5
  219. data/doc/src/examples/website_templates/project.page +0 -5
@@ -1,30 +0,0 @@
1
- --- content, html
2
- <div class="webgen-gallery webgen-gallery-image">
3
- <% ginfo = node.node_info[:ginfo] %>
4
- <table width="100%">
5
- <tr>
6
- <td style="width: 33%" align="left">
7
- <% if ginfo.prev_image %>
8
- <a href="{relocatable: <%= ginfo.prev_image.pagename %>}">&lt;&lt;&nbsp;<%= ginfo.prev_image.thumbnail('style'=>'vertical-align: middle', 'class'=>'webgen-gallery-thumbnail') %></a>
9
- <% end %>
10
- </td>
11
- <td style="width: 34%" align="center">
12
- <a href="{relocatable: <%= ginfo.cur_gallery.pagename %>}">
13
- <%= ginfo.cur_gallery.thumbnail('class'=>'webgen-gallery-thumbnail') %><br />^<%= ginfo.cur_gallery.title %>^
14
- </a>
15
- </td>
16
- <td style="width: 33%" align="right">
17
- <% if ginfo.next_image %>
18
- <a href="{relocatable: <%= ginfo.next_image.pagename %>}"><%= ginfo.next_image.thumbnail('style'=>'vertical-align: middle', 'class'=>'webgen-gallery-thumbnail') %>&nbsp;&gt;&gt;</a>
19
- <% end %>
20
- </td>
21
- </tr>
22
- </table>
23
-
24
- <p style="text-align: center">
25
- <img src="{relocatable: <%= ginfo.cur_image.filename %>}" alt="<%= ginfo.cur_image.title %>" /> <br />
26
- </p>
27
-
28
- <p><%= ginfo.cur_image['description'] %></p>
29
-
30
- </div>
@@ -1,18 +0,0 @@
1
- --- content, html
2
- <div class="webgen-gallery webgen-gallery-main">
3
- <% ginfo = node.node_info[:ginfo] %>
4
- <table width="100%">
5
- <% 0.step( ginfo.galleries.length - 1, 5 ) do |row_index| %>
6
- <tr>
7
- <% row_index.upto( [row_index + 4, ginfo.galleries.length - 1].min ) do |col_index| %>
8
- <td align="center">
9
- <a href="{relocatable: <%= ginfo.galleries[col_index].pagename %>}">
10
- <%= ginfo.galleries[col_index].thumbnail('class'=>'webgen-gallery-thumbnail') %><br />
11
- <%= ginfo.galleries[col_index].title %>
12
- </a>
13
- </td>
14
- <% end %>
15
- </tr>
16
- <% end %>
17
- </table>
18
- </div>
@@ -1,22 +0,0 @@
1
- ---
2
- title: Index
3
- directoryName: Gallery Styles
4
- ---
5
- h2. List of gallery styles
6
-
7
- The gallery style example pages open in an iframe when you use the menu items. Use the links
8
- provided below to open the gallery style example pages directly (fullscreen).
9
-
10
- Following is the list of all available gallery styles:
11
-
12
-
13
- * <a href='default/index.html'>default</a>
14
-
15
- * *Author*: Thomas Leitner
16
- * *Description*: Provides a simple and useful gallery style with thumbnail previews that link to the next and previous picture or gallery page.
17
- * <a href='slides/index.html'>slides</a>
18
-
19
- * *Author*: Thomas Leitner (created gallery style) Corban Brook (original collage creation routines)
20
- * *Description*: A style which uses RMagick to generate a slide background for the thumbnails and a collage for the main page, prettier than the default style ;-) This style was done after reading an article by Corban Brook on rendering collages with Ruby and RMagick.
21
- * *Plugin files*: collage.rb
22
- * *Usage*: This style uses a layouter plugin for creating the collage and slide backgrounds. Therefore you have to explicitly specify in the gallery file that you want to use the layouter slides. The plugin also only generates images if they do not exist. So, if there is already a collage image, a new one will not be created.
@@ -1,62 +0,0 @@
1
- --- content, html
2
- <%
3
- ginfo = node.node_info[:ginfo]
4
- if ginfo[:collage_node].nil?
5
- log(:error) { "Use of templates from gallery style 'slides' only possible if option layouter is set to 'slides' in gallery file!" }
6
- else
7
- %>
8
-
9
-
10
- <div class="webgen-gallery webgen-gallery-gallery" style="background-color: <%= ginfo[:collage_node].collage_color %>">
11
- <table width="100%" style="padding: 5px; margin-bottom: 10px;">
12
- <tr>
13
- <td style="width: 33%; padding: 2px;" align="left">
14
- <% if ginfo.prev_gallery %>
15
- <a href="{relocatable: <%= ginfo.prev_gallery.pagename %>}">
16
- &lt;&lt; previous gallery
17
- <span class="thumb thumb-<%= ginfo['title'].tr(' ', '_') %>">
18
- <%= ginfo.prev_gallery.thumbnail('style'=>'vertical-align: middle', 'class'=>'webgen-gallery-thumbnail') %>
19
- </span>
20
- </a>
21
- <% end %>
22
- </td>
23
- <td style="width: 34%;" valign="top" align="center">
24
- <% if ginfo.mainpage %>
25
- <a href="{relocatable: <%= ginfo.mainpage.pagename %>}"><img src="<%= ginfo[:collage_thumb_node].path %>" alt="back to main" /></a>
26
- <% end %>
27
- </td>
28
- <td style="width: 33%; padding: 2px;" align="right">
29
- <% if ginfo.next_gallery %>
30
- <a href="{relocatable: <%= ginfo.next_gallery.pagename %>}">
31
- next gallery &gt;&gt;
32
- <span class="thumb thumb-<%= ginfo['title'].tr(' ', '_') %>">
33
- <%= ginfo.next_gallery.thumbnail('style'=>'vertical-align: middle', 'class'=>'webgen-gallery-thumbnail') %>
34
- </span>
35
- </a>
36
- <% end %>
37
- </td>
38
- </tr>
39
- </table>
40
-
41
- <table width="100%">
42
- <% 0.step( ginfo.cur_gallery.images.length - 1, 5 ) do |row_index| %>
43
- <tr>
44
- <% row_index.upto( [row_index + 4, ginfo.cur_gallery.images.length - 1].min ) do |col_index|%>
45
- <td align="center">
46
- <a href="{relocatable: <%= ginfo.cur_gallery.images[col_index].pagename %>}">
47
- <span class="thumb thumb-<%= ginfo['title'].tr(' ', '_') %>">
48
- <%= ginfo.cur_gallery.images[col_index].thumbnail('class'=>'webgen-gallery-thumbnail') %>
49
- </span>
50
- <br />
51
- <%= ginfo.cur_gallery.images[col_index].title %>
52
- </a>
53
- </td>
54
- <% end %>
55
- </tr>
56
- <% end %>
57
- </table>
58
-
59
- </div>
60
-
61
-
62
- <% end %>
@@ -1,53 +0,0 @@
1
- --- content, html
2
- <%
3
- ginfo = node.node_info[:ginfo]
4
- if ginfo[:collage_node].nil?
5
- log(:error) { "Use of templates from gallery style 'slides' only possible if option layouter is set to 'slides' in gallery file!" }
6
- else
7
- %>
8
-
9
-
10
- <div class="webgen-gallery webgen-gallery-image" style="background-color: <%= ginfo[:collage_node].collage_color %>">
11
- <table width="100%" style="padding: 5px; margin-bottom: 10px;">
12
- <tr>
13
- <td style="width: 33%; padding: 2px;" align="left">
14
- <% if ginfo.prev_image %>
15
- <a href="{relocatable: <%= ginfo.prev_image.pagename %>}">
16
- &lt;&lt; previous image
17
- <span class="thumb thumb-<%= ginfo['title'].tr(' ', '_') %>">
18
- <%= ginfo.prev_image.thumbnail('style'=>'vertical-align: middle', 'class'=>'webgen-gallery-thumbnail') %>
19
- </span>
20
- </a>
21
- <% end %>
22
- </td>
23
- <td style="width: 34%; padding: 2px;" valign="top" align="center">
24
- <a href="{relocatable: <%= ginfo.cur_gallery.pagename %>}">
25
- <span class="thumb thumb-<%= ginfo['title'].tr(' ', '_') %>">
26
- <%= ginfo.cur_gallery.thumbnail('class'=>'webgen-gallery-thumbnail') %>
27
- </span>
28
- ^<%= ginfo.cur_gallery.title %>^
29
- </a>
30
- </td>
31
- <td style="width: 33%; padding: 2px;" align="right">
32
- <% if ginfo.next_image %>
33
- <a href="{relocatable: <%= ginfo.next_image.pagename %>}">
34
- next image &gt;&gt;
35
- <span class="thumb thumb-<%= ginfo['title'].tr(' ', '_') %>">
36
- <%= ginfo.next_image.thumbnail('style'=>'vertical-align: middle', 'class'=>'webgen-gallery-thumbnail') %>
37
- </span>
38
- </a>
39
- <% end %>
40
- </td>
41
- </tr>
42
- </table>
43
-
44
- <p style="text-align: center">
45
- <img src="{relocatable: <%= ginfo.cur_image.filename %>}" alt="<%= ginfo.cur_image.title %>" /> <br />
46
- </p>
47
-
48
- <p><%= ginfo.cur_image['description'] %></p>
49
-
50
- </div>
51
-
52
-
53
- <% end %>
@@ -1,32 +0,0 @@
1
- --- content, html
2
- <%
3
- ginfo = node.node_info[:ginfo]
4
- if ginfo[:collage_node].nil?
5
- log(:error) { "Use of templates from gallery style 'slides' only possible if option layouter is set to 'slides' in gallery file!" }
6
- else
7
- %>
8
-
9
-
10
- <div class="webgen-gallery webgen-gallery-main" style="background-color: <%= ginfo[:collage_node].collage_color %>">
11
- <p style="text-align: center"><img src="<%= ginfo[:collage_node].path %>" alt="collage" /></p>
12
- <table width="100%">
13
- <% 0.step( ginfo.galleries.length - 1, 5 ) do |row_index| %>
14
- <tr>
15
- <% row_index.upto( [row_index + 4, ginfo.galleries.length - 1].min ) do |col_index| %>
16
- <td align="center">
17
- <a href="{relocatable: <%= ginfo.galleries[col_index].pagename %>}">
18
- <span class="thumb thumb-<%= ginfo['title'].tr(' ', '_') %>">
19
- <%= ginfo.galleries[col_index].thumbnail('class'=>'webgen-gallery-thumbnail') %>
20
- </span>
21
- <br />
22
- <%= ginfo.galleries[col_index].title %>
23
- </a>
24
- </td>
25
- <% end %>
26
- </tr>
27
- <% end %>
28
- </table>
29
- </div>
30
-
31
-
32
- <% end %>
@@ -1,79 +0,0 @@
1
- title: index
2
- images: ../../images/*
3
- imagesPerPage: 8
4
- mainPageMetaInfo:
5
- inMenu: true
6
- layouter: slides
7
- thumbnailResizeMethod: :cropped
8
- ---
9
- ../../images/image01.jpg:
10
- title: Chinese Garden
11
- description: This picture show the Chinese Garden located in the outskirts of Vienna (Austria).
12
-
13
- ../../images/image02.jpg:
14
- title: Goldenes Dach
15
- description: This is the landmark of Innsbruck (Tyrol, Austria), called the 'Goldene Dach' (golden roof).
16
-
17
- ../../images/image03.jpg:
18
- title: Mountains in Innsbruck
19
- description: A view from the <a href='http://www.nordpark.com'>NordPark</a> in Innsbruck.
20
-
21
- ../../images/image04.jpg:
22
- title: Kristallwelten 1
23
- description: The entry to the 'Kristallwelten' of <a href='http://www.swarovski.com'>Swarovski</a> in Innsbruck.
24
-
25
- ../../images/image05.jpg:
26
- title: Kristallwelten 2
27
- description: On the roof of the building.
28
-
29
- ../../images/image06.jpg:
30
- title: Kristallwelten 3
31
- description: Some crystals.
32
-
33
- ../../images/image07.jpg:
34
- title: Minimundus 1
35
- description: A french castle
36
-
37
- ../../images/image08.jpg:
38
- title: Minimundus 2
39
- description: A small copy of the <a href=''>Sagrada Familia</a> of Barcelona.
40
-
41
- ../../images/image09.jpg:
42
- title: Minimundus 3
43
- description: The Stephansdom in Vienna.
44
-
45
- ../../images/image10.jpg:
46
- title: Minimundus 4
47
- description: Overview of Minimundus, a place with smaller versions of famous buildings.
48
-
49
- ../../images/image11.jpg:
50
- title: Velden
51
- description: Photo from Velden, Wörtersee, Carinthia, Austria
52
-
53
- ../../images/image12.jpg:
54
- title: Stockholm 1
55
- description: A 300-year-old ship, the Wasa, located in the Wasamuseet in Stockholm.
56
-
57
- ../../images/image13.jpg:
58
- title: Stockholm 2
59
- description: A fort near Stockholm.
60
-
61
- ../../images/image14.jpg:
62
- title: Stockholm 3
63
- description: Overview of Gamla Stan (old town centre of Stockholm)
64
-
65
- ../../images/image15.jpg:
66
- title: Stockholm 4
67
- description: View from a bridge in the direction of Gamla Stan
68
-
69
- ../../images/image16.jpg:
70
- title: Zakynthos 1
71
- description: An isle that looks like a turtle
72
-
73
- ../../images/image17.jpg:
74
- title: Zakynthos 2
75
- description: The oldest olive tree of Zakynthos.
76
-
77
- ../../images/image18.jpg:
78
- title: Zakynthos 3
79
- description: The Navagio ship wreck, very famous Greek tourist destination.
@@ -1,5 +0,0 @@
1
- ---
2
- title: default
3
- inMenu: true
4
- --- content, html
5
- <object type='text/html' data='default/index.html' width='100%' height='600px' />
@@ -1,71 +0,0 @@
1
- <%
2
- copen = "#e0baba"
3
- cclosed = "#bae0ba"
4
- %>
5
-
6
- div.milestone h2.milestone-name {
7
- padding-bottom: 0px;
8
- margin-bottom: 0px;
9
- border-bottom: 1px solid gray;
10
- }
11
-
12
- div.milestone h2.milestone-name span {
13
- font-size: 110%;
14
- }
15
-
16
- div.milestone p.milestone-info {
17
- padding-top: 0px;
18
- margin-top: 0px;
19
- }
20
-
21
- div.milestone div.milestone-summary {
22
- }
23
-
24
- div.milestone div.milestone-description {
25
- padding-left: 20px;
26
- }
27
-
28
- div.milestone div.progress-info {
29
- padding-left: 20px;
30
- }
31
-
32
- div.milestone div.progress-bar {
33
- margin-top: 10px;
34
- height: 20px;
35
- width: 400px;
36
- background-color: <%= copen %>;
37
- }
38
-
39
- div.milestone div.progress-indicator {
40
- background-color: <%= cclosed %>;
41
- height: 100%;
42
- width: 0px;
43
- }
44
-
45
- div.milestone p.progress-text {
46
- font-size: 60%;
47
- }
48
-
49
- div.milestone ul.assigned-tickets, div.milestone ul.sub-milestones {
50
- display: none;
51
- }
52
-
53
- div.ticket table.tickets {
54
- width: 100%;
55
- }
56
-
57
- div.ticket table.tickets tr {
58
- background-color: <%= copen %>;
59
- }
60
-
61
- div.ticket table.tickets tr.header {
62
- background-color: inherit;
63
- }
64
-
65
- div.ticket table.tickets tr.closed {
66
- background-color: <%= cclosed %>;
67
- }
68
-
69
- div.ticket table.tickets div.ticket-description {
70
- display: none;
71
- }
@@ -1,16 +0,0 @@
1
- ---
2
- template: ~
3
- ---
4
- <?xml version="1.0" encoding="UTF-8"?>
5
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang:}">
7
- <head>
8
- <title>Sipttra Style</title>
9
- <link rel="stylesheet" href="{resource: {name: webgen-css, insert: :path}}" type="text/css" media="screen" />
10
- <link rel="stylesheet" href="{relocatable: css/sipttra.css}" type="text/css" media="screen" />
11
- <script type="text/javascript" src="{relocatable: js/sipttra.js}" />
12
- </head>
13
- <body>
14
- {block:}
15
- </body>
16
- </html>
@@ -1,60 +0,0 @@
1
- ---
2
- webgen-metainfo:
3
- template: sipttra.template
4
- ---
5
- ###### Milestones ######
6
- * Feb07 (2007-02-28) Bug fixes and small enhancements
7
- - include patches/requests created since 0.4.1 release
8
- - add support for sipttra files, the Simple Plain Text Tracker
9
-
10
- * F: Ideas and todo items for future versions
11
-
12
- This milestone holds all ideas/todo items/requests which are implemented some
13
- time in the future.
14
-
15
- ###### Implementation (open) ######
16
-
17
- * T002 [F] add localization support for all files
18
- See also FR#7891
19
-
20
- * T003 [F] add additional tests for sipttra implementation
21
-
22
- ## Implementation (closed) ##
23
-
24
- * T004 [Feb07] use HTML as default format for templates
25
- See also FR#7893
26
-
27
- * T006 [Feb07] add parameter for not showing index files in breadcrumb trail
28
- See also PATCH#7942
29
-
30
- * T007 [Feb07] implement a plugin for storing/accessing global variables
31
-
32
- * T001 [Feb07] add support for sipttra files
33
-
34
- ###### Bugs (open) ######
35
-
36
- * T013 [Feb07] fix TreeWalker (write mail to mailing list and ask what should be done with it)
37
-
38
- ## Bugs (closed) ##
39
-
40
- * T005 [Feb07] check all styles for correctly selected menu items
41
- style issues because of new span element when File/DefaultHandler:linkToCurrentPage is false
42
-
43
- * T009 [Feb07] PluginManager#init: log typo for 'creating plugin of class...'
44
-
45
- * T012 [Feb07] update copyright notices for included website templates
46
- See also Bug#8725
47
-
48
- * T008 [Feb07] PluginLoader shouldn't load plugins that are already loaded in the DEFAULT_WRAPPER_MODULE
49
- When site plugins use the load_plugin command to load plugins that are shipped with webgen and loaded by
50
- default, some plugins don't work correctly as plugin classes get defined twice with different oids.
51
-
52
- ###### Documentation (open) ######
53
-
54
- * T011 [Feb07] add example section for sipttra style files
55
-
56
- ## Documentation (closed) ##
57
-
58
- * T010 [Feb07] add some example sites
59
- It was requested that one should be able to download some zipped examples sites from the examples
60
- section showing basic use cases for webgen.