Changeset 2676 for TI05-delivery


Ignore:
Timestamp:
29/06/07 22:40:39 (12 years ago)
Author:
lawrence
Message:

A bit more for DIF ...

Location:
TI05-delivery/ows_framework/trunk/ows_server/ows_server
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/login.py

    r2675 r2676  
    2424        # and now go back to whence we had come 
    2525        if c.returnTo!='': 
    26             try: 
    27                 h.redirect_to(c.returnTo) 
    28             except: 
    29                 pass 
    30         c.xml='<p> Login Successful </p>' 
    31         return render_response(content) 
     26            h.redirect_to(c.returnTo) 
     27        else: 
     28            c.xml='<p> Login Successful </p>' 
     29            return render_response('content') 
    3230             
    3331    def wayf(self): 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/public/layout/ndg2.css

    r2675 r2676  
    8080 
    8181/* StubB */ 
    82 .headingblock{background-color: #f0f0f0;border: 1px solid #3c78b5; margin:0px 40px 20px 30px; padding-top:5px;} 
     82.headingblock{background-color: #f0f0f0;border: 1px solid #3c78b5; margin:10px 60px 20px 50px; padding-top:5px;} 
    8383 
    8484.heading { 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/dif.kid

    r2675 r2676  
    2020                <div py:replace="ParameterList(c.doc.parameters)"/>  
    2121                <div py:replace="Coverage()"/> 
    22                 <div py:replace="Sensors()"/> 
    23                 <div py:replace="Sources()"/> 
     22                <div if="c.doc.sensors!=[]" py:replace="Keywords('Sensors',c.doc.sensors)"/> 
     23                <div if="c.doc.sources!=[]" py:replace="Keywords('Sources',c.doc.sources)"/> 
    2424                <div py:replace="Curator()"/> 
    2525                <div py:replace="Services()"/> 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/meta.kid

    r2675 r2676  
    4040     
    4141    <div py:def="Coverage()"/> 
    42     <div py:def="Sensors()"/> 
    43     <div py:def="Sources()"/> 
     42     
     43    <div py:def="Keywords(Name,listOf)"> 
     44         <table cellspacing="0" cellpadding="3" border="0" width="100%"><tbody> 
     45            <tr><td class="linehead"><span class="heading0"> $Name</span></td></tr> 
     46            <tr py:for="item in listOf"><td>$item</td></tr> 
     47        </tbody></table> 
     48    </div> 
     49     
    4450    <div py:def="Curator()"/> 
    4551     
Note: See TracChangeset for help on using the changeset viewer.