gettalong-webgen 0.5.4.20080929

Sign up to get free protection for your applications and to get access to all the features.
Files changed (290) hide show
  1. data/AUTHORS +5 -0
  2. data/COPYING +10 -0
  3. data/GPL +340 -0
  4. data/Rakefile +324 -0
  5. data/THANKS +17 -0
  6. data/bin/webgen +10 -0
  7. data/data/webgen/resources.yaml +3 -0
  8. data/data/webgen/webgui/controller/main.rb +129 -0
  9. data/data/webgen/webgui/overrides/win32console.rb +0 -0
  10. data/data/webgen/webgui/public/css/jquery.autocomplete.css +50 -0
  11. data/data/webgen/webgui/public/css/ramaze_error.css +90 -0
  12. data/data/webgen/webgui/public/css/style.css +55 -0
  13. data/data/webgen/webgui/public/img/headerbg.jpg +0 -0
  14. data/data/webgen/webgui/public/img/webgen_logo.png +0 -0
  15. data/data/webgen/webgui/public/js/jquery.autocomplete.js +15 -0
  16. data/data/webgen/webgui/public/js/jquery.js +32 -0
  17. data/data/webgen/webgui/view/create_website.xhtml +22 -0
  18. data/data/webgen/webgui/view/error.xhtml +64 -0
  19. data/data/webgen/webgui/view/index.xhtml +22 -0
  20. data/data/webgen/webgui/view/manage_website.xhtml +18 -0
  21. data/data/webgen/webgui/view/page.xhtml +40 -0
  22. data/data/webgen/website_skeleton/README +10 -0
  23. data/data/webgen/website_skeleton/Rakefile +40 -0
  24. data/data/webgen/website_skeleton/config.yaml +17 -0
  25. data/data/webgen/website_skeleton/ext/init.rb +6 -0
  26. data/data/webgen/website_styles/1024px/README +13 -0
  27. data/data/webgen/website_styles/1024px/src/default.css +188 -0
  28. data/data/webgen/website_styles/1024px/src/default.template +60 -0
  29. data/data/webgen/website_styles/1024px/src/images/background.gif +0 -0
  30. data/data/webgen/website_styles/andreas00/README +13 -0
  31. data/data/webgen/website_styles/andreas00/src/default.css +290 -0
  32. data/data/webgen/website_styles/andreas00/src/default.template +60 -0
  33. data/data/webgen/website_styles/andreas00/src/images/bg.gif +0 -0
  34. data/data/webgen/website_styles/andreas00/src/images/front.jpg +0 -0
  35. data/data/webgen/website_styles/andreas00/src/images/menubg.gif +0 -0
  36. data/data/webgen/website_styles/andreas00/src/images/menubg2.gif +0 -0
  37. data/data/webgen/website_styles/andreas01/README +14 -0
  38. data/data/webgen/website_styles/andreas01/src/default.css +310 -0
  39. data/data/webgen/website_styles/andreas01/src/default.template +61 -0
  40. data/data/webgen/website_styles/andreas01/src/images/bg.gif +0 -0
  41. data/data/webgen/website_styles/andreas01/src/images/front.jpg +0 -0
  42. data/data/webgen/website_styles/andreas01/src/print.css +35 -0
  43. data/data/webgen/website_styles/andreas03/README +14 -0
  44. data/data/webgen/website_styles/andreas03/src/default.css +223 -0
  45. data/data/webgen/website_styles/andreas03/src/default.template +58 -0
  46. data/data/webgen/website_styles/andreas03/src/images/bodybg.png +0 -0
  47. data/data/webgen/website_styles/andreas03/src/images/contbg.png +0 -0
  48. data/data/webgen/website_styles/andreas03/src/images/footerbg.png +0 -0
  49. data/data/webgen/website_styles/andreas03/src/images/gradient1.png +0 -0
  50. data/data/webgen/website_styles/andreas03/src/images/gradient2.png +0 -0
  51. data/data/webgen/website_styles/andreas04/README +15 -0
  52. data/data/webgen/website_styles/andreas04/src/default.css +290 -0
  53. data/data/webgen/website_styles/andreas04/src/default.template +81 -0
  54. data/data/webgen/website_styles/andreas04/src/images/blinkarrow.gif +0 -0
  55. data/data/webgen/website_styles/andreas04/src/images/bodybg.png +0 -0
  56. data/data/webgen/website_styles/andreas04/src/images/contentbg.png +0 -0
  57. data/data/webgen/website_styles/andreas04/src/images/entrybg.png +0 -0
  58. data/data/webgen/website_styles/andreas04/src/images/flash.gif +0 -0
  59. data/data/webgen/website_styles/andreas04/src/images/flash2.gif +0 -0
  60. data/data/webgen/website_styles/andreas04/src/images/globe.gif +0 -0
  61. data/data/webgen/website_styles/andreas04/src/images/globebottom.gif +0 -0
  62. data/data/webgen/website_styles/andreas04/src/images/linkarrow.gif +0 -0
  63. data/data/webgen/website_styles/andreas04/src/images/menuhover.png +0 -0
  64. data/data/webgen/website_styles/andreas05/README +14 -0
  65. data/data/webgen/website_styles/andreas05/src/default.css +33 -0
  66. data/data/webgen/website_styles/andreas05/src/default.template +40 -0
  67. data/data/webgen/website_styles/andreas05/src/images/bodybg.gif +0 -0
  68. data/data/webgen/website_styles/andreas05/src/images/front.png +0 -0
  69. data/data/webgen/website_styles/andreas06/README +14 -0
  70. data/data/webgen/website_styles/andreas06/src/default.css +354 -0
  71. data/data/webgen/website_styles/andreas06/src/default.template +70 -0
  72. data/data/webgen/website_styles/andreas06/src/images/bodybg.gif +0 -0
  73. data/data/webgen/website_styles/andreas06/src/images/boxbg.gif +0 -0
  74. data/data/webgen/website_styles/andreas06/src/images/greypx.gif +0 -0
  75. data/data/webgen/website_styles/andreas06/src/images/header.jpg +0 -0
  76. data/data/webgen/website_styles/andreas06/src/images/innerbg.gif +0 -0
  77. data/data/webgen/website_styles/andreas06/src/images/leaves.jpg +0 -0
  78. data/data/webgen/website_styles/andreas06/src/images/tabs.gif +0 -0
  79. data/data/webgen/website_styles/andreas07/README +15 -0
  80. data/data/webgen/website_styles/andreas07/src/browserfix.css +7 -0
  81. data/data/webgen/website_styles/andreas07/src/default.css +92 -0
  82. data/data/webgen/website_styles/andreas07/src/default.template +42 -0
  83. data/data/webgen/website_styles/andreas07/src/images/bodybg.gif +0 -0
  84. data/data/webgen/website_styles/andreas07/src/images/sidebarbg.gif +0 -0
  85. data/data/webgen/website_styles/andreas08/README +14 -0
  86. data/data/webgen/website_styles/andreas08/src/default.css +224 -0
  87. data/data/webgen/website_styles/andreas08/src/default.template +51 -0
  88. data/data/webgen/website_styles/andreas09/README +14 -0
  89. data/data/webgen/website_styles/andreas09/src/default.css +308 -0
  90. data/data/webgen/website_styles/andreas09/src/default.template +68 -0
  91. data/data/webgen/website_styles/andreas09/src/images/bodybg-black.jpg +0 -0
  92. data/data/webgen/website_styles/andreas09/src/images/bodybg-green.jpg +0 -0
  93. data/data/webgen/website_styles/andreas09/src/images/bodybg-orange.jpg +0 -0
  94. data/data/webgen/website_styles/andreas09/src/images/bodybg-purple.jpg +0 -0
  95. data/data/webgen/website_styles/andreas09/src/images/bodybg-red.jpg +0 -0
  96. data/data/webgen/website_styles/andreas09/src/images/bodybg.jpg +0 -0
  97. data/data/webgen/website_styles/andreas09/src/images/footerbg.jpg +0 -0
  98. data/data/webgen/website_styles/andreas09/src/images/menuhover-black.jpg +0 -0
  99. data/data/webgen/website_styles/andreas09/src/images/menuhover-green.jpg +0 -0
  100. data/data/webgen/website_styles/andreas09/src/images/menuhover-orange.jpg +0 -0
  101. data/data/webgen/website_styles/andreas09/src/images/menuhover-purple.jpg +0 -0
  102. data/data/webgen/website_styles/andreas09/src/images/menuhover-red.jpg +0 -0
  103. data/data/webgen/website_styles/andreas09/src/images/menuhover.jpg +0 -0
  104. data/data/webgen/website_styles/simple/README +6 -0
  105. data/data/webgen/website_styles/simple/src/default.css +84 -0
  106. data/data/webgen/website_styles/simple/src/default.template +36 -0
  107. data/data/webgen/website_templates/default/README +6 -0
  108. data/data/webgen/website_templates/default/src/index.page +8 -0
  109. data/data/webgen/website_templates/project/README +5 -0
  110. data/data/webgen/website_templates/project/src/about.page +12 -0
  111. data/data/webgen/website_templates/project/src/download.page +15 -0
  112. data/data/webgen/website_templates/project/src/features.page +8 -0
  113. data/data/webgen/website_templates/project/src/index.page +9 -0
  114. data/data/webgen/website_templates/project/src/screenshots.page +18 -0
  115. data/doc/contentprocessor.template +11 -0
  116. data/doc/contentprocessor/blocks.page +66 -0
  117. data/doc/contentprocessor/builder.page +80 -0
  118. data/doc/contentprocessor/erb.page +56 -0
  119. data/doc/contentprocessor/erubis.page +46 -0
  120. data/doc/contentprocessor/haml.page +47 -0
  121. data/doc/contentprocessor/maruku.page +41 -0
  122. data/doc/contentprocessor/rdiscount.page +37 -0
  123. data/doc/contentprocessor/rdoc.page +36 -0
  124. data/doc/contentprocessor/redcloth.page +39 -0
  125. data/doc/contentprocessor/sass.page +31 -0
  126. data/doc/contentprocessor/tags.page +73 -0
  127. data/doc/extensions.metainfo +29 -0
  128. data/doc/extensions.page +16 -0
  129. data/doc/extensions.template +17 -0
  130. data/doc/faq.page +214 -0
  131. data/doc/getting_started.page +134 -0
  132. data/doc/index.page +65 -0
  133. data/doc/manual.page +532 -0
  134. data/doc/reference_configuration.page +646 -0
  135. data/doc/reference_metainfo.page +213 -0
  136. data/doc/sourcehandler.template +21 -0
  137. data/doc/sourcehandler/copy.page +19 -0
  138. data/doc/sourcehandler/directory.page +27 -0
  139. data/doc/sourcehandler/feed.page +82 -0
  140. data/doc/sourcehandler/metainfo.page +41 -0
  141. data/doc/sourcehandler/page.page +30 -0
  142. data/doc/sourcehandler/sitemap.page +46 -0
  143. data/doc/sourcehandler/template.page +45 -0
  144. data/doc/sourcehandler/virtual.page +49 -0
  145. data/doc/tag.template +25 -0
  146. data/doc/tag/breadcrumbtrail.page +40 -0
  147. data/doc/tag/coderay.page +49 -0
  148. data/doc/tag/date.page +31 -0
  149. data/doc/tag/executecommand.page +26 -0
  150. data/doc/tag/includefile.page +32 -0
  151. data/doc/tag/langbar.page +22 -0
  152. data/doc/tag/menu.page +92 -0
  153. data/doc/tag/metainfo.page +29 -0
  154. data/doc/tag/relocatable.page +38 -0
  155. data/doc/tag/sitemap.page +31 -0
  156. data/doc/upgrading.page +139 -0
  157. data/doc/webgen_page_format.page +128 -0
  158. data/lib/webgen/blackboard.rb +73 -0
  159. data/lib/webgen/cache.rb +85 -0
  160. data/lib/webgen/cli.rb +118 -0
  161. data/lib/webgen/cli/create_command.rb +64 -0
  162. data/lib/webgen/cli/run_command.rb +20 -0
  163. data/lib/webgen/cli/utils.rb +86 -0
  164. data/lib/webgen/cli/webgui_command.rb +49 -0
  165. data/lib/webgen/common.rb +10 -0
  166. data/lib/webgen/common/sitemap.rb +76 -0
  167. data/lib/webgen/configuration.rb +147 -0
  168. data/lib/webgen/contentprocessor.rb +96 -0
  169. data/lib/webgen/contentprocessor/blocks.rb +46 -0
  170. data/lib/webgen/contentprocessor/builder.rb +26 -0
  171. data/lib/webgen/contentprocessor/context.rb +90 -0
  172. data/lib/webgen/contentprocessor/erb.rb +24 -0
  173. data/lib/webgen/contentprocessor/erubis.rb +40 -0
  174. data/lib/webgen/contentprocessor/haml.rb +25 -0
  175. data/lib/webgen/contentprocessor/maruku.rb +18 -0
  176. data/lib/webgen/contentprocessor/rdiscount.rb +15 -0
  177. data/lib/webgen/contentprocessor/rdoc.rb +17 -0
  178. data/lib/webgen/contentprocessor/redcloth.rb +15 -0
  179. data/lib/webgen/contentprocessor/sass.rb +18 -0
  180. data/lib/webgen/contentprocessor/tags.rb +134 -0
  181. data/lib/webgen/coreext.rb +10 -0
  182. data/lib/webgen/default_config.rb +198 -0
  183. data/lib/webgen/languages.rb +578 -0
  184. data/lib/webgen/loggable.rb +23 -0
  185. data/lib/webgen/logger.rb +78 -0
  186. data/lib/webgen/node.rb +347 -0
  187. data/lib/webgen/output.rb +37 -0
  188. data/lib/webgen/output/filesystem.rb +67 -0
  189. data/lib/webgen/page.rb +133 -0
  190. data/lib/webgen/path.rb +182 -0
  191. data/lib/webgen/source.rb +24 -0
  192. data/lib/webgen/source/filesystem.rb +58 -0
  193. data/lib/webgen/source/resource.rb +42 -0
  194. data/lib/webgen/source/stacked.rb +53 -0
  195. data/lib/webgen/sourcehandler.rb +202 -0
  196. data/lib/webgen/sourcehandler/base.rb +211 -0
  197. data/lib/webgen/sourcehandler/copy.rb +41 -0
  198. data/lib/webgen/sourcehandler/directory.rb +31 -0
  199. data/lib/webgen/sourcehandler/feed.rb +121 -0
  200. data/lib/webgen/sourcehandler/fragment.rb +71 -0
  201. data/lib/webgen/sourcehandler/metainfo.rb +117 -0
  202. data/lib/webgen/sourcehandler/page.rb +77 -0
  203. data/lib/webgen/sourcehandler/sitemap.rb +60 -0
  204. data/lib/webgen/sourcehandler/template.rb +68 -0
  205. data/lib/webgen/sourcehandler/virtual.rb +75 -0
  206. data/lib/webgen/tag.rb +23 -0
  207. data/lib/webgen/tag/base.rb +162 -0
  208. data/lib/webgen/tag/breadcrumbtrail.rb +71 -0
  209. data/lib/webgen/tag/coderay.rb +32 -0
  210. data/lib/webgen/tag/date.rb +18 -0
  211. data/lib/webgen/tag/executecommand.rb +29 -0
  212. data/lib/webgen/tag/includefile.rb +42 -0
  213. data/lib/webgen/tag/langbar.rb +52 -0
  214. data/lib/webgen/tag/menu.rb +186 -0
  215. data/lib/webgen/tag/metainfo.rb +25 -0
  216. data/lib/webgen/tag/relocatable.rb +53 -0
  217. data/lib/webgen/tag/sitemap.rb +42 -0
  218. data/lib/webgen/tree.rb +80 -0
  219. data/lib/webgen/version.rb +6 -0
  220. data/lib/webgen/webgentask.rb +148 -0
  221. data/lib/webgen/website.rb +214 -0
  222. data/lib/webgen/websiteaccess.rb +29 -0
  223. data/lib/webgen/websitemanager.rb +125 -0
  224. data/man/man1/webgen.1 +67 -0
  225. data/misc/default.css +360 -0
  226. data/misc/default.template +75 -0
  227. data/misc/htmldoc.metainfo +25 -0
  228. data/misc/htmldoc.virtual +5 -0
  229. data/misc/images/arrow.gif +0 -0
  230. data/misc/images/error.gif +0 -0
  231. data/misc/images/exclamation.gif +0 -0
  232. data/misc/images/headerbg.jpg +0 -0
  233. data/misc/images/information.gif +0 -0
  234. data/misc/images/quote.gif +0 -0
  235. data/setup.rb +1585 -0
  236. data/test/helper.rb +41 -0
  237. data/test/test_blackboard.rb +58 -0
  238. data/test/test_cache.rb +57 -0
  239. data/test/test_common_sitemap.rb +56 -0
  240. data/test/test_configuration.rb +66 -0
  241. data/test/test_contentprocessor.rb +31 -0
  242. data/test/test_contentprocessor_blocks.rb +34 -0
  243. data/test/test_contentprocessor_builder.rb +19 -0
  244. data/test/test_contentprocessor_context.rb +38 -0
  245. data/test/test_contentprocessor_erb.rb +20 -0
  246. data/test/test_contentprocessor_erubis.rb +47 -0
  247. data/test/test_contentprocessor_haml.rb +20 -0
  248. data/test/test_contentprocessor_maruku.rb +27 -0
  249. data/test/test_contentprocessor_rdiscount.rb +15 -0
  250. data/test/test_contentprocessor_rdoc.rb +16 -0
  251. data/test/test_contentprocessor_redcloth.rb +12 -0
  252. data/test/test_contentprocessor_sass.rb +20 -0
  253. data/test/test_contentprocessor_tags.rb +97 -0
  254. data/test/test_languages.rb +53 -0
  255. data/test/test_loggable.rb +30 -0
  256. data/test/test_logger.rb +73 -0
  257. data/test/test_node.rb +339 -0
  258. data/test/test_output_filesystem.rb +58 -0
  259. data/test/test_page.rb +203 -0
  260. data/test/test_path.rb +131 -0
  261. data/test/test_source_filesystem.rb +59 -0
  262. data/test/test_source_resource.rb +26 -0
  263. data/test/test_source_stacked.rb +34 -0
  264. data/test/test_sourcehandler_base.rb +92 -0
  265. data/test/test_sourcehandler_copy.rb +45 -0
  266. data/test/test_sourcehandler_directory.rb +25 -0
  267. data/test/test_sourcehandler_feed.rb +74 -0
  268. data/test/test_sourcehandler_fragment.rb +67 -0
  269. data/test/test_sourcehandler_metainfo.rb +93 -0
  270. data/test/test_sourcehandler_page.rb +70 -0
  271. data/test/test_sourcehandler_sitemap.rb +47 -0
  272. data/test/test_sourcehandler_template.rb +63 -0
  273. data/test/test_sourcehandler_virtual.rb +56 -0
  274. data/test/test_tag_base.rb +82 -0
  275. data/test/test_tag_breadcrumbtrail.rb +89 -0
  276. data/test/test_tag_coderay.rb +30 -0
  277. data/test/test_tag_date.rb +16 -0
  278. data/test/test_tag_executecommand.rb +39 -0
  279. data/test/test_tag_includefile.rb +48 -0
  280. data/test/test_tag_langbar.rb +60 -0
  281. data/test/test_tag_menu.rb +195 -0
  282. data/test/test_tag_metainfo.rb +17 -0
  283. data/test/test_tag_relocatable.rb +57 -0
  284. data/test/test_tag_sitemap.rb +44 -0
  285. data/test/test_tree.rb +69 -0
  286. data/test/test_webgentask.rb +21 -0
  287. data/test/test_website.rb +96 -0
  288. data/test/test_websiteaccess.rb +23 -0
  289. data/test/test_websitemanager.rb +68 -0
  290. metadata +575 -0
