Ignore:
Timestamp:
02/04/08 15:22:45 (12 years ago)
Author:
pjkersha
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/sso/templates/ndg/security/wayf.kid

    r3658 r3724  
    1 <html py:extends="'ndgPage.kid'" xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"> 
    2     <head> 
    3     <replace py:replace="pagehead()"/> 
    4     </head> 
    5     <body> 
    6         <div py:replace="header()"/> 
    7         <div class="wayfContent" style="text-indent:5px">         
    8         <h4> Where are you from? </h4> 
    9         <p> You can login in at: 
    10         <?python 
    11         # Sort alphabetically 
    12         providerNames = c.providers.keys() 
    13         providerNames.sort() 
    14         ?> 
    15         <ul py:for="h in providerNames"> 
    16             <li> <a href="${c.providers[h]}?r=${c.b64encReturnTo}">${h}</a></li> 
    17         </ul></p> 
    18         <p>Before clicking on these links, please check that the links redirect to a site 
    19         you trust with your security credentials.</p> 
    20         <p> How can I tell?  For any of the above, following login you will be  
    21         redirected back to the URL: <a href="${c.returnTo}">${c.returnTo}</a></p> 
    22                 </div> 
    23         <div py:replace="footer()"/> 
    24     </body> 
    25      
    26         <div py:def="footer()" id="Footer"> 
    27         <center><table><tbody> 
    28             <tr> 
    29                 <td align="center" width="60%"> 
    30                     <table><tbody> 
    31                     <tr><td><span py:replace="linkimage(g.securityCfg.ndgLink,g.securityCfg.ndgImage,'NDG')"/></td> 
    32                     <td> This portal is a product of the <a href="http://ndg.nerc.ac.uk"> NERC DataGrid</a> 
    33                     Not all functionality is completely implemented, bugs and problems are expected </td> 
    34                     </tr> 
    35                     </tbody></table> 
    36                 </td> 
    37                 <td width="40%" align="center"> 
    38                     <div id="loginStatus"> 
    39                         <!--! now we choose one of the next two (logged in or not) --> 
    40                         <div py:if="'ndgSec' in session"><table><tbody><tr><td> User [${session['ndgSec']['u']}] logged in 
    41                         at [${session['ndgSec']['h']}] with roles [${session['ndgSec']['roles']}]</td><td> 
    42                         &nbsp;<span py:replace="logOut()"/></td></tr></tbody></table></div> 
    43                         <div py:if="'ndgSec' not in session"></div> 
    44                     </div> 
    45                 </td> 
    46                 <td><span py:replace="linkimage(g.securityCfg.stfcLink,g.securityCfg.stfcImage,'Hosted by the STFC CEDA')"/></td> 
    47             </tr> 
    48         </tbody></table></center> 
    49     </div> 
    50 </html> 
Note: See TracChangeset for help on using the changeset viewer.