|
|
| Line 1: | |||
| + | This template displays supplied data within a table in HTML format. All data passed to this template can be alphanumeric. | ||
| + | ---- | ||
| + | ''Content Type:'' | ||
| + | <pre>text/html</pre> | ||
| + | ---- | ||
| + | ''Context Script:'' | ||
| + | N/A | ||
| + | ---- | ||
| + | ''Template Text:'' | ||
| + | <pre><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
| + | <html> | ||
| + | <head> | ||
| + | <title>Workflow</title> | ||
| + | <STYLE TYPE="text/css"> | ||
| + | <!-- | ||
| + | table.data-table td { | ||
| + | vertical-align: top; | ||
| + | } | ||
| + | table.data-table | ||
| + | { | ||
| + | font-family: arial, helvetica, sans-serif; | ||
| + | font-size: 12px; | ||
| + | background-color: #567596; | ||
| + | } | ||
| + | table.data-table caption | ||
| + | { | ||
| + | padding-top: 10px; | ||
| + | padding-bottom: 10px; | ||
| + | text-align: left; | ||
| + | } | ||
| + | table.data-table th | ||
| + | { | ||
| + | text-align: center; | ||
| + | background-color: #cfdbef; | ||
| + | height: 25px; | ||
| + | } | ||
| + | table.data-table td | ||
| + | { | ||
| + | vertical-align: top; | ||
| + | } | ||
| + | table.data-table tr.odd | ||
| + | { | ||
| + | background-color: #ffffff; | ||
| + | } | ||
| + | table.data-table tr.even | ||
| + | { | ||
| + | background-color: #f6f6f6; | ||
| + | } | ||
| + | .data-table-button-bar | ||
| + | { | ||
| + | padding-top: 10px; | ||
| + | padding-bottom: 10px; | ||
| + | } | ||
| + | .data-table-container | ||
| + | { | ||
| + | padding-top: 10px; | ||
| + | padding-bottom: 10px; | ||
| + | } | ||
| + | --> | ||
| + | </STYLE> | ||
| + | </head> | ||
| + | <body> | ||
| + | <h1> Report: $report.Name</h1> | ||
| + | <p> | ||
| + | <div class="data-table-container"> | ||
| + | <table class="data-table" cellpadding="4" cellspacing="1" width="100%"> | ||
| + | <table-body> | ||
| + | <tr class="data-table-head"> | ||
| + | #foreach($column in $output.MetaData.ColumnArray) | ||
| + | <th scope="col" align="left" valign="middle"><strong>$column</strong></th> | ||
| + | #end | ||
| + | </tr> | ||
| + | #foreach($row in $output.RowArray) | ||
| + | <tr bgcolor="#ffffff"> | ||
| + | #foreach($columnValue in $row.ColumnValueArray) | ||
| + | <td>$columnValue </td> | ||
| + | #end | ||
| + | </tr> | ||
| + | #end | ||
| + | </table-body> | ||
| + | </table> | ||
| + | </body> | ||
| + | </html> | ||
| + | </pre> | ||
| + | '''Related Content''' | ||
| + | [[AnthillPro Template Reports]]<br/> | ||
| + | [[Report Templates]] | ||