Ignore:
Timestamp:
19/05/09 16:44:06 (11 years ago)
Author:
cbyrom
Message:

Improve look and feel of UI with tweaks to css + fix radio button
on search panel - set this explicitly as an input since htmlfill
doesn't handle the radio button defaults well + simplify template
logic for semantic search results + fix constraint summary string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/models/DiscoveryState.py

    r5306 r5314  
    8484        if c: 
    8585            c += ', ' 
     86 
    8687        c += 'Bounding box: ' 
    8788        if bbox is None or bbox==['90.0','-180.0','180.0','-90.0']: 
     
    9192            c+='%s latitude %s to %sN and longitude %s to %sE' \ 
    9293                %(overlaps,bbox[3],bbox[0],bbox[1],bbox[2]) 
    93         if self.values['scope']:  
     94                 
     95        if self.values['scope']: 
     96            if c: 
     97                c += ', '  
    9498            c += 'Scope: %s'%self.values['scope'] 
    9599        if self.values['textTarget']: 
     100            if c: 
     101                c += ', '  
    96102            c += 'Target: %s'%self.values['textTarget'] 
    97103        return c 
Note: See TracChangeset for help on using the changeset viewer.