[CVS site] words n style
Paul Hammant <paul-yCVjj/[email protected]> Tue, 10 Feb 2004 14:46:03 -0600
| Newsgroups | gmane.comp.java.nanocontainer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit in site/docs on MAIN
decorators/decorator.html +17 -7 1.3 -> 1.4
index.html +6 -6 1.4 -> 1.5
maven.css +14 1.1 -> 1.2
tigris.css +1 -1 1.1 -> 1.2
+38 -14
4 modified files
words n style
----------
site /docs /decorators
decorator.html 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- decorator.html 24 Dec 2003 07:58:04 -0000 1.3
+++ decorator.html 10 Feb 2004 20:46:03 -0000 1.4
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>PicoContainer -</title>
+ <title>NanoContainer - $page.title</title>
<style type="text/css">
@import url("tigris.css");
@import url("maven.css");
@@ -9,6 +9,17 @@
<link rel="stylesheet" href="print.css" type="text/css" media="print">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
+ <SCRIPT LANGUAGE='JAVASCRIPT'>
+ // <!--
+ function boldOrNot(text, page) {
+ if (window.location.toString().indexOf(page + ".html") > 0) {
+ document.write("<b>" + text + "</b>")
+ } else {
+ document.write(text)
+ }
+ }
+ // -->
+ </SCRIPT>
</head>
<body class="composite">
<div id="banner">
@@ -54,9 +65,8 @@
<td width="20%" id="leftcol">
<div id="navcolumn">
<div> <strong>NanoContainer</strong>
- <div> <small> <a href="index.html">Introduction</a> </small> </div>
- <div> <small> <a href="faq.html">FAQ</a> </small> </div>
- <div> <small> <a href="ioc.html"></a> </small> </div>
+ <div> <small> <a href="index.html"><script language="JavaScript">boldOrNot('Introduction','index')</script></a> </small> </div>
+ <div> <small> <a href="faq.html"><script language="JavaScript">boldOrNot('FAQ','faq')</script></a> </small> </div>
<div> <small> <a href="http://www.picocontainer.org/people.html">People</a> </small> </div>
<div> <small> <a href="http://www.picocontainer.org/volunteers.html">Volunteers</a> </small> </div>
<div> <small> <a href="http://www.picocontainer.org/download.html">Download</a> </small> </div>
@@ -75,8 +85,8 @@
<p></p>
<input name="q" maxlength="255" size="15" type="text" value="">
<input name="btnG" type="submit" value="Go"> <input
- name="domains" type="hidden" value="http://www.picocontainer.org"> <input
- name="sitesearch" type="hidden" value="http://www.picocontainer.org"
+ name="domains" type="hidden" value="http://www.nanocontainer.org"> <input
+ name="sitesearch" type="hidden" value="http://www.nanocontainer.org"
id="search"> </form>
</div>
</td>
@@ -96,7 +106,7 @@
<table border="0" style="width: 100%;" cellpadding="4" cellspacing="0">
<tbody>
<tr>
- <td> © 2003, NanoContainer team </td>
+ <td> © 2003 - 2004, NanoContainer Committers</td>
</tr>
</tbody>
</table>
----------
site /docs
index.html 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- index.html 10 Feb 2004 20:23:10 -0000 1.4
+++ index.html 10 Feb 2004 20:46:03 -0000 1.5
@@ -1,10 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
- <title>NanoContainer</title>
+ <title>Introduction</title>
</head>
<body>
-<h2>Introduction</h2>
+<h2>Overview</h2>
NanoContainer is a script-enabled front end for <a
href="http://www.picocontainer.org">PicoContainer</a>. Tree of
components can be composed using :<br>
@@ -19,13 +19,13 @@
Note - We're deliberately trying to be language agnostic here.<br>
<h2>General Script Examples</h2>
<h3>Groovy</h3>
-<pre>class MyContainerBuilder {<br> buildContainer(parent, assemblyScope) {<br> pico = new org.picocontainer.defaults.DefaultPicoContainer(parent)<br> pico.registerComponentImplementation(org.nanocontainer.testmodel.DefaultWebServerConfig)<br> pico.registerComponentImplementation(org.nanocontainer.testmodel.WebServerImpl)<br> return pico<br> }<br>}</pre>
+<pre style="margin-left: 40px;">class MyContainerBuilder {<br> buildContainer(parent, assemblyScope) {<br> pico = new org.picocontainer.defaults.DefaultPicoContainer(parent)<br> pico.registerComponentImplementation(org.nanocontainer.testmodel.DefaultWebServerConfig)<br> pico.registerComponentImplementation(org.nanocontainer.testmodel.WebServerImpl)<br> return pico<br> }<br>}</pre>
<h3>Jython</h3>
-<pre>from org.nanocontainer.testmodel import *<br>pico = DefaultPicoContainer()<br>pico.registerComponentImplementation(WebServerImpl)<br>pico.registerComponentImplementation(DefaultWebServerConfig)</pre>
+<pre style="margin-left: 40px;">from org.nanocontainer.testmodel import *<br>pico = DefaultPicoContainer()<br>pico.registerComponentImplementation(WebServerImpl)<br>pico.registerComponentImplementation(DefaultWebServerConfig)</pre>
<h3>Rhino</h3>
-<pre>var pico = new DefaultPicoContainer(new ImplementationHidingComponentAdapterFactory())<br>pico.registerComponentImplementation(Packages.org.nanocontainer.testmodel.DefaultWebServerConfig)<br>pico.registerComponentImplementation(Packages.org.nanocontainer.testmodel.WebServerImpl)</pre>
+<pre style="margin-left: 40px;">var pico = new DefaultPicoContainer(new ImplementationHidingComponentAdapterFactory())<br>pico.registerComponentImplementation(Packages.org.nanocontainer.testmodel.DefaultWebServerConfig)<br>pico.registerComponentImplementation(Packages.org.nanocontainer.testmodel.WebServerImpl)</pre>
<h3>XML</h3>
-<pre><container><br> <component class='org.nanocontainer.testmodel.DefaultWebServerConfig'/><br> <component key='org.nanocontainer.testmodel.WebServer' class='org.nanocontainer.testmodel.WebServerImpl'/><br></container></pre>
+<pre style="margin-left: 40px;"><container><br> <component class='org.nanocontainer.testmodel.DefaultWebServerConfig'/><br> <component key='org.nanocontainer.testmodel.WebServer' class='org.nanocontainer.testmodel.WebServerImpl'/><br></container></pre>
<br>
<small>Authors: Paul Hammant</small><br>
</body>
----------
site /docs
maven.css 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- maven.css 17 Dec 2003 22:03:23 -0000 1.1
+++ maven.css 10 Feb 2004 20:46:03 -0000 1.2
@@ -3,14 +3,28 @@
color: #0A2509;
}
+.app h2 {
+ color: #FFFFFF;
+ margin-left: 0;
+ background-color: #2AA526;
+ margin-top: 20px;
+ margin-bottom: 5px;
+ }
+
.app h3 {
color: #FFFFFF;
+ margin-left: 10px;
background-color: #2AA526;
+ margin-top: 15px;
+ margin-bottom: 5px;
}
.app h4 {
color: #0A2509;
+ margin-left: 20px;
background-color: #EBEBEB;
+ margin-top: 10px;
+ margin-bottom: 5px;
}
.a td {
----------
site /docs
tigris.css 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- tigris.css 17 Dec 2003 22:03:23 -0000 1.1
+++ tigris.css 10 Feb 2004 20:46:03 -0000 1.2
@@ -1,4 +1,4 @@
-/* $Id: tigris.css,v 1.1 2003/12/17 22:03:23 paul Exp $
+/* $Id: tigris.css,v 1.2 2004/02/10 20:46:03 paul Exp $
This file defines basic default formatting for HTML conforming to Tigris application style. To extend or override these rules for your instance, edit inst.css instead of this file. */