You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2009/06/11 16:27:24 UTC
svn commit: r783795 - in /activemq/sandbox/activemq-flow/webgen: ./ src/
src/styles/activemq/ src/styles/activemq/css/ src/styles/activemq/images/
src/styles/default/
Author: chirino
Date: Thu Jun 11 14:27:23 2009
New Revision: 783795
URL: http://svn.apache.org/viewvc?rev=783795&view=rev
Log:
Adding apache lic headers to webgen files, also added a simple style.
Added:
activemq/sandbox/activemq-flow/webgen/src/styles/activemq/
activemq/sandbox/activemq-flow/webgen/src/styles/activemq/blog.template
activemq/sandbox/activemq-flow/webgen/src/styles/activemq/css/
activemq/sandbox/activemq-flow/webgen/src/styles/activemq/css/site.css
activemq/sandbox/activemq-flow/webgen/src/styles/activemq/images/
activemq/sandbox/activemq-flow/webgen/src/styles/activemq/images/rss.gif (with props)
activemq/sandbox/activemq-flow/webgen/src/styles/activemq/images/spot-banner.gif (with props)
activemq/sandbox/activemq-flow/webgen/src/styles/activemq/main.template
Removed:
activemq/sandbox/activemq-flow/webgen/src/styles/default/
Modified:
activemq/sandbox/activemq-flow/webgen/README
activemq/sandbox/activemq-flow/webgen/Rakefile
activemq/sandbox/activemq-flow/webgen/config.yaml
activemq/sandbox/activemq-flow/webgen/src/architecture.page
activemq/sandbox/activemq-flow/webgen/src/index.page
activemq/sandbox/activemq-flow/webgen/src/metainfo
activemq/sandbox/activemq-flow/webgen/src/module-organization.page
activemq/sandbox/activemq-flow/webgen/src/privacy-policy.page
activemq/sandbox/activemq-flow/webgen/src/todo.page
Modified: activemq/sandbox/activemq-flow/webgen/README
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/README?rev=783795&r1=783794&r2=783795&view=diff
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/README (original)
+++ activemq/sandbox/activemq-flow/webgen/README Thu Jun 11 14:27:23 2009
@@ -1,4 +1,19 @@
---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
title: Building the Webgen Docs
---
Modified: activemq/sandbox/activemq-flow/webgen/Rakefile
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/Rakefile?rev=783795&r1=783794&r2=783795&view=diff
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/Rakefile (original)
+++ activemq/sandbox/activemq-flow/webgen/Rakefile Thu Jun 11 14:27:23 2009
@@ -1,12 +1,19 @@
# -*- ruby -*-
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
#
-# This is a sample Rakefile to which you can add tasks to manage your website. For example, users
-# may use this file for specifying an upload task for their website (copying the output to a server
-# via rsync, ftp, scp, ...).
-#
-# It also provides some tasks out of the box, for example, rendering the website, clobbering the
-# generated files, an auto render task,...
+# http://www.apache.org/licenses/LICENSE-2.0
#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
require 'webgen/webgentask'
require 'webgen/website'
Modified: activemq/sandbox/activemq-flow/webgen/config.yaml
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/config.yaml?rev=783795&r1=783794&r2=783795&view=diff
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/config.yaml (original)
+++ activemq/sandbox/activemq-flow/webgen/config.yaml Thu Jun 11 14:27:23 2009
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
# The available configuration options can be listed using the `webgen config`
# command, for example: `webgen config sourcehandler` will list all options starting
# with sourcehandler.
Modified: activemq/sandbox/activemq-flow/webgen/src/architecture.page
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/architecture.page?rev=783795&r1=783794&r2=783795&view=diff
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/architecture.page (original)
+++ activemq/sandbox/activemq-flow/webgen/src/architecture.page Thu Jun 11 14:27:23 2009
@@ -1,4 +1,19 @@
---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
title: Architectural Overview
--- pipeline:textile
Modified: activemq/sandbox/activemq-flow/webgen/src/index.page
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/index.page?rev=783795&r1=783794&r2=783795&view=diff
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/index.page (original)
+++ activemq/sandbox/activemq-flow/webgen/src/index.page Thu Jun 11 14:27:23 2009
@@ -1,4 +1,19 @@
---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
title: Home
in_menu: true
sort_info: 1
Modified: activemq/sandbox/activemq-flow/webgen/src/metainfo
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/metainfo?rev=783795&r1=783794&r2=783795&view=diff
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/metainfo (original)
+++ activemq/sandbox/activemq-flow/webgen/src/metainfo Thu Jun 11 14:27:23 2009
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
--- name:paths
#
# You cand define metainfo for mutliple pages in this file.
@@ -9,7 +23,7 @@
# -------------------------------------------------------------------
# You can easily switch the site from one look to another here:
# -------------------------------------------------------------------
- template: /styles/default/default.template
+ template: /styles/activemq/main.template
# -------------------------------------------------------------------
# Define the project properties here, these can be accessed in the
Modified: activemq/sandbox/activemq-flow/webgen/src/module-organization.page
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/module-organization.page?rev=783795&r1=783794&r2=783795&view=diff
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/module-organization.page (original)
+++ activemq/sandbox/activemq-flow/webgen/src/module-organization.page Thu Jun 11 14:27:23 2009
@@ -1,4 +1,19 @@
---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
title: Module Organization
--- pipeline:textile
Modified: activemq/sandbox/activemq-flow/webgen/src/privacy-policy.page
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/privacy-policy.page?rev=783795&r1=783794&r2=783795&view=diff
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/privacy-policy.page (original)
+++ activemq/sandbox/activemq-flow/webgen/src/privacy-policy.page Thu Jun 11 14:27:23 2009
@@ -1,4 +1,19 @@
---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
title: Privacy Policy
--- pipeline:textile,tags
Added: activemq/sandbox/activemq-flow/webgen/src/styles/activemq/blog.template
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/styles/activemq/blog.template?rev=783795&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/styles/activemq/blog.template (added)
+++ activemq/sandbox/activemq-flow/webgen/src/styles/activemq/blog.template Thu Jun 11 14:27:23 2009
@@ -0,0 +1,26 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+template: main.template
+---
+<div class="post">
+ <h2>{title:}</h2>
+ <div class="details">Posted by {author:} on {created_at:} </div>
+ <webgen:block name='content'/>
+ <% if node.node_info[:page].blocks.has_key?('full_story') %>
+ <webgen:block name='full_story' />
+ <% end %>
+</div>
Added: activemq/sandbox/activemq-flow/webgen/src/styles/activemq/css/site.css
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/styles/activemq/css/site.css?rev=783795&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/styles/activemq/css/site.css (added)
+++ activemq/sandbox/activemq-flow/webgen/src/styles/activemq/css/site.css Thu Jun 11 14:27:23 2009
@@ -0,0 +1,142 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+body, html {
+ font-family:georgia;
+ color: #666666;
+}
+body, html, table, tr, td, tbody {
+ padding:0;
+ margin:0;
+ vertical-align: top;
+}
+body {
+ padding-top: 20px;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ overflow: visible;
+ color: black;
+}
+p { margin-bottom:0px; }
+
+a { text-decoration: none; color:#0D4D82; }
+a:hover { color: #820000; text-decoration: underline;}
+img {border: none;}
+
+a.main { font-size: 12pt; }
+
+.wrapper { min-width: 762px; width: 762px; margin: 0 auto; }
+
+#navigation { width: 100%; float: left;
+ font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif;
+ background: #0D4D82; text-align:center; padding: 8px;
+ color: white; font-size: 10pt; font-weight: bold;
+ position: absolute;
+ top: 0px;
+}
+#navigation a { color: white; }
+#navigation ul { display: block; margin:0; padding:0; }
+#navigation li { list-style-type: none; display: inline; margin:0 5px 0 5px;}
+
+#overview { width: 100%; float: left; }
+#overview div.logo {float: left; padding-right: 20px; }
+#overview div.message {
+ font-size: 14pt;
+}
+#overview div.message h1{ margin-bottom: 5px; }
+
+#spot { width: 100%; float: left;
+ margin-top: 15px;
+ background:transparent url(../images/spot-banner.gif) repeat-x scroll 0 0;
+ height: 277px;
+}
+#spot div.title {
+ text-align:center; height:25px;
+ text-align:center; padding-top: 2px;
+ color: white; font-size: 10pt; font-weight: bold;
+ font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif;
+}
+#spot div.content table {
+ width: 100%; text-align:center;
+ color: black; font-size: 10pt;
+}
+
+#spot a:hover {text-decoration: none; }
+
+#spot div.spot-balloon {
+ background:transparent url( ../../../images/spot-get-involved.gif ) no-repeat;
+ background-position:center;
+ height: 121px;
+ text-align:left;
+ padding-top: 25px;
+ padding-left: 35px;
+}
+
+#spot div.spot-balloon li {
+
+ list-style: none;
+}
+
+#content { width: 100%; float: left; }
+#content .wrapper { min-width: 700px; width: 700px; margin: 0 auto; }
+#content div.left {
+ float:left;
+ width:200px;
+ text-align:right;
+ font-size: 18pt;
+ clear:both;
+}
+#content h1 {
+ font-size: 18pt;
+}
+#content div.right {
+ float:right;
+ width:450px;
+ text-align:left;
+}
+
+#blog { width: 100%; float: left; }
+#blog .wrapper { min-width: 600px; width: 600px; margin: 0 auto; }
+#blog h1 {
+ font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif;
+ font-size: 18pt; color: #0D4D82;
+}
+#blog h2 {
+ border-bottom: thin dashed #DDD;
+ font-size: 16pt;
+ margin-bottom: 5px;
+}
+#blog div.post p {
+ padding-left: 10px;
+}
+#blog div.post .details {
+ padding-top: 5px;
+ color: #ccc;
+ font-size: 10pt;
+ font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif;
+}
+
+#content .post h2 {
+ margin-bottom:5px;
+}
+#content .post .details {
+ color: #ccc;
+ font-size: 10pt;
+ font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif;
+ margin-top:0px;
+}
+
Added: activemq/sandbox/activemq-flow/webgen/src/styles/activemq/images/rss.gif
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/styles/activemq/images/rss.gif?rev=783795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: activemq/sandbox/activemq-flow/webgen/src/styles/activemq/images/rss.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: activemq/sandbox/activemq-flow/webgen/src/styles/activemq/images/spot-banner.gif
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/styles/activemq/images/spot-banner.gif?rev=783795&view=auto
==============================================================================
Binary file - no diff available.
Propchange: activemq/sandbox/activemq-flow/webgen/src/styles/activemq/images/spot-banner.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: activemq/sandbox/activemq-flow/webgen/src/styles/activemq/main.template
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/styles/activemq/main.template?rev=783795&view=auto
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/styles/activemq/main.template (added)
+++ activemq/sandbox/activemq-flow/webgen/src/styles/activemq/main.template Thu Jun 11 14:27:23 2009
@@ -0,0 +1,83 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+template: ~
+---
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="{lang:}">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="description" content="description goes here" />
+ <meta name="keywords" content="keywords,goes,here" />
+ <meta name="author" content="Your Name" />
+
+ <link href="{relocatable: css/site.css}" rel="stylesheet" type="text/css" />
+
+ <title>{title:}</title>
+
+<% if node.node_info[:page].blocks.has_key?('head') %>
+ <webgen:block name='head' />
+<% end %>
+
+</script>
+</head>
+<body>
+
+ <div id="navigation">
+ <div class="wrapper">
+ {menu: {max_levels: 1, used_nodes: files}}
+ </div>
+ </div>
+
+<% if node.node_info[:page].blocks.has_key?('overview') %>
+ <div id="overview">
+ <div class="wrapper">
+ <div class="logo">
+ <img src="{relocatable:/images/project-logo.gif}"/>
+ </div>
+ <div class="message">
+ <webgen:block name='overview' />
+ </div>
+ </div>
+ </div>
+<% end %>
+
+<% if node.node_info[:page].blocks.has_key?('spot') %>
+ <div id='spot'>
+ <div class='wrapper'>
+ <webgen:block name='spot' />
+ </div>
+ </div>
+<% end %>
+
+<% if node.node_info[:page].blocks.has_key?('content') %>
+ <div id='content'>
+ <div class='wrapper'>
+ <webgen:block name="content" />
+ </div>
+ </div>
+<% end %>
+
+<% if node.node_info[:page].blocks.has_key?('blog') %>
+ <div id='blog'>
+ <div class='wrapper'>
+ <webgen:block name="blog" />
+ </div>
+ </div>
+<% end %>
+
+</body>
+</html>
\ No newline at end of file
Modified: activemq/sandbox/activemq-flow/webgen/src/todo.page
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-flow/webgen/src/todo.page?rev=783795&r1=783794&r2=783795&view=diff
==============================================================================
--- activemq/sandbox/activemq-flow/webgen/src/todo.page (original)
+++ activemq/sandbox/activemq-flow/webgen/src/todo.page Thu Jun 11 14:27:23 2009
@@ -1,4 +1,19 @@
---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
title: TODO
--- pipeline:textile