Mercurial > treepkg
comparison contrib/sawmill/web/templates/overview.html @ 483:28aa6ac933fb
sawmill: moved wald's table layout into common header and footer
template include files.
author | Sascha Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 18 Sep 2010 09:46:22 +0000 |
parents | 7504ed4437e1 |
children | a55a521b7a31 |
comparison
equal
deleted
inserted
replaced
482:a89f73f7c965 | 483:28aa6ac933fb |
---|---|
3 <% | 3 <% |
4 from cgi import escape | 4 from cgi import escape |
5 from xml.sax.saxutils import quoteattr | 5 from xml.sax.saxutils import quoteattr |
6 %> | 6 %> |
7 <html> | 7 <html> |
8 <head> | 8 <%@include file="header.inc" %> |
9 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
10 <link rel="icon" href="img/favicon.ico" type="image/x-icon" /> | |
11 <link rel="stylesheet" href="styles/style.css" type="text/css" media="screen" /> | |
12 <title>Sägewerk - Free Software forestry</title> | |
13 </head> | |
14 | 9 |
15 <body> | 10 <td valign="top" width="99%" bgcolor="white"> |
16 <table border="0" width="100%" cellspacing="0" cellpadding="0"> | 11 <div style="text-align: right"> |
17 <tr> | 12 <a href="http://wald.intevation.de/">...to WALD source code repository</a> |
18 <td> | 13 </div> |
19 <a href="/"><img src="img/logo.jpg" border="0" alt="" width="533" height="94" /></a> | |
20 </td> | |
21 </tr> | |
22 </table> | |
23 <table border="0" width="100%" cellspacing="0" cellpadding="0"> | |
24 | |
25 <tr> | |
26 <td align="left" bgcolor="#E0E0E0" width="9"> | |
27 <img src="img/topleft.png" height="9" width="9" alt="" /> | |
28 </td> | |
29 <td bgcolor="#E0E0E0" width="30"> | |
30 <img src="img/clear.png" width="30" height="1" alt="" /> | |
31 </td> | |
32 <td bgcolor="#E0E0E0"> | |
33 <img src="img/clear.png" width="1" height="1" alt="" /> | |
34 | |
35 </td> | |
36 <td bgcolor="#E0E0E0" width="30"> | |
37 <img src="img/clear.png" width="30" height="1" alt="" /> | |
38 </td> | |
39 <td align="right" bgcolor="#E0E0E0" width="9"> | |
40 <img src="img/topright.png" height="9" width="9" alt="" /> | |
41 </td> | |
42 </tr> | |
43 | |
44 <tr> | |
45 <!-- Outer body row --> | |
46 <td bgcolor="#E0E0E0"> | |
47 <img src="img/clear.png" width="10" height="1" alt="" /> | |
48 </td> | |
49 <td valign="top" width="99%" bgcolor="#E0E0E0" colspan="3"> | |
50 <!-- Inner Tabs / Shell --> | |
51 <table border="0" width="100%" cellspacing="0" cellpadding="0"> | |
52 <tr> | |
53 | |
54 <td align="left" bgcolor="#ffffff" width="9"> | |
55 <img src="img/topleft-inner.png" height="9" width="9" alt="" /> | |
56 </td> | |
57 <td bgcolor="#ffffff"> | |
58 <img src="img/clear.png" width="1" height="1" alt="" /> | |
59 </td> | |
60 <td align="right" bgcolor="#ffffff" width="9"> | |
61 <img src="img/topright-inner.png" height="9" width="9" alt="" /> | |
62 </td> | |
63 | |
64 </tr> | |
65 <tr> | |
66 <td bgcolor="#ffffff"> | |
67 <img src="img/clear.png" width="10" height="1" alt="" /> | |
68 </td> | |
69 <td valign="top" width="99%" bgcolor="white"> | |
70 <!-- end main body row --> | |
71 <div style="text-align: right"><a href="http://wald.intevation.de/">...to WALD source code repository</a></div> | |
72 | 14 |
73 <% | 15 <% |
74 for treepkg, description in sorted(descriptions, key=lambda x: x[1]): | 16 for treepkg, description in sorted(descriptions, key=lambda x: x[1]): |
75 # for all descriptions | 17 # for all descriptions |
76 %> | 18 %> |
78 <a href=<%= quoteattr("details.py?treepkg=%s" % treepkg) %>><%= escape(description) %></a> | 20 <a href=<%= quoteattr("details.py?treepkg=%s" % treepkg) %>><%= escape(description) %></a> |
79 </div> | 21 </div> |
80 <% | 22 <% |
81 # for all descriptions | 23 # for all descriptions |
82 %> | 24 %> |
83 <!-- end main body row --> | 25 </td> |
84 </td> | |
85 <td width="10" bgcolor="#ffffff"> | |
86 <img src="img/clear.png" width="2" height="1" alt="" /> | |
87 </td> | |
88 </tr> | |
89 | 26 |
90 <tr> | 27 <%@include file="footer.inc" %> |
91 <td align="left" bgcolor="#E0E0E0" width="9"> | |
92 <img src="img/bottomleft-inner.png" height="11" width="11" alt="" /> | |
93 </td> | |
94 <td bgcolor="#ffffff"> | |
95 <img src="img/clear.png" width="1" height="1" alt="" /> | |
96 </td> | |
97 <td align="right" bgcolor="#E0E0E0" width="9"> | |
98 <img src="img/bottomright-inner.png" height="11" width="11" alt="" /> | |
99 | |
100 </td> | |
101 </tr> | |
102 </table> | |
103 | |
104 <!-- end inner body row --> | |
105 | |
106 </td> | |
107 <td width="10" bgcolor="#E0E0E0"> | |
108 <img src="img/clear.png" width="2" height="1" alt="" /> | |
109 </td> | |
110 | |
111 </tr> | |
112 <tr> | |
113 <td align="left" bgcolor="#E0E0E0" width="9"> | |
114 <img src="img/bottomleft.png" height="9" width="9" alt="" /> | |
115 </td> | |
116 <td bgcolor="#E0E0E0" colspan="3"> | |
117 <img src="img/clear.png" width="1" height="1" alt="" /> | |
118 </td> | |
119 <td align="right" bgcolor="#E0E0E0" width="9"> | |
120 | |
121 <img src="img/bottomright.png" height="9" width="9" alt="" /> | |
122 </td> | |
123 </tr> | |
124 </table> | |
125 <br /> | |
126 <center> | |
127 <b style="color:white; font-size:13px;"> | |
128 This site is hosted by the <a href="http://www.intevation.de">Intevation GmbH</a> | |
129 | |
130 </b> | |
131 </center> | |
132 | |
133 </body> | |
134 </html> | 28 </html> |