Mercurial > treepkg
annotate contrib/sawmill/web/templates/header.inc @ 486:283154e189d9
sawmill: Moved python blocks in templates to make them more readable.
author | Sascha Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 23 Sep 2010 09:59:06 +0000 |
parents | a55a521b7a31 |
children | f208b139190b |
rev | line source |
---|---|
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
1 <% |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
2 from cgi import escape |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
3 from xml.sax.saxutils import quoteattr |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
4 %> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
5 <head> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
7 <link rel="icon" href="img/favicon.ico" type="image/x-icon" /> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
8 <link rel="stylesheet" href="styles/style.css" type="text/css" media="screen" /> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
9 <title>Sägewerk - <%= escape(page_title) %></title> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
10 </head> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
11 <body> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
12 <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
13 <tr> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
14 <td> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
15 <a href=<%= quoteattr(back_link) %>><img src="img/logo.jpg" |
484
2e947f508553
sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
483
diff
changeset
|
16 border="0" alt="" width="533" height="94"></a> |
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
17 </td> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
18 </tr> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
19 </table> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
20 <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
21 <tr> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
22 <td align="left" bgcolor="#E0E0E0" width="9"> |
484
2e947f508553
sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
483
diff
changeset
|
23 <img src="img/topleft.png" height="9" width="9" alt=""> |
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
24 </td> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
25 <td bgcolor="#E0E0E0" width="30"> |
484
2e947f508553
sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
483
diff
changeset
|
26 <img src="img/clear.png" width="30" height="1" alt=""> |
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
27 </td> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
28 <td bgcolor="#E0E0E0"> |
484
2e947f508553
sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
483
diff
changeset
|
29 <img src="img/clear.png" width="1" height="1" alt=""> |
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
30 </td> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
31 <td bgcolor="#E0E0E0" width="30"> |
484
2e947f508553
sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
483
diff
changeset
|
32 <img src="img/clear.png" width="30" height="1" alt=""> |
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
33 </td> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
34 <td align="right" bgcolor="#E0E0E0" width="9"> |
484
2e947f508553
sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
483
diff
changeset
|
35 <img src="img/topright.png" height="9" width="9" alt=""> |
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
36 </td> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
37 </tr> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
38 <tr> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
39 <!-- Outer body row --> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
40 <td bgcolor="#E0E0E0"> |
484
2e947f508553
sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
483
diff
changeset
|
41 <img src="img/clear.png" width="10" height="1" alt=""> |
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
42 </td> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
43 <td valign="top" width="99%" bgcolor="#E0E0E0" colspan="3"> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
44 <!-- Inner Tabs / Shell --> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
45 <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
46 <tr> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
47 <td align="left" bgcolor="#ffffff" width="9"> |
484
2e947f508553
sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
483
diff
changeset
|
48 <img src="img/topleft-inner.png" height="9" width="9" alt=""> |
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
49 </td> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
50 <td bgcolor="#ffffff"> |
484
2e947f508553
sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
483
diff
changeset
|
51 <img src="img/clear.png" width="1" height="1" alt=""> |
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
52 </td> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
53 <td align="right" bgcolor="#ffffff" width="9"> |
484
2e947f508553
sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
483
diff
changeset
|
54 <img src="img/topright-inner.png" height="9" width="9" alt=""> |
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
55 </td> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
56 </tr> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
57 <tr> |
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
58 <td bgcolor="#ffffff"> |
484
2e947f508553
sawmill: Improved HTML 4.01 transitional compat a bit.
Sascha Teichmann <teichmann@intevation.de>
parents:
483
diff
changeset
|
59 <img src="img/clear.png" width="10" height="1" alt=""> |
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
60 </td> |
485
a55a521b7a31
Moved the saegewerk table layout completely into header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
484
diff
changeset
|
61 <td valign="top" width="99%" bgcolor="white"> |
483
28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
Sascha Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
62 <!-- begin main body row --> |