File: layout.html

package info (click to toggle)
python-werkzeug 0.8.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,940 kB
  • sloc: python: 16,194; makefile: 143; pascal: 66; xml: 16
file content (22 lines) | stat: -rw-r--r-- 559 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <title>$title | Example Application</title>
  </head>
  <body>
    <h1>Example Application</h1>
    <p>
      Request Language: <strong>$req.language</strong>
    </p>
    $body
    <blockquote>
      <p>This page in other languages:
      <ul>
      <% for lng in ['en', 'de', 'fr'] %>
        <li><a href="$escape(req.url_for('this', lang_code=lng))">$lng</a></li>
      <% endfor %>
      </ul>
    </blockquote>
  </body>
</html>