Changeset 525 for CMIP6dreqbuild


Ignore:
Timestamp:
12/12/15 15:06:35 (6 years ago)
Author:
mjuckes
Message:

Added option of annex to vocabFrameworkSchema

Location:
CMIP6dreqbuild/trunk/src/framework
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreqbuild/trunk/src/framework/dreqPy/dreq.py

    r524 r525  
    691691   CMIP6 Data Request 
    692692</div> 
    693 <div id="nav"></div> 
     693<div id="nav"><div><a href="%s" title="Home">H</a></div></div> 
    694694 
    695695<div id="section"> 
     
    734734      bdy = string.join( i.__html__( ghis=self.getHtmlItemStyle ), '\n' ) 
    735735      oo = open( '%s/u/%s.html' % (odir,i.uid), 'w' ) 
    736       oo.write( self.pageTmpl % (ttl, jsh, '../', bdy ) ) 
     736      oo.write( self.pageTmpl % (ttl, jsh, '../', '../index.html', bdy ) ) 
    737737      oo.close() 
    738738 
     
    768768      bdy = string.join( msg, '\n' ) 
    769769      oo = open( '%s/index/%s.html' % (odir,k), 'w' ) 
    770       oo.write( self.pageTmpl % (ttl, '', '../', bdy ) ) 
     770      oo.write( self.pageTmpl % (ttl, '', '../', '../index.html', bdy ) ) 
    771771      oo.close() 
    772772    msg0.append( '</ul>' ) 
    773773    bdy = string.join( msg0, '\n' ) 
    774774    oo = open( '%s/index.html' % odir, 'w' ) 
    775     oo.write( self.pageTmpl % (ttl0, '', '', bdy ) ) 
     775    oo.write( self.pageTmpl % (ttl0, '', '', 'index.html', bdy ) ) 
    776776    oo.close() 
    777777     
  • CMIP6dreqbuild/trunk/src/framework/makeTables.py

    r524 r525  
    224224      bdy.append( '</ul></body></html>\n' ) 
    225225      oo = open( '%s/%s.html' % (self.odir,v.label), 'w' ) 
    226       oo.write( dq.pageTmpl % ( title, '', '../', string.join( bdy, '\n' ) ) ) 
     226      oo.write( dq.pageTmpl % ( title, '', '../', '../index.html', string.join( bdy, '\n' ) ) ) 
    227227      oo.close() 
    228228      self.anno[v.label] = '<a href="../t/%s.html">Usage</a>' % v.label 
Note: See TracChangeset for help on using the changeset viewer.