source: TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/sso/badc_site/templates/ndg/security/badcpage.kid @ 4898

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/sso/badc_site/templates/ndg/security/badcpage.kid@4898
Revision 4898, 7.0 KB checked in by pjkersha, 11 years ago (diff)

Fixes to BADC SSO service templates:

  • re-instated error.kid for use by logout controller
  • added login/logout link switch to header
  • fixed header and footer alignments for IE correct display
RevLine 
[4880]1<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#">
2    <head py:def="pagehead()" py:strip="True">
3        <title>$c.title</title>
4        <meta name="description"
5            content="Assisting atmospheric researchers to locate, access and interpret atmospheric data, ensuring the integrity of the atmospheric data produced by the UK's Natural Environment Research Council (NERC)."/>
6        <!--  Assisting atmospheric researchers to locate, access and interpret atmospheric data, ensuring the integrity of the atmospheric data produced by the UK's Natural Environment Research Council (NERC).  -->
7        <meta name="keywords"
8            content="BADC,NERC,british,atmospheric,data,atmospheric data,centre,UKMO,ECMWF,meteorological,met data,weather,archive,temperature,rain,wind,precipitation."/>
9        <meta name="robots" content="all"/>
10        <link rel="alternate" type="application/rss+xml" 
11            href="http://badc.nerc.ac.uk/community/news/Latest_news.xml"
12            title="BADC News Channel"/>       
13        <link rel="stylesheet" type="text/css" href="layout/styles/style.css"/>       
14    </head>
15   
16    <div py:def="whiteGap()" id="whiteGap">
17        <!-- white gap -->
18        <table width="100%" bgcolor="#ffffff" border="0" cellpadding="0"
19            cellspacing="1">
20            <tbody>
21                <tr>
22                    <td></td>
23                </tr>
24            </tbody>
25        </table>
26    </div>
27   
28    <div py:def="header()" id="header">
[4898]29        <table BORDER="0" CELLSPACING="0" CELLPADDING="0">
[4880]30            <tr height="7">
[4898]31            <td width="20"></td>
[4880]32            </tr>
33            <tr>
[4898]34                <td><img src="layout/tabs/spacer30.gif"/></td>
35                <td><img src="layout/tabs/tabs_white_under_dblue.gif"/></td>
36                <td class="badcDarkBlue"><a class="menu"  href="http://badc.nerc.ac.uk/home/"><img border="0" align="middle" src="layout/logos/badc-logo-onblue-30.gif"/>Home</a></td>
37                <td><img src="layout/tabs/tabs_dblue_over_lblue.gif"/></td>
38                <td class="badcLightBlue"><a class="menu"  href="http://badc.nerc.ac.uk/mybadc">My&nbsp;BADC</a></td>
39                <td><img src="layout/tabs/tabs_lblue_over_lblue.gif"/></td>
40                <td class="badcLightBlue"><a class="menu"  href="http://badc.nerc.ac.uk/data/">Data</a></td>
41                <td><img src="layout/tabs/tabs_lblue_over_lblue.gif"/></td>
42                <td class="badcLightBlue"><a class="menu"  href="http://badc.nerc.ac.uk/search/">Search</a></td>
43                <td><img src="layout/tabs/tabs_lblue_over_lblue.gif"/></td>
44                <td class="badcLightBlue"><a class="menu"  href="http://badc.nerc.ac.uk/community/">Community</a></td>
45                <td><img src="layout/tabs/tabs_lblue_over_lblue.gif"/></td>
46                <td class="badcLightBlue"><a class="menu"  href="http://badc.nerc.ac.uk/help/">Help</a></td>
47                <td><img src="layout/tabs/tabs_lblue_over_white.gif"/></td>
[4880]48            </tr>
49        </table>
[4898]50        <table width="100%" height="25" border="0" cellspacing="0" 
[4880]51            cellpadding="0">
52            <tr>
53                <td class="badcDarkBlue">
54                    <img src="layout/tabs/topleft.jpg"/>
55                </td>
56                <td class="badcDarkBlue">
[4898]57                    <a class="menu"
58                        href="http://badc.nerc.ac.uk">About&nbsp;the&nbsp;BADC</a>
[4880]59                </td>
60                <td class="badcDarkBlue">
[4898]61                    <replace py:replace="showLoginStatus()"/>
[4880]62                </td>
63                <td class="badcDarkBlue">
[4898]64                    <a class="menu"
65                        href="http://badc.nerc.ac.uk/reg/user_register_info.html">
66                        New&nbsp;User&nbsp;Registration</a>
[4880]67                </td>
68                <td class="badcDarkBlue">
[4898]69                    <a class="menu"
70                        href="http://badc.nerc.ac.uk/data/dataset_index">
71                        Apply&nbsp;for&nbsp;datasets</a>
[4880]72                </td>
73                <td width="10" class="badcDarkBlue" align="right">
74                    <img src="layout/tabs/topright.jpg"/>
75                </td>
76            </tr>
77        </table>
78        <div py:replace="whiteGap()"/>       
79    </div>
80   
81    <div py:def="ncasLogoStrip()" class="badcDarkBlue">
82        <table width="100%" align="top" border="0" cellpadding="0" cellspacing="0">
83            <tr>
84                <td width="400"></td>
85                <td width="400" align="center">
86                    <a href="http://www.ncas.ac.uk/">
87                        <img src="layout/BADC-NCAS-logo-colour-small.jpg"
88                            alt="The new BADC logo. Click here to go to the NCAS website"
89                            align="top"/>
90                    </a>
91                </td>               
92            </tr>
93        </table>       
94
95        <table cellspacing="0" cellpadding="0" border="0" align="bottom" width="100%">
96            <tr align="left">
97                <td width="400">
98                </td>       
99            </tr>
100        </table>       
101    </div>
102   
103    <div py:def="footer()" id="footer">
104        <!-- white gap-->
105        <div py:replace="whiteGap()"/>               
106       
[4898]107        <table width="100%" height="25" border="0" cellspacing="0" 
[4880]108            cellpadding="0">
109            <tr>
[4898]110                <td bgcolor="#333399" valign="bottom"><img src="layout/tabs/bottomleft.jpg"/></td>
111                <td bgcolor="#333399"><a class="menu" href="http://badc.nerc.ac.uk/">Home</a>&nbsp;&nbsp;&nbsp;</td>
112                <td bgcolor="#333399"><a class="menu" href="http://badc.nerc.ac.uk/help/contact.html">Contact</a>&nbsp;&nbsp;&nbsp;</td>
113                <td bgcolor="#333399"><a class="menu" href="http://badc.nerc.ac.uk/conditions/badc_anon.html">Disclaimer</a>&nbsp;&nbsp;&nbsp;</td>
114                <td bgcolor="#333399"><div class="lastm">Last Modified:<script>document.write(document.lastModified);</script></div></td>
115                <td width="10" bgcolor="#333399" align="right" valign="bottom"><img src="layout/tabs/bottomright.jpg"/></td>
[4880]116            </tr>
117        </table>
118    </div>
119   
120    <div py:def="largeOldBADCLogo()" class="badcDarkBlue">
[4898]121        <table cellspacing="0" cellpadding="0" border="0" height="420">
122            <tr valign="bottom">
123                <td>
124                    <img src="layout/this_is_NOT_the_BADC_logo.jpg"
125                        style="border:0; vspace:0"
126                        width="400"
127                        alt="The Old BADC logo. Map of PV on the 850K isentropic surface over the southern hemisphere from the UK Met Office assimilation. 1200 UTC, 11th October 1992."/>
128                </td>
129            </tr>
[4880]130        </table>
131    </div>
[4898]132
133    <div py:def="showLoginStatus" id="showLoginStatus">
134        <a class="menu" py:if="getattr(c, 'loggedIn', False)" href="${g.ndg.security.server.sso.cfg.logoutURI}?r=${g.ndg.security.common.sso.state.b64encReturnToURL}">Log out</a>
135        <b py:if="getattr(c, 'loggedIn', False)==False">Login</b>
136    </div>
[4880]137</html>
Note: See TracBrowser for help on using the repository browser.