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 )
$dataModel.name - +
- - - - - +
Table NameOM ClassDescription
+ + + + #foreach ($tbl in $database.tables) - - - - + + + + #end
Table NameOM ClassDescription
$tbl.Name$tbl.JavaName#if ($tbl.Description) $tbl.Description#else  #end
$tbl.Name$tbl.JavaName#if ($tbl.Description) $tbl.Description#else  #end
Modified: db/torque/templates/trunk/src/templates/doc/html/table.vm URL: http://svn.apache.org/viewcvs/db/torque/templates/trunk/src/templates/doc/html/table.vm?rev=355742&r1=355741&r2=355742&view=diff ============================================================================== --- db/torque/templates/trunk/src/templates/doc/html/table.vm (original) +++ db/torque/templates/trunk/src/templates/doc/html/table.vm Sat Dec 10 03:35:29 2005 @@ -15,41 +15,31 @@

$table.Name

$!table.Description

- - - - - - - - - - - +
NameTypeSizeDefaultJavaNamePKFKnot nullDescription
+ + + + + + + + + + #foreach ($col in $table.Columns) - - + - - - - - - - - + + + + + + + + #end -
NameTypeSizeDefaultJavaNamePKFKnot nullDescription
#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.isPrimaryKey()==true)X#else  #end
#if ($col.isForeignKey()==true)X#else  #end
#if ($col.isNotNull()==true)X#else  #end
#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.isPrimaryKey()==true)X#else  #end
#if ($col.isForeignKey()==true)X#else  #end
#if ($col.isNotNull()==true)X#else  #end
#if ($col.Description) $col.Description#else  #end
- + \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org