source: TI12-security/trunk/NDGSecurity/python/ndg_security_server/ndg/security/server/wsgi/openid/relyingparty/signin_interface/genshi/templates/base.html @ 7077

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/ndg_security_server/ndg/security/server/wsgi/openid/relyingparty/signin_interface/genshi/templates/base.html@7077
Revision 7077, 1.9 KB checked in by pjkersha, 11 years ago (diff)
  • Property svn:keywords set to Id
Line 
1<!-- This is a bunch of named templates for use in pages -->
2<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/">
3    <?python from genshi import HTML ?>
4    <!-- HTML Header and Document header follow -->
5   
6    <head py:def="pagehead()" py:strip="True">
7        <title py:content="c.title">title</title>
8        <link media="all, screen" href="${c.baseURL}/layout/default.css" 
9            type="text/css" rel="stylesheet"/>
10        <link rel="icon" type="image/ico" 
11            href="${c.baseURL}/layout/favicon.jpg"/>
12        <script type="text/javascript" src="${c.baseURL}/js/toggleDiv.js"></script>     
13    </head>
14
15    <div py:def="header()" id="header">
16        <div py:if="c.heading">
17            <h1>${c.heading}</h1>
18        </div>
19        <div py:if="c.leftLogo" id="logo">
20            <img src="${c.leftLogo}" alt="${c.leftAlt}" />
21        </div>
22    </div>
23
24    <!-- Page Footer follows -->
25    <div py:def="footer()" id="footer">
26        <table width="100%"><tbody>
27            <tr>
28                <td align="left" width="60%" valign="top">
29                    <table>
30                        <tbody>
31                            <tr>
32                                <td valign="top" py:if="c.leftImage and c.leftLink"><span py:replace="linkimage(c.leftLink, c.leftImage, c.leftAlt)"/></td>
33                                <td valign="top" py:if="c.footerText">${HTML(c.footerText)}</td>
34                            </tr>
35                        </tbody>
36                    </table>
37                </td>
38                <td align="right" valign="top" width="40%"><span py:replace="linkimage(c.rightLink, c.rightImage, c.rightAlt)"/></td>
39            </tr>
40        </tbody></table>
41    </div>
42   
43    <!-- Utility Functions follow -->
44   
45    <!-- hyperlinked image -->
46    <span py:def="linkimage(linkref,imageref,alttext)">
47        <a href="$linkref"><image src="$imageref" alt="$alttext" title="$alttext"/></a>
48    </span>
49</html>
Note: See TracBrowser for help on using the repository browser.