File: tablehtml.html

package info (click to toggle)
nevow 0.3.0-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 940 kB
  • ctags: 2,089
  • sloc: python: 8,635; makefile: 15
file content (21 lines) | stat: -rw-r--r-- 899 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" xmlns:nevow="http://nevow.com/ns/nevow/0.1">
	<head>
		<title>This is title</title>
	</head>
	<body>
		<table nevow:data="theList" nevow:render="sequence">
                <tr nevow:pattern="header"><th>First Column</th><th>Second Column</th></tr>

                <tr nevow:pattern="item" nevow:render="row">
                    <td><nevow:slot name="first_column" /></td>
                    <td><nevow:slot name="second_column" /></td>
                </tr>

                <tr nevow:pattern="divider"><td>-----</td></tr>
                <tr nevow:pattern="empty"><td>Nothing.</td></tr>

                <tr nevow:pattern="footer"><td>First Column</td><td>Second Column</td></tr>
            </table>
	</body>
</html>