Author: tfischer
Date: Sat Dec 10 03:35:29 2005
New Revision: 355742
URL: http://svn.apache.org/viewcvs?rev=355742&view=rev
Log:
Formatting of documentation generated by the generator is now done using css style sheets
Modified:
db/torque/templates/trunk/src/templates/doc/html/datamodel.vm
db/torque/templates/trunk/src/templates/doc/html/table.vm
Modified: db/torque/templates/trunk/src/templates/doc/html/datamodel.vm
URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/doc/html/datamodel.vm?rev=355742&r1=355741&r2=355742&view=diff
==============================================================================
--- db/torque/templates/trunk/src/templates/doc/html/datamodel.vm (original)
+++ db/torque/templates/trunk/src/templates/doc/html/datamodel.vm Sat Dec 10 03:35:29 2005
@@ -1,39 +1,22 @@
-## Copyright 2001-2005 The Apache Software Foundation.
-##
-## Licensed 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.
#set ( $database = $dataModel )
| Table Name | -OM Class | -Description | +
|---|
| Table Name | +OM Class | +Description |
|---|---|---|
| $tbl.Name | -$tbl.JavaName | -#if ($tbl.Description) $tbl.Description#else #end | +
| $tbl.Name | +$tbl.JavaName | +#if ($tbl.Description) $tbl.Description#else #end |
| Name | -Type | -Size | -Default | -JavaName | -PK | -FK | -not null | -Description | +
|---|
| Name | +Type | +Size | +Default | +JavaName | +PK | +FK | +not null | +Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| #if ($col.isForeignKey() == true) -$col.Name + | ||||||||||||||||
| #if ($col.isForeignKey() == true) +$col.Name #else$col.Name#end | -$col.Type | -#if ($col.printSize() && $col.printSize().length() > 0) $col.printSize() #else #end | -#if ($col.DefaultValue) $col.DefaultValue#else #end | -$col.JavaName | -#if ($col.Description) $col.Description#else #end | +$col.Type | +#if ($col.printSize() && $col.printSize().length() > 0) $col.printSize() #else #end | +#if ($col.DefaultValue) $col.DefaultValue#else #end | +$col.JavaName | +#if ($col.Description) $col.Description#else #end |