webgen 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (214) hide show
  1. data/ChangeLog +23 -187
  2. data/THANKS +8 -3
  3. data/VERSION +1 -1
  4. data/doc/examples/website_styles/1024px/README +9 -0
  5. data/doc/examples/website_styles/1024px/config.yaml +2 -0
  6. data/doc/examples/website_styles/1024px/src/about.page +12 -0
  7. data/doc/examples/website_styles/1024px/src/default.css +188 -0
  8. data/doc/examples/website_styles/1024px/src/default.template +62 -0
  9. data/doc/examples/website_styles/1024px/src/download.page +15 -0
  10. data/doc/examples/website_styles/1024px/src/features.page +8 -0
  11. data/doc/examples/website_styles/1024px/src/images/background.gif +0 -0
  12. data/doc/examples/website_styles/1024px/src/index.page +9 -0
  13. data/doc/examples/website_styles/1024px/src/screenshots.page +18 -0
  14. data/doc/examples/website_styles/andreas00/README +9 -0
  15. data/doc/examples/website_styles/andreas00/config.yaml +2 -0
  16. data/doc/examples/website_styles/andreas00/src/about.page +12 -0
  17. data/doc/examples/website_styles/andreas00/src/default.css +290 -0
  18. data/doc/examples/website_styles/andreas00/src/default.template +62 -0
  19. data/doc/examples/website_styles/andreas00/src/download.page +15 -0
  20. data/doc/examples/website_styles/andreas00/src/features.page +8 -0
  21. data/doc/examples/website_styles/andreas00/src/images/bg.gif +0 -0
  22. data/doc/examples/website_styles/andreas00/src/images/front.jpg +0 -0
  23. data/doc/examples/website_styles/andreas00/src/images/menubg.gif +0 -0
  24. data/doc/examples/website_styles/andreas00/src/images/menubg2.gif +0 -0
  25. data/doc/examples/website_styles/andreas00/src/index.page +9 -0
  26. data/doc/examples/website_styles/andreas00/src/screenshots.page +18 -0
  27. data/doc/examples/website_styles/andreas01/README +9 -0
  28. data/doc/examples/website_styles/andreas01/config.yaml +2 -0
  29. data/doc/examples/website_styles/andreas01/src/about.page +12 -0
  30. data/doc/examples/website_styles/andreas01/src/default.css +310 -0
  31. data/doc/examples/website_styles/andreas01/src/default.template +63 -0
  32. data/doc/examples/website_styles/andreas01/src/download.page +15 -0
  33. data/doc/examples/website_styles/andreas01/src/features.page +8 -0
  34. data/doc/examples/website_styles/andreas01/src/images/bg.gif +0 -0
  35. data/doc/examples/website_styles/andreas01/src/images/front.jpg +0 -0
  36. data/doc/examples/website_styles/andreas01/src/index.page +9 -0
  37. data/doc/examples/website_styles/andreas01/src/print.css +35 -0
  38. data/doc/examples/website_styles/andreas01/src/screenshots.page +18 -0
  39. data/doc/examples/website_styles/andreas03/README +9 -0
  40. data/doc/examples/website_styles/andreas03/config.yaml +2 -0
  41. data/doc/examples/website_styles/andreas03/src/about.page +12 -0
  42. data/doc/examples/website_styles/andreas03/src/default.css +223 -0
  43. data/doc/examples/website_styles/andreas03/src/default.template +60 -0
  44. data/doc/examples/website_styles/andreas03/src/download.page +15 -0
  45. data/doc/examples/website_styles/andreas03/src/features.page +8 -0
  46. data/doc/examples/website_styles/andreas03/src/images/bodybg.png +0 -0
  47. data/doc/examples/website_styles/andreas03/src/images/contbg.png +0 -0
  48. data/doc/examples/website_styles/andreas03/src/images/footerbg.png +0 -0
  49. data/doc/examples/website_styles/andreas03/src/images/gradient1.png +0 -0
  50. data/doc/examples/website_styles/andreas03/src/images/gradient2.png +0 -0
  51. data/doc/examples/website_styles/andreas03/src/index.page +9 -0
  52. data/doc/examples/website_styles/andreas03/src/screenshots.page +18 -0
  53. data/doc/examples/website_styles/andreas04/README +9 -0
  54. data/doc/examples/website_styles/andreas04/config.yaml +2 -0
  55. data/doc/examples/website_styles/andreas04/src/about.page +12 -0
  56. data/doc/examples/website_styles/andreas04/src/default.css +290 -0
  57. data/doc/examples/website_styles/andreas04/src/default.template +83 -0
  58. data/doc/examples/website_styles/andreas04/src/download.page +15 -0
  59. data/doc/examples/website_styles/andreas04/src/features.page +8 -0
  60. data/doc/examples/website_styles/andreas04/src/images/blinkarrow.gif +0 -0
  61. data/doc/examples/website_styles/andreas04/src/images/bodybg.png +0 -0
  62. data/doc/examples/website_styles/andreas04/src/images/contentbg.png +0 -0
  63. data/doc/examples/website_styles/andreas04/src/images/entrybg.png +0 -0
  64. data/doc/examples/website_styles/andreas04/src/images/flash.gif +0 -0
  65. data/doc/examples/website_styles/andreas04/src/images/flash2.gif +0 -0
  66. data/doc/examples/website_styles/andreas04/src/images/globe.gif +0 -0
  67. data/doc/examples/website_styles/andreas04/src/images/globebottom.gif +0 -0
  68. data/doc/examples/website_styles/andreas04/src/images/linkarrow.gif +0 -0
  69. data/doc/examples/website_styles/andreas04/src/images/menuhover.png +0 -0
  70. data/doc/examples/website_styles/andreas04/src/index.page +9 -0
  71. data/doc/examples/website_styles/andreas04/src/screenshots.page +18 -0
  72. data/doc/examples/website_styles/andreas05/README +9 -0
  73. data/doc/examples/website_styles/andreas05/config.yaml +2 -0
  74. data/doc/examples/website_styles/andreas05/src/about.page +12 -0
  75. data/doc/examples/website_styles/andreas05/src/default.css +33 -0
  76. data/doc/examples/website_styles/andreas05/src/default.template +42 -0
  77. data/doc/examples/website_styles/andreas05/src/download.page +15 -0
  78. data/doc/examples/website_styles/andreas05/src/features.page +8 -0
  79. data/doc/examples/website_styles/andreas05/src/images/bodybg.gif +0 -0
  80. data/doc/examples/website_styles/andreas05/src/images/front.png +0 -0
  81. data/doc/examples/website_styles/andreas05/src/index.page +9 -0
  82. data/doc/examples/website_styles/andreas05/src/screenshots.page +18 -0
  83. data/doc/examples/website_styles/andreas06/README +9 -0
  84. data/doc/examples/website_styles/andreas06/config.yaml +2 -0
  85. data/doc/examples/website_styles/andreas06/src/about.page +12 -0
  86. data/doc/examples/website_styles/andreas06/src/default.css +354 -0
  87. data/doc/examples/website_styles/andreas06/src/default.template +72 -0
  88. data/doc/examples/website_styles/andreas06/src/download.page +15 -0
  89. data/doc/examples/website_styles/andreas06/src/features.page +8 -0
  90. data/doc/examples/website_styles/andreas06/src/images/bodybg.gif +0 -0
  91. data/doc/examples/website_styles/andreas06/src/images/boxbg.gif +0 -0
  92. data/doc/examples/website_styles/andreas06/src/images/greypx.gif +0 -0
  93. data/doc/examples/website_styles/andreas06/src/images/header.jpg +0 -0
  94. data/doc/examples/website_styles/andreas06/src/images/innerbg.gif +0 -0
  95. data/doc/examples/website_styles/andreas06/src/images/leaves.jpg +0 -0
  96. data/doc/examples/website_styles/andreas06/src/images/tabs.gif +0 -0
  97. data/doc/examples/website_styles/andreas06/src/index.page +9 -0
  98. data/doc/examples/website_styles/andreas06/src/screenshots.page +18 -0
  99. data/doc/examples/website_styles/andreas07/README +9 -0
  100. data/doc/examples/website_styles/andreas07/config.yaml +2 -0
  101. data/doc/examples/website_styles/andreas07/src/about.page +12 -0
  102. data/doc/examples/website_styles/andreas07/src/browserfix.css +7 -0
  103. data/doc/examples/website_styles/andreas07/src/default.css +92 -0
  104. data/doc/examples/website_styles/andreas07/src/default.template +44 -0
  105. data/doc/examples/website_styles/andreas07/src/download.page +15 -0
  106. data/doc/examples/website_styles/andreas07/src/features.page +8 -0
  107. data/doc/examples/website_styles/andreas07/src/images/bodybg.gif +0 -0
  108. data/doc/examples/website_styles/andreas07/src/images/sidebarbg.gif +0 -0
  109. data/doc/examples/website_styles/andreas07/src/index.page +9 -0
  110. data/doc/examples/website_styles/andreas07/src/screenshots.page +18 -0
  111. data/doc/examples/website_styles/andreas08/README +9 -0
  112. data/doc/examples/website_styles/andreas08/config.yaml +2 -0
  113. data/doc/examples/website_styles/andreas08/src/about.page +12 -0
  114. data/doc/examples/website_styles/andreas08/src/default.css +224 -0
  115. data/doc/examples/website_styles/andreas08/src/default.template +53 -0
  116. data/doc/examples/website_styles/andreas08/src/download.page +15 -0
  117. data/doc/examples/website_styles/andreas08/src/features.page +8 -0
  118. data/doc/examples/website_styles/andreas08/src/index.page +9 -0
  119. data/doc/examples/website_styles/andreas08/src/screenshots.page +18 -0
  120. data/doc/examples/website_styles/andreas09/README +9 -0
  121. data/doc/examples/website_styles/andreas09/config.yaml +2 -0
  122. data/doc/examples/website_styles/andreas09/src/about.page +12 -0
  123. data/doc/examples/website_styles/andreas09/src/default.css +308 -0
  124. data/doc/examples/website_styles/andreas09/src/default.template +70 -0
  125. data/doc/examples/website_styles/andreas09/src/download.page +15 -0
  126. data/doc/examples/website_styles/andreas09/src/features.page +8 -0
  127. data/doc/examples/website_styles/andreas09/src/images/bodybg-black.jpg +0 -0
  128. data/doc/examples/website_styles/andreas09/src/images/bodybg-green.jpg +0 -0
  129. data/doc/examples/website_styles/andreas09/src/images/bodybg-orange.jpg +0 -0
  130. data/doc/examples/website_styles/andreas09/src/images/bodybg-purple.jpg +0 -0
  131. data/doc/examples/website_styles/andreas09/src/images/bodybg-red.jpg +0 -0
  132. data/doc/examples/website_styles/andreas09/src/images/bodybg.jpg +0 -0
  133. data/doc/examples/website_styles/andreas09/src/images/footerbg.jpg +0 -0
  134. data/doc/examples/website_styles/andreas09/src/images/menuhover-black.jpg +0 -0
  135. data/doc/examples/website_styles/andreas09/src/images/menuhover-green.jpg +0 -0
  136. data/doc/examples/website_styles/andreas09/src/images/menuhover-orange.jpg +0 -0
  137. data/doc/examples/website_styles/andreas09/src/images/menuhover-purple.jpg +0 -0
  138. data/doc/examples/website_styles/andreas09/src/images/menuhover-red.jpg +0 -0
  139. data/doc/examples/website_styles/andreas09/src/images/menuhover.jpg +0 -0
  140. data/doc/examples/website_styles/andreas09/src/index.page +9 -0
  141. data/doc/examples/website_styles/andreas09/src/screenshots.page +18 -0
  142. data/doc/examples/website_styles/default/README +9 -0
  143. data/doc/examples/website_styles/default/config.yaml +2 -0
  144. data/doc/examples/website_styles/default/src/about.page +12 -0
  145. data/doc/examples/website_styles/default/src/default.css +84 -0
  146. data/doc/examples/website_styles/default/src/default.template +38 -0
  147. data/doc/examples/website_styles/default/src/download.page +15 -0
  148. data/doc/examples/website_styles/default/src/features.page +8 -0
  149. data/doc/examples/website_styles/default/src/index.page +9 -0
  150. data/doc/examples/website_styles/default/src/screenshots.page +18 -0
  151. data/doc/examples/website_templates/default/README +8 -0
  152. data/doc/examples/website_templates/default/config.yaml +2 -0
  153. data/doc/examples/website_templates/default/src/default.css +84 -0
  154. data/doc/examples/website_templates/default/src/default.template +38 -0
  155. data/doc/examples/website_templates/default/src/index.page +8 -0
  156. data/doc/examples/website_templates/personal_hp/README +8 -0
  157. data/doc/examples/website_templates/personal_hp/config.yaml +2 -0
  158. data/doc/examples/website_templates/personal_hp/src/about.page +12 -0
  159. data/doc/examples/website_templates/personal_hp/src/default.css +84 -0
  160. data/doc/examples/website_templates/personal_hp/src/default.template +38 -0
  161. data/doc/examples/website_templates/personal_hp/src/index.page +9 -0
  162. data/doc/examples/website_templates/personal_hp/src/links.page +22 -0
  163. data/doc/examples/website_templates/personal_hp/src/projects.page +20 -0
  164. data/doc/examples/website_templates/project/README +9 -0
  165. data/doc/examples/website_templates/project/config.yaml +2 -0
  166. data/doc/examples/website_templates/project/src/about.page +12 -0
  167. data/doc/examples/website_templates/project/src/default.css +84 -0
  168. data/doc/examples/website_templates/project/src/default.template +38 -0
  169. data/doc/examples/website_templates/project/src/download.page +15 -0
  170. data/doc/examples/website_templates/project/src/features.page +8 -0
  171. data/doc/examples/website_templates/project/src/index.page +9 -0
  172. data/doc/examples/website_templates/project/src/screenshots.page +18 -0
  173. data/doc/plugin/gallery/slides/collage.rb +337 -0
  174. data/doc/src/default.template +4 -4
  175. data/doc/src/documentation/plugins/core/filehandler.page +6 -0
  176. data/doc/src/examples/gallery_styles/default/default.gallery +78 -0
  177. data/doc/src/examples/gallery_styles/default/gallery_gallery.template +38 -0
  178. data/doc/src/examples/gallery_styles/default/gallery_image.template +30 -0
  179. data/doc/src/examples/gallery_styles/default/gallery_main.template +18 -0
  180. data/doc/src/examples/gallery_styles/index.page +22 -0
  181. data/doc/src/examples/gallery_styles/slides/gallery_gallery.template +62 -0
  182. data/doc/src/examples/gallery_styles/slides/gallery_image.template +53 -0
  183. data/doc/src/examples/gallery_styles/slides/gallery_main.template +32 -0
  184. data/doc/src/examples/gallery_styles/slides/slides.gallery +79 -0
  185. data/doc/src/examples/sipttra_styles/default.page +5 -0
  186. data/doc/src/examples/sipttra_styles/default/css/sipttra.rcss +71 -0
  187. data/doc/src/examples/sipttra_styles/default/default.template +16 -0
  188. data/doc/src/examples/sipttra_styles/default/index.todo +60 -0
  189. data/doc/src/examples/sipttra_styles/default/js/sipttra.js +7 -0
  190. data/doc/src/examples/sipttra_styles/default/sipttra.template +105 -0
  191. data/doc/src/examples/sipttra_styles/index.page +17 -0
  192. data/doc/src/examples/website_styles/1024px.page +5 -0
  193. data/doc/src/examples/website_styles/andreas00.page +5 -0
  194. data/doc/src/examples/website_styles/andreas01.page +5 -0
  195. data/doc/src/examples/website_styles/andreas03.page +5 -0
  196. data/doc/src/examples/website_styles/andreas04.page +5 -0
  197. data/doc/src/examples/website_styles/andreas05.page +5 -0
  198. data/doc/src/examples/website_styles/andreas06.page +5 -0
  199. data/doc/src/examples/website_styles/andreas07.page +5 -0
  200. data/doc/src/examples/website_styles/andreas08.page +5 -0
  201. data/doc/src/examples/website_styles/andreas09.page +5 -0
  202. data/doc/src/examples/website_styles/default.page +5 -0
  203. data/doc/src/examples/website_styles/index.page +76 -0
  204. data/doc/src/examples/website_templates/default.page +5 -0
  205. data/doc/src/examples/website_templates/index.page +24 -0
  206. data/doc/src/examples/website_templates/personal_hp.page +5 -0
  207. data/doc/src/examples/website_templates/project.page +5 -0
  208. data/doc/src/news.page +8 -0
  209. data/lib/webgen/config.rb +1 -1
  210. data/lib/webgen/node.rb +4 -4
  211. data/lib/webgen/plugins/filehandlers/filehandler.rb +1 -1
  212. data/lib/webgen/plugins/filehandlers/gallery.rb +1 -1
  213. data/lib/webgen/plugins/filehandlers/page.rb +2 -2
  214. metadata +256 -2
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: default
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='default/index.html' width='100%' height='600px' />
@@ -0,0 +1,71 @@
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
+ }
@@ -0,0 +1,16 @@
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>
@@ -0,0 +1,60 @@
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.
@@ -0,0 +1,7 @@
1
+ function toogle( element ) {
2
+ if (document.getElementById(element).style.display == "block") {
3
+ document.getElementById(element).style.display = "none";
4
+ } else {
5
+ document.getElementById(element).style.display = "block";
6
+ }
7
+ }
@@ -0,0 +1,105 @@
1
+ --- content, html
2
+ <% sipttra = node.node_info[:sipttra] %>
3
+
4
+ <div class="sipttra">
5
+
6
+
7
+ <h1>Milestones</h1>
8
+
9
+ <% sipttra.milestones.each do |ms| %>
10
+
11
+ <div class="milestone">
12
+
13
+ <h2 class="milestone-name" id="ticket-<%= ms.name %>">Milestone: <span><%= ms.name %></span></h2>
14
+ <p class="milestone-info">
15
+ <% if ms.due_date %>Due on: <span class="date"><%= ms.due_date %></span><% else %>No due date<% end %>
16
+ <% if ms.belongs_to %> | <% end %>
17
+ <% if ms.belongs_to %>Belongs to milestone: <span class="belongs-to"><%= ms.belongs_to %></span><% end %>
18
+ </p>
19
+
20
+
21
+ <%
22
+ if ms.all_assigned_tickets.length > 0
23
+ closed = ms.all_assigned_tickets( :closed ).length
24
+ all = ms.all_assigned_tickets.length
25
+ percent = "%.2f" % (100 * closed.to_f / all)
26
+ %>
27
+ <div class="progress-info">
28
+ <div class="progress-bar">
29
+ <div class="progress-indicator" style="width: <%= percent %>%"></div>
30
+ </div>
31
+ <p class="progress-text"><%= closed %> out of <%= all %> tickets (= <%= percent %>%) closed (including tickets in sub milestones)</p>
32
+ </div>
33
+ <% end %>
34
+
35
+
36
+ <div class="milestone-summary"><%= CGI.escapeHTML(ms.summary) %></div>
37
+ <% if !ms.description.to_s.empty? %>
38
+ <p><b>Detailed description:</b></p>
39
+ <div class="milestone-description"><%= sipttra.htmlize(ms.description) %></div>
40
+ <% end %>
41
+
42
+ <% if ms.assigned_tickets.length > 0 %>
43
+ <p>Tickets directly assigned to milestone (<a href="javascript: toogle('assigned-tickets_<%= ms.name %>')">show/hide</a>):</p>
44
+ <ul id="assigned-tickets_<%= ms.name %>" class="assigned-tickets">
45
+ <% ms.assigned_tickets.each do |ticket| %>
46
+ <li>
47
+ <% if ticket.name.to_s.empty? %>
48
+ <a href='#category-<%= ticket.category.name %>'><%= CGI.escapeHTML(ticket.summary) %></a>
49
+ <% else %>
50
+ <a href='#ticket-<%= ticket.name %>'><%= ticket.name %>: <%= CGI.escapeHTML(ticket.summary) %></a>
51
+ <% end %>
52
+ <% if ticket.closed? %>(closed)<% end %>
53
+ </li>
54
+ <% end %>
55
+ </ul>
56
+ <% end %>
57
+
58
+
59
+ <% if ms.sub_milestones.length > 0 %>
60
+ <p>Sub milestones (<a href="javascript: toogle('sub-milestones-<%= ms.name %>')">show/hide</a>):</p>
61
+ <ul id="sub-milestones_<%= ms.name %>" class="sub-milestones">
62
+ <% ms.sub_milestones.each do |sms| %>
63
+ <li><a href='#ticket-<%= sms.name %>'><%= sms.name %></a> <% if sms.closed? %>(closed)<% end %></li>
64
+ <% end %>
65
+ </ul>
66
+ <% end %>
67
+
68
+ </div>
69
+
70
+ <% end %>
71
+
72
+
73
+ <h1>Tickets</h1>
74
+
75
+ <% sipttra.category_names.each do |cat_name| %>
76
+
77
+ <div class="ticket">
78
+
79
+ <h2 id="category-<%= cat_name %>">Category: <%= cat_name %></h2>
80
+
81
+ <table class='tickets'>
82
+ <tr class='header'><th>Name</th><th>Due&nbsp;Date</th><th>Belongs&nbsp;To</th><th>Text</th><th>Type</th></tr>
83
+
84
+ <% sipttra.tickets_for_category( cat_name ).each do |ticket| %>
85
+ <tr class='<%= ticket.category.type %>'>
86
+ <td class='name'<%= ticket.name ? ' id="ticket-' + ticket.name + '"' : '' %>><%= ticket.name %></td>
87
+ <td class='due_date'><%= ticket.due_date %></td>
88
+ <td class='belongs_to'><a href='#ticket-<%= ticket.belongs_to %>'><%= ticket.belongs_to %></a></td>
89
+ <td class='text'>
90
+ <% if !ticket.description.empty? %><span style="float:right">(<a href="javascript: toogle('ticket-description-<%= ticket.hash.abs %>')">details</a>)</span><% end %>
91
+ <%= CGI.escapeHTML(ticket.summary) %>
92
+ <% if !ticket.description.empty? %><div class="ticket-description" id="ticket-description-<%= ticket.hash.abs %>"><%= BlueCloth.new(ticket.description).to_html %></div><% end %>
93
+ </td>
94
+ <td class='type'><%= ticket.category.type %></td>
95
+ </tr>
96
+ <% end %>
97
+
98
+ </table>
99
+
100
+ </div>
101
+
102
+ <% end %>
103
+
104
+
105
+ </div>
@@ -0,0 +1,17 @@
1
+ ---
2
+ title: Index
3
+ directoryName: Sipttra Styles
4
+ ---
5
+ h2. List of sipttra styles
6
+
7
+ The sipttra style example pages open in an iframe when you use the menu items. Use the links
8
+ provided below to open the sipttra style example pages directly (fullscreen). All sipttra style
9
+ examples use
10
+
11
+ Following is the list of all available sipttra styles:
12
+
13
+
14
+ * <a href='default/index.html'>default</a>
15
+
16
+ * *Author*: Thomas Leitner
17
+ * *Description*: This is the default style for layouting sipttra files. The design is similar to the design of roadmap pages on trac installations. Make sure that you have linked to the .css and .js files in your default.template!
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: 1024px
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='1024px/index.html' width='100%' height='600px' />
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: andreas00
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='andreas00/index.html' width='100%' height='600px' />
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: andreas01
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='andreas01/index.html' width='100%' height='600px' />
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: andreas03
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='andreas03/index.html' width='100%' height='600px' />
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: andreas04
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='andreas04/index.html' width='100%' height='600px' />
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: andreas05
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='andreas05/index.html' width='100%' height='600px' />
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: andreas06
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='andreas06/index.html' width='100%' height='600px' />
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: andreas07
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='andreas07/index.html' width='100%' height='600px' />
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: andreas08
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='andreas08/index.html' width='100%' height='600px' />
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: andreas09
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='andreas09/index.html' width='100%' height='600px' />
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: default
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='default/index.html' width='100%' height='600px' />
@@ -0,0 +1,76 @@
1
+ ---
2
+ title: Index
3
+ directoryName: Website Styles
4
+ ---
5
+ h2. List of website styles
6
+
7
+ The website styles open in an iframe when you use the menu items. Use the links provided below to
8
+ open the website styles directly (fullscreen).
9
+
10
+ Following is the list of all available website styles:
11
+
12
+
13
+ * <a href='1024px/index.html'>1024px</a>
14
+
15
+ * *Author*: Andreas Viklund (adapted for webgen by Thomas Leitner)
16
+ * *Copyright*: http://andreasviklund.com/about/copyright/
17
+ * *Description*: Open source web design template by Andreas Viklund. Features a simple blue and grey two column interface, with a left or a right sidebar. Have a look at the homepage to see the original template and what can be done with it.
18
+ * *Homepage*: http://andreasviklund.com/templates
19
+ * <a href='andreas00/index.html'>andreas00</a>
20
+
21
+ * *Author*: Andreas Viklund (adapted for webgen by Thomas Leitner)
22
+ * *Copyright*: http://andreasviklund.com/about/copyright/
23
+ * *Description*: Open source web design template by Andreas Viklund. Features a one-, two- or three-column interface in white and grey with many predefined styles for menus, tables, forms, ... Have a look at the homepage to see the original template and what can be done with it.
24
+ * *Homepage*: http://andreasviklund.com/templates
25
+ * <a href='andreas01/index.html'>andreas01</a>
26
+
27
+ * *Author*: Andreas Viklund (adapted for webgen by Thomas Leitner)
28
+ * *Copyright*: http://andreasviklund.com/about/copyright/
29
+ * *Description*: Open source web design template by Andreas Viklund. Features a simple two- or three-column interface with many predefined styles. Similar to style andreas00. Have a look at the available styles in the CSS file and visit the homepage to see the original template and what can be done with it.
30
+ * *Homepage*: http://andreasviklund.com/templates
31
+ * <a href='andreas03/index.html'>andreas03</a>
32
+
33
+ * *Author*: Andreas Viklund (adapted for webgen by Thomas Leitner)
34
+ * *Copyright*: http://andreasviklund.com/about/copyright/
35
+ * *Description*: Open source web design template by Andreas Viklund. An accessible 2-column template in blue, grey and white which loads fast and works in all common browsers. Would be a good one for a blog! Have a look at the available styles in the CSS file and visit the homepage to see the original template and what can be done with it.
36
+ * *Homepage*: http://andreasviklund.com/templates
37
+ * <a href='andreas04/index.html'>andreas04</a>
38
+
39
+ * *Author*: Andreas Viklund (adapted for webgen by Thomas Leitner)
40
+ * *Copyright*: http://andreasviklund.com/about/copyright/
41
+ * *Description*: Open source web design template by Andreas Viklund. A simple two-column fluid width template in orange and grey using animated GIFs. Can be used for normal websites but it is probably best used for a blog! Have a look at the available styles in the CSS file and visit the homepage to see the original template and what can be done with it.
42
+ * *Homepage*: http://andreasviklund.com/templates
43
+ * <a href='andreas05/index.html'>andreas05</a>
44
+
45
+ * *Author*: Andreas Viklund (adapted for webgen by Thomas Leitner)
46
+ * *Copyright*: http://andreasviklund.com/about/copyright/
47
+ * *Description*: Open source web design template by Andreas Viklund. Simplicity is the main feature of this design. No advanced features and no effects are used which makes it great for small sites. Have a look at the available styles in the CSS file and visit the homepage to see the original template and what can be done with it.
48
+ * *Homepage*: http://andreasviklund.com/templates
49
+ * <a href='andreas06/index.html'>andreas06</a>
50
+
51
+ * *Author*: Andreas Viklund (adapted for webgen by Thomas Leitner)
52
+ * *Copyright*: http://andreasviklund.com/about/copyright/
53
+ * *Description*: Open source web design template by Andreas Viklund. A fall/autumn design in orange and blue with menu tabs and many in-built styles to use. Have a look at the available styles in the CSS file and visit the homepage to see the original template and what can be done with it.
54
+ * *Homepage*: http://andreasviklund.com/templates
55
+ * <a href='andreas07/index.html'>andreas07</a>
56
+
57
+ * *Author*: Andreas Viklund (adapted for webgen by Thomas Leitner)
58
+ * *Copyright*: http://andreasviklund.com/about/copyright/
59
+ * *Description*: Open source web design template by Andreas Viklund. A very simple design with minimalistic use of .classes or IDs in the CSS file. Uses a fixed position site menu, good for small or personal sites. Have a look at the available styles in the CSS file and visit the homepage to see the original template and what can be done with it.
60
+ * *Homepage*: http://andreasviklund.com/templates
61
+ * <a href='andreas08/index.html'>andreas08</a>
62
+
63
+ * *Author*: Andreas Viklund (adapted for webgen by Thomas Leitner)
64
+ * *Copyright*: http://andreasviklund.com/about/copyright/
65
+ * *Description*: Open source web design template by Andreas Viklund. Very simple and basic template without images in light blue and white. Have a look at the available styles in the CSS file and visit the homepage to see the original template and what can be done with it.
66
+ * *Homepage*: http://andreasviklund.com/templates
67
+ * <a href='andreas09/index.html'>andreas09</a>
68
+
69
+ * *Author*: Andreas Viklund (adapted for webgen by Thomas Leitner)
70
+ * *Copyright*: http://andreasviklund.com/about/copyright/
71
+ * *Description*: Open source web design template by Andreas Viklund. Features a two or three column layout in various colors (blue, green, orange, purple, red and black) with many styles. Have a look at the available styles in the CSS file and visit the homepage to see the original template and what can be done with it.
72
+ * *Homepage*: http://andreasviklund.com/templates
73
+ * <a href='default/index.html'>default</a>
74
+
75
+ * *Author*: Thomas Leitner
76
+ * *Description*: Provides a minimalistic default style. The style defines a horizontal header, a horizontal bar with the breadcrumb trail and the language menu, then a menu on the left and a footer.
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: default
3
+ inMenu: true
4
+ --- content, html
5
+ <object type='text/html' data='default/index.html' width='100%' height='600px' />