File: disktemplates.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 (43 lines) | stat: -rw-r--r-- 1,655 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!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"><td>Stuff:</td><td><span nevow:render="string" /></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>
            
		<ul nevow:data="empty" nevow:render="sequence">
			<li nevow:pattern="header">HEADER</li>
			<li nevow:pattern="item">Stuff: <span nevow:render="string" />!</li>

			<li nevow:pattern="divider">-----</li>
			<li nevow:pattern="empty">Nothing.</li>
			<li nevow:pattern="footer">FOOTER</li>
		</ul>
          <p nevow:render="foo">
              This entire node, including the span tag, will be replaced by a randomly chosen node from below:
              <span nevow:pattern="one" style="color: red">
                  one
              </span>

              <table nevow:pattern="two">
                  <tr><td>two</td><td>two</td><td>two</td></tr>
              </table>
              <ol nevow:pattern="three">
                  <li>three</li>
                  <li>three</li>

                  <li>three</li>
              </ol>
          </p>
	</body>
</html>