@@ -0,0 +1,13 @@
1
+ description:
2
+ Open source web design template by Andreas Viklund. Features a one-, two- or three-column
3
+ interface in white and grey with many predefined styles for menus, tables, forms, ... Have
4
+ a look at the homepage to see the original template and what can be done with it.
5
+
6
+ author:
7
+ Andreas Viklund (adapted for webgen by Thomas Leitner)
8
+
9
+ copyright:
10
+ http://andreasviklund.com/about/copyright/
11
+
12
+ homepage:
13
+ http://andreasviklund.com/templates
@@ -0,0 +1,290 @@
1
+ /* andreas00 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com . Free to use for any purpose as long as the proper credits are given to the original author.
2
+ Version: 1.1 (Apr 20, 2006) */
3
+
4
+ /***** Body and main container *****/
5
+
6
+ body {
7
+ margin:0 auto;padding:0;font:76% Verdana,Tahoma,Arial,sans-serif;background:#eaeaea url(images/bg.gif) top center repeat-y;color:#3a3a3a;
8
+ }
9
+
10
+ #wrap {
11
+ background-color:#ffffff;color:#303030;margin:0 auto;padding:1px 5px;width:760px;
12
+ }
13
+
14
+ /***** Header *****/
15
+
16
+ #header {
17
+ color:#505050;background:#ffffff url(images/front.jpg) bottom left no-repeat;height:250px;margin:0 0 10px 0;padding:0;
18
+ }
19
+
20
+ #header h1 {
21
+ font-size:2.5em;font-weight:normal;letter-spacing:-2px;margin:0 0 4px 15px;padding:15px 0 0 0;
22
+ }
23
+
24
+ #header h1 a,#header h1 a:hover {
25
+ padding:0;
26
+ }
27
+
28
+ #header p {
29
+ font-size:1.1em;letter-spacing:-1px;margin:0 0 20px 15px;padding:0 0 0 3px;
30
+ }
31
+
32
+ /***** Left sidebar *****/
33
+
34
+ #avmenu {
35
+ clear:left;float:left;width:150px;margin:0 0 10px 0;padding:0;
36
+ }
37
+
38
+ #avmenu ul {
39
+ list-style:none;width:150px;margin:0 0 20px 0;padding:0;
40
+ }
41
+
42
+ #avmenu li {
43
+ margin-bottom:5px;
44
+ }
45
+
46
+ #avmenu li a, #avmenu li span {
47
+ font-weight:bold;height:20px;text-decoration:none;color:#505050;display:block;padding:6px 0 0 10px;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;
48
+ }
49
+
50
+ #avmenu li a:hover, #avmenu li a.current, #avmenu li.webgen-menu-item-selected a, #avmenu li.webgen-menu-item-selected span {
51
+ background:#eaeaea url(images/menubg2.gif) bottom left repeat-x;color:#505050;border-top:1px solid #b0b0b0;border-right:1px solid #b0b0b0;border-bottom:1px solid #b0b0b0;border-left:4px solid #505050;
52
+ }
53
+
54
+ #avmenu ul ul {
55
+ margin:5px 0 5px 15px;font-size:0.9em;width:135px;
56
+ }
57
+
58
+ #avmenu ul ul a {
59
+ height:16px;margin:0;padding:4px 0 0 8px;
60
+ }
61
+
62
+ #avmenu h2 {
63
+ font-size:1.5em;font-weight:normal;
64
+ }
65
+
66
+ /***** Right sidebar *****/
67
+
68
+ #extras {
69
+ float:right;width:130px;margin:0 0 10px 0;padding:0;font-size:0.9em;
70
+ }
71
+
72
+ #extras p, #extras ul {
73
+ margin:0 0 1.5em 0;line-height:1.3em;padding:0;
74
+ }
75
+
76
+ #extras a {
77
+ font-weight:bold;
78
+ }
79
+
80
+ #extras li {
81
+ list-style:none;margin:0 0 6px 0;padding:0;
82
+ }
83
+
84
+ #extras h2 {
85
+ font-size:1.6em;font-weight:normal;margin:0 0 6px 0;;letter-spacing:-1px;
86
+ }
87
+
88
+ /***** Main content *****/
89
+
90
+ #content {
91
+ margin:10px 140px 10px 160px;padding:0;line-height:1.5em;text-align:left;
92
+ }
93
+
94
+ #contentwide {
95
+ margin:10px 0 10px 160px;padding:0;line-height:1.5em;text-align:left;
96
+ }
97
+
98
+ #contentfull {
99
+ margin:10px 10px 10px 10px;padding:2px 0 0 0;line-height:1.5em;text-align:left;
100
+ }
101
+
102
+ #content h2, #contentwide h2, #contentfull h2 {
103
+ font-size:1.8em;letter-spacing:-1px;font-weight:normal;margin:8px 0 10px 0;padding:0;
104
+ }
105
+
106
+ #content h3, #contentwide h3, #contentfull h3 {
107
+ font-size:1.5em;font-weight:normal;margin:6px 0 6px 0;padding:0;
108
+ }
109
+
110
+ #content img, #contentwide img, #contentfull img {
111
+ padding:1px;display:inline;background:#cccccc;color:#303030;border:4px solid #f0f0f0;
112
+ }
113
+
114
+ #content a, #contentwide a, #contentfull a {
115
+ font-weight:bold;
116
+ }
117
+
118
+ #content ul, #content ol,
119
+ #contentwide ul, #contentwide ol,
120
+ #contentfull ul, #contentfull ol {
121
+ margin:0 0 16px 20px;
122
+ padding:0;
123
+ }
124
+
125
+ #content ul ul, #content ol ol,
126
+ #contentwide ul ul, #contentwide ol ol,
127
+ #contentfull ul ul, #contentfull ol ol {
128
+ margin:2px 0 2px 20px;
129
+ }
130
+
131
+ #content li, #contentwide li, #contentfull li {
132
+ margin:0 0 2px 10px;
133
+ padding:0 0 0 4px;
134
+ }
135
+
136
+ /***** Footer *****/
137
+
138
+ #footer {
139
+ clear:both;margin:0 auto;padding:8px 0;border-top:2px solid #dadada;width:760px;text-align:center;color:#808080;background-color:#ffffff;font-size:0.9em;
140
+ }
141
+
142
+ #footer p {
143
+ padding:0;margin:0;
144
+ }
145
+
146
+ #footer a {
147
+ color:#808080;background-color:inherit;text-decoration:none;
148
+ }
149
+
150
+ #footer a:hover {
151
+ text-decoration:underline;
152
+ }
153
+
154
+ /***** Various tags *****/
155
+
156
+ a {
157
+ text-decoration:none;color:#505050;background-color:inherit;
158
+ }
159
+
160
+ a:hover {
161
+ text-decoration:underline;color:#286ea0;background-color:inherit;
162
+ }
163
+
164
+ a img {
165
+ border:0;
166
+ }
167
+
168
+ p {
169
+ margin:0 0 16px 0;
170
+ }
171
+
172
+ blockquote {
173
+ border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;margin:16px;padding:7px 7px 7px 11px;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;color:#505050;
174
+ }
175
+
176
+ blockquote p {
177
+ font-size:1.1em;line-height:1.3em;margin:0;
178
+ }
179
+
180
+ /***** Table styles *****/
181
+
182
+ table {
183
+ margin:0 0 16px 0;padding:0;line-height:1.3em;border-collapse:collapse;border:1px solid #d8d8d8;
184
+ }
185
+
186
+ caption {
187
+ text-align:left;font-size:1.5em;font-weight:normal;margin:0;padding:6px 0 8px 0;
188
+ }
189
+
190
+ th {
191
+ padding:7px;text-align:left;background:#eaeaea url(images/menubg2.gif) bottom left repeat-x;color:#505050;
192
+ }
193
+
194
+ td {
195
+ padding:7px;font-size:0.9em;text-align:left;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;color:#303030;
196
+ }
197
+
198
+ /***** Form styles *****/
199
+
200
+ .button {
201
+ border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;margin:0 0 15px 0;padding:7px 7px 7px 11px;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;color:#505050;font-weight:bold;width:120px;
202
+ }
203
+
204
+ input, textarea {
205
+ border:1px solid #cccccc;font-family:Verdana,Tahoma,Arial,Sans-Serif;font-size:1em;margin:0;padding:4px;
206
+ }
207
+
208
+ label {
209
+ margin:2px;
210
+ }
211
+
212
+ input {
213
+ width:200px;
214
+ }
215
+
216
+ textarea {
217
+ width:400px;
218
+ }
219
+
220
+ /***** Search box *****/
221
+
222
+ #searchbox {
223
+ padding:0;margin:6px 0 16px 0;
224
+ }
225
+
226
+ #searchform {
227
+ background:#ffffff;border:1px solid #cccccc;color:#505050;font-size:0.9em;padding:4px;width:116px;
228
+ }
229
+
230
+ #searchbox label {
231
+ display:none;
232
+ }
233
+
234
+ /***** Various classes *****/
235
+
236
+ .left {
237
+ margin:10px 10px 5px 0;float:left;
238
+ }
239
+
240
+ .right {
241
+ margin:10px 0 5px 10px;float:right;
242
+ }
243
+
244
+ .announce {
245
+ margin:10px 0 10px 0;padding:10px 10px 5px 10px;width:105px;color:#505050;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;line-height:1.3em;
246
+ }
247
+
248
+ .announce a {
249
+ font-weight:bold;
250
+ }
251
+
252
+ .announce p {
253
+ font-size:0.9em;
254
+ }
255
+
256
+ .announce h2 {
257
+ margin:0 0 10px 0;padding:0;
258
+ }
259
+
260
+ #avmenu .announce {
261
+ width:125px;
262
+ }
263
+
264
+ .textright {
265
+ text-align:right;margin:-10px 0 4px 0;
266
+ }
267
+
268
+ .center {
269
+ text-align:center;
270
+ }
271
+
272
+ .small {
273
+ font-size:0.8em;
274
+ }
275
+
276
+ .large {
277
+ font-size:1.3em;
278
+ }
279
+
280
+ .bold {
281
+ font-weight:bold;
282
+ }
283
+
284
+ .highlighted {
285
+ padding:3px;background-color:#f0f0f0;color:#303030;border:1px solid #b0b0b0;
286
+ }
287
+
288
+ .hide {
289
+ display:none;
290
+ }
@@ -0,0 +1,60 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="{lang:}">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6
+ <meta name="description" content="Your description goes here" />
7
+ <meta name="keywords" content="your,keywords,goes,here" />
8
+ <meta name="author" content="Your Name / Original design: Andreas Viklund - http://andreasviklund.com/" />
9
+ <meta name="generator" content="webgen - http://webgen.rubyforge.org" />
10
+ <link rel="stylesheet" type="text/css" href="{relocatable: default.css}" media="screen,projection" />
11
+ <title>{title:}</title>
12
+ </head>
13
+
14
+ <body>
15
+ <div id="wrap">
16
+ <div id="header">
17
+ <h1><a href="{relocatable: /index.html}">Title of website</a></h1>
18
+ <p><strong>Your slogan here...</strong></p>
19
+ </div>
20
+
21
+ <div id="avmenu">
22
+ <h2 class="hide">Site menu:</h2>
23
+ {menu: }
24
+
25
+ <div class="announce">
26
+ <h2>Latest news:</h2>
27
+ <p><strong>09.09.2009:</strong><br />
28
+ Something will have happened by then.</p>
29
+ <p class="textright"><a href="#TODO">Read more &raquo;</a></p>
30
+ </div>
31
+ </div>
32
+
33
+ <!-- The following div was not in the original template but was inserted to display the breadcrumb trail
34
+ and language links -->
35
+ <div id="contentwide">
36
+ <p class="textright">Location: {breadcrumb_trail: }&nbsp;|&nbsp;Language: {langbar: }</p>
37
+ </div>
38
+
39
+ <div id="extras">
40
+ <h2>Information:</h2>
41
+ <p>This template has a lot of additional styles and layout variations built into the stylesheet! Have a look at the homepage for this template!</p>
42
+ <h2>Links:</h2>
43
+ <ul>
44
+ <li><a href="http://webgen.rubyforge.org">webgen homepage</a></li>
45
+ <li><a href="http://andreasviklund.com/templates">More templates</a></li>
46
+ <li><a href="http://openwebdesign.org/">Open Web Design</a></li>
47
+ <li><a href="http://oswd.org/">OSWD.org</a></li>
48
+ </ul>
49
+ </div>
50
+
51
+ <div id="content">
52
+ <webgen:block name="content" />
53
+ </div>
54
+
55
+ <div id="footer">
56
+ <p>Copyright &copy; 2006 Your Name | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com">Andreas Viklund</a></p>
57
+ </div>
58
+ </div>
59
+ </body>
60
+ </html>
@@ -0,0 +1,14 @@
1
+ description:
2
+ Open source web design template by Andreas Viklund. Features a simple two- or three-column
3
+ interface with many predefined styles. Similar to style andreas00.
4
+ Have a look at the available styles in the CSS file and visit the homepage to see the original
5
+ template and what can be done with it.
6
+
7
+ author:
8
+ Andreas Viklund (adapted for webgen by Thomas Leitner)
9
+
10
+ copyright:
11
+ http://andreasviklund.com/about/copyright/
12
+
13
+ homepage:
14
+ http://andreasviklund.com/templates
@@ -0,0 +1,310 @@
1
+ /* andreas01 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com - Free to use for any purpose as long as the proper credits are given to the original author.
2
+ Version: 2.0 (Jun 25, 2006)
3
+ Screen layout: */
4
+
5
+ /***** Body and main container *****/
6
+ body {
7
+ margin:0 auto;
8
+ padding:0;
9
+ font:76% Verdana,Tahoma,Arial,sans-serif;
10
+ background:#f4f4f4 url(images/bg.gif) top center repeat-y;
11
+ color:#303030;
12
+ }
13
+
14
+ #wrap {
15
+ background:#ffffff;
16
+ color:#303030;
17
+ margin:0 auto;
18
+ width:760px;
19
+ }
20
+
21
+ /***** Various tags *****/
22
+ a {
23
+ text-decoration:none;
24
+ font-weight:bold;
25
+ color:#286ea0;
26
+ background-color:inherit;
27
+ }
28
+
29
+ a:hover {
30
+ text-decoration:underline;
31
+ color:#286ea0;
32
+ background-color:inherit;
33
+ }
34
+
35
+ a img {
36
+ border:0;
37
+ }
38
+
39
+ /***** Header *****/
40
+ #header {
41
+ margin:10px 0 0;
42
+ padding:0;
43
+ height:45px;
44
+ }
45
+
46
+ #header h1 {
47
+ color:#505050;
48
+ background-color:inherit;
49
+ width:250px;
50
+ margin:0 0 10px;
51
+ font-size:2.2em;
52
+ float:left;
53
+ }
54
+
55
+ #header h1 a{
56
+ color:#505050;
57
+ background-color:inherit;
58
+ text-decoration:none;
59
+ }
60
+
61
+ #header p {
62
+ width:500px;
63
+ float:right;
64
+ text-align:right;
65
+ color:#505050;
66
+ margin:8px 0 0;
67
+ font-size:1.1em;
68
+ font-weight:bold;
69
+ line-height:1.3em;
70
+ background-color:inherit;
71
+ }
72
+
73
+ #frontphoto {
74
+ margin:0 0 10px;
75
+ border:0;
76
+ }
77
+
78
+ /***** Left sidebar *****/
79
+ #leftside {
80
+ clear:left;
81
+ float:left;
82
+ width:140px;
83
+ margin:0 0 5px;
84
+ padding:0;
85
+ }
86
+
87
+ #leftside h2,#leftside h3 {
88
+ color:#505050;
89
+ background-color:inherit;
90
+ font-size:1.3em;
91
+ margin:0 0 5px;
92
+ padding:0;
93
+ }
94
+
95
+ #leftside div.announce {
96
+ clear:left;
97
+ margin:10px 0 15px;
98
+ padding:7px 5px;
99
+ width:126px;
100
+ font-size:0.9em;
101
+ background-color:#f4f4f4;
102
+ color:#505050;
103
+ border-left:4px solid #cccccc;
104
+ line-height:1.5em;
105
+ }
106
+
107
+ #leftside div.announce p {
108
+ margin:10px 0 0;
109
+ padding:0;
110
+ }
111
+
112
+ /***** Main menu *****/
113
+ #menu ul {
114
+ width:140px;
115
+ margin:0 0 18px;
116
+ padding:0;
117
+ list-style:none;
118
+ }
119
+
120
+ #menu ul li {
121
+ width:140px;
122
+ padding:0;
123
+ line-height:1.4em;
124
+ display:inline;
125
+ }
126
+
127
+ #menu ul li a, #menu ul li span {
128
+ background-color:#f4f4f4;
129
+ color:#505050;
130
+ font-weight:bold;
131
+ width:130px;
132
+ float:left;
133
+ margin-bottom:5px;
134
+ padding:5px 1px 5px 5px;
135
+ border-left:4px solid #cccccc;
136
+ text-decoration:none;
137
+ }
138
+
139
+ #menu ul li a:hover, #menu ul li.webgen-menu-item-selected a, #menu ul li.webgen-menu-item-selected span {
140
+ background-color:#eaeaea;
141
+ border-left:4px solid #286ea0;
142
+ color:#505050;
143
+ }
144
+
145
+ #menu ul ul {
146
+ margin:0 0 0 15px;
147
+ padding:0 0 5px 0;
148
+ font-size:0.9em;
149
+ width:125px;
150
+ }
151
+
152
+ #menu ul ul a, #menu ul ul span {
153
+ padding:3px 1px 3px 5px;
154
+ width:115px;
155
+ }
156
+
157
+ #menu ul ul ul {
158
+ width:113px;
159
+ }
160
+
161
+ #menu ul ul ul a {
162
+ width:100px;
163
+ }
164
+
165
+ /***** Right sidebar *****/
166
+ #extras {
167
+ float:right;
168
+ width:140px;
169
+ margin:0 0 5px;
170
+ padding:0;
171
+ line-height:1.4em;
172
+ }
173
+
174
+ #extras p,#extras ul {
175
+ font-size:0.9em;
176
+ margin:0 0 16px;
177
+ padding:0;
178
+ }
179
+
180
+ #extras li {
181
+ list-style:none;
182
+ line-height:1.2em;
183
+ margin:0 0 6px 0;
184
+ padding:0;
185
+ }
186
+
187
+ #extras ul ul {
188
+ margin:6px 0 0 10px;
189
+ padding:0;
190
+ }
191
+
192
+ #extras ul ul li {
193
+ margin: 0 0 4px 0;
194
+ }
195
+
196
+ #extras ul ul li a {
197
+ font-size:1.1em;
198
+ font-weight:normal;
199
+ }
200
+
201
+ #extras h2, #extras h3 {
202
+ color:#505050;
203
+ background-color:inherit;
204
+ font-size:1.2em;
205
+ margin:0 0 10px;
206
+ padding:0;
207
+ }
208
+
209
+ /***** Main content *****/
210
+ #content {
211
+ margin:0 150px 5px 150px;
212
+ border-left:1px solid #e0e0e0;
213
+ border-right:1px solid #e0e0e0;
214
+ padding:0 10px;
215
+ line-height:1.6em;
216
+ }
217
+
218
+ #contentwide {
219
+ margin:0 0 5px 150px;
220
+ border-left:1px solid #f0f0f0;
221
+ padding:0 0 0 10px;
222
+ line-height:1.6em;
223
+ }
224
+
225
+ #content h2,#contentwide h2 {
226
+ font-size:1.6em;
227
+ margin:0 0 10px;
228
+ }
229
+
230
+ #content h3,#contentwide h3 {
231
+ font-size:1.4em;
232
+ margin:0 0 8px;
233
+ }
234
+
235
+ #content img,#contentwide img {
236
+ padding:1px;
237
+ display:inline;
238
+ background:#cccccc;
239
+ color:#303030;
240
+ border:4px solid #f0f0f0;
241
+ }
242
+
243
+ #content ul, #contentwide ul, #content ol, #contentwide ol {
244
+ margin:0 0 16px 20px;
245
+ padding:0;
246
+ }
247
+
248
+ #content li, #contentwide li {
249
+ margin:0;
250
+ padding:0 0 0 5px;
251
+ }
252
+
253
+ #content ul ul, #contentwide ul ul, #content ol ol, #contentwide ol ol{
254
+ margin:0 0 0 16px;
255
+ padding:0;
256
+ }
257
+
258
+ /***** Footer *****/
259
+ #footer {
260
+ clear:both;
261
+ margin:0 auto;
262
+ padding:10px 0 20px;
263
+ border-top:4px solid #f0f0f0;
264
+ width:760px;
265
+ text-align:center;
266
+ color:#808080;
267
+ background:#ffffff;
268
+ font-size:0.9em;
269
+ }
270
+
271
+ #footer a {
272
+ color:#808080;
273
+ background-color:inherit;
274
+ text-decoration:none;
275
+ }
276
+
277
+ #footer a:hover {
278
+ text-decoration:underline;
279
+ }
280
+
281
+ /***** Various classes *****/
282
+ .left {
283
+ margin:3px 10px 2px 0;
284
+ float:left;
285
+ }
286
+
287
+ .right {
288
+ margin:2px 0 2px 10px;
289
+ float:right;
290
+ }
291
+
292
+ .textright {
293
+ text-align:right;
294
+ }
295
+
296
+ .center {
297
+ text-align:center;
298
+ }
299
+
300
+ .small {
301
+ font-size:0.8em;
302
+ }
303
+
304
+ .bold {
305
+ font-weight:bold;
306
+ }
307
+
308
+ .hide {
309
+ display:none;
310
+ }