File: benchmark.html

package info (click to toggle)
libpetal-perl 2.20-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,148 kB
  • sloc: perl: 4,712; xml: 726; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 547 bytes parent folder | download | duplicates (9)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>Petal Benchmark Page</title>
	</head>
	<body>

		<!-- xi:include href="./header.html"/ -->

		<span petal:if="foo/bar">
 			Found bar: $foo/bar
		</span>

		<span petal:if="session/user">
			<table>
				<tr><td>User ID:</td><td>$session/user/id</td></tr>
				<tr><td>User Name:</td><td>$session/user/name</td></tr>
			</table>
		</span>

		<span petal:repeat="blah list">
			<li>list element: $blah</li>
		</span>

		Session ID: $session/id

  </body>
</html>