Annotation of OSAS/OSA_system/zpt/OSAS_StoreFiles.zpt, revision 1.4

1.1       dwinter     1: <html metal:use-macro="here/main_template/macros/page">
                      2:   <head>
                      3:     <title metal:fill-slot="title">
                      4:       MPIWG - Online
                      5:       </title>
                      6:     </head>
                      7:   <body>
                      8:     <div metal:fill-slot="nav_title">
                      9:       Online Storage - Add Source
                     10:       </div>
                     11:     <div metal:fill-slot="nav_main">
                     12:       <p>
                     13:    <a class="map" href="XXX">
                     14:      Online Archive at Foxridge</a>
                     15:    </p>
                     16:       <p>
                     17:    <a class="map" href="XXX">
                     18:      Old Online Archive at Digifiles</a>
                     19:    </p>
                     20:       </div>
                     21:     <div metal:fill-slot="body">
                     22:       <span tal:define="global fs python:here.getfilesystem2(here.REQUEST['path'])" />
                     23:       <span tal:define="global tree python:here.tree(here.REQUEST['path'])">
                     24:    <table border='1' width="100%">
                     25:      <tr width="60%">
                     26:        <td valign="top">
                     27:        
                     28:          <b tal:content="structure python: here.path_to_link_store(here.REQUEST['path'])" />
                     29:          <div tal:condition="python:here.isFolder(here.REQUEST['path'])" tal:omit-tag=""> 
                     30:        <br>
                     31:        <i>&nbsp;&nbsp;&nbsp; 
                     32:          <img src="images/Arrow_Right.gif"><a href="add" tal:attributes="href python:here.REQUEST['URL1']+'/standardUpload?path='+here.REQUEST['path']">
                     33:            add a new document to this path
                     34:            </a></i><br>
                     35:        <i>
                     36:          &nbsp;&nbsp;&nbsp; 
                     37:          <img src="images/Arrow_Right.gif">
                     38:          <a href="add" tal:attributes="href python:'addFolderForm?path='+here.REQUEST['path']">
                     39:            new subfolder
                     40:            </a></i><br>
1.4     ! dwinter    41:        <i>
        !            42:          &nbsp;&nbsp;&nbsp; 
        !            43:          <img src="images/Arrow_Right.gif">
        !            44:          <a href="add" tal:attributes="href python:'changeTemplatesForm?path='+here.REQUEST['path']">
        !            45:            Change the templates for all documents in this folder and its subfolder
        !            46:            </a></i><br>
        !            47: 
1.1       dwinter    48:        </div>
                     49:          <div tal:omit-tag="" tal:condition="python:here.isScannedDocument(here.REQUEST['path'])"><br>
                     50:        <i>&nbsp;&nbsp;&nbsp; 
                     51:          <img src="images/Arrow_Right.gif"><a href="add" tal:attributes="href python:'standardUpload/addImages?path='+here.REQUEST['path']">
                     52:            add a new set of images 
                     53:            </a></i><br>
                     54:        <i>
                     55:          &nbsp;&nbsp;&nbsp; 
                     56:          <img src="images/Arrow_Right.gif">
                     57:          <a href="add" tal:attributes="href python:'standardTextadd/addText?path='+here.REQUEST['path']">
                     58:            add a full text 
                     59:            </a></i><br>
                     60:        <i>
                     61:          &nbsp;&nbsp;&nbsp; 
                     62:          <img src="images/Arrow_Right.gif">
                     63:          <a href="add" tal:attributes="href python:'standardPresentationadd/addPresentation?path='+here.REQUEST['path']">
                     64:            add presentation information
                     65:            </a></i><br>
                     66:        <i>
                     67: 
                     68:          &nbsp;&nbsp;&nbsp; 
                     69:          <img src="images/Arrow_Right.gif">
                     70:          <a href="add" tal:attributes="href python:'standardCombineTextImage/combineTextImage?path='+here.REQUEST['path']">
                     71:            combine text, image and presentation 
                     72:            </a></i><br>
                     73:        <i>
                     74:          &nbsp;&nbsp;&nbsp; 
                     75:          <img src="images/Arrow_Right.gif">
                     76:          <a href="add" tal:attributes="href python:'standardContextDataAdd/addContextData?path='+here.REQUEST['path']">
                     77:            add document to a collection
                     78:            </a></i><br>
                     79:        
                     80:        </div>
                     81:         <span tal:condition="python:fs.isdigilib(here.REQUEST['path'])&gt;0">
                     82:        &nbsp;&nbsp;&nbsp; <img src="images/Arrow_Right.gif">
                     83:        <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'&amp;files=2'">
                     84:          <i>show files for viewing</i>
                     85:          </a>
                     86:        </span>
                     87:        <span tal:condition="python:fs.isdigilib(here.REQUEST['path'])&gt;0">
                     88:        &nbsp;&nbsp;&nbsp; <img src="images/Arrow_Right.gif">
                     89:        <a href="" tal:attributes="href python:here.REQUEST['URL1']+'/rescaleThumbs?path='+here.REQUEST['path']">
                     90:          <i>Rescale all Thumbs</i>
                     91:          </a>
                     92:        </span>
                     93: 
                     94:         <span tal:condition="python:here.isdigilib2(here.REQUEST['path'])&gt;0">
                     95:        &nbsp;&nbsp;&nbsp;
                     96:          <img src="images/Arrow_Right.gif">
1.2       dwinter    97: 
                     98:          <a href="" target="_blank" tal:attributes="href python:container.DigILibURL+'?'+here.changeName(here.REQUEST['path'])"><i>view images in this folder</i>
                     99:         
1.1       dwinter   100:          
                    101:            </a>
                    102:        </span>
                    103:          <span tal:repeat="item python:tree.getTree(here.REQUEST['path'])">
                    104:        <span tal:condition="python:tree.isDirectory(here.REQUEST['path'],item)">
                    105:          <p>
                    106:            &nbsp;&nbsp;
                    107:            <a href="" tal:attributes="href python:'toggle_view?path='+here.REQUEST['path']+'&amp;file='+item">
                    108:              <span tal:condition="python:tree.isToggle(here.REQUEST['path'],item)">
                    109:            - 
                    110:            <img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
                    111:            </span>
                    112:              <span tal:condition="not:python:tree.isToggle(here.REQUEST['path'],item)">
                    113:            + 
                    114:            <img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
                    115:            </span>
                    116:              </a>
                    117:            <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item">
                    118:              <span tal:replace="item" />
                    119:              </a>
                    120:            <span tal:condition="python:fs.isdigilib(here.REQUEST['path']+'/'+item)&gt;0">
                    121:              <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item+'&amp;files=2'">
                    122:            show files for viewing
                    123:            </a>
                    124:              </span>
1.2       dwinter   125: 
1.1       dwinter   126:            <span tal:condition="python:here.isdigilib2(here.REQUEST['path']+'/'+item)&gt;0">
1.2       dwinter   127:            <a href="" target="_blank" tal:attributes="href python:container.DigILibURL+'?'+here.changeName(here.REQUEST['path']+'/'+item)">
                    128: 
1.1       dwinter   129:            <img src="images/Arrow_Right.gif" border="0">view images
                    130:            </a>
                    131:              </span>
                    132:            <span tal:condition="python:here.isFullText(here.REQUEST['path'],item)&gt;0">
1.3       dwinter   133:              <a href="" target="_blank" tal:attributes="href python:here.REQUEST['BASE0']+'/'+here.REQUEST['path']+'/'+item">
                    134:            <img src="images/Arrow_Right.gif" border="0">full text
                    135:              </a>
                    136:            </span>
                    137:            <span tal:condition="python:here.isPresentation(here.REQUEST['path'],item)&gt;0">
                    138:              <a href="" target="_blank" tal:attributes="href python:here.REQUEST['BASE0']+here.REQUEST['path']+'/'+item+'/info.xml'">
                    139:            <img src="images/Arrow_Right.gif" border="0">presentation
                    140:              </a>
                    141:            </span>
                    142: 
1.1       dwinter   143:            <a tal:condition="python:here.hasMetafile(here.REQUEST['path']+'/'+item)" href="metadata" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'&amp;meta='+here.REQUEST['path']+'/'+item">
                    144:              <img border="0" src="images/Arrow_Right.gif">
                    145:              <font size="-1">
                    146:            (info)
                    147:            </font>
                    148:              </a>
                    149:            </p>
                    150:          <span tal:condition="python:tree.isToggle(here.REQUEST['path'],item)">
                    151:            <span tal:repeat="sub python:tree.getTree(here.REQUEST['path']+'/'+item)">
                    152:              <span tal:condition="python:tree.isDirectory(here.REQUEST['path']+'/'+item,sub)">
                    153:            <p>
                    154:              <i>
                    155:                &nbsp;&nbsp;&nbsp;&nbsp; 
                    156:                <img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
                    157:                <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item+'/'+sub" tal:content="sub">
                    158:                  BBB
                    159:                  </a>
                    160:                <a tal:condition="python:here.hasMetafile(here.REQUEST['path']+'/'+item+'/'+sub)" href="metadata" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'&amp;meta='+here.REQUEST['path']+'/'+item+'/'+sub">
                    161:                  <img border="0" src="images/Arrow_Right.gif">
                    162:                  <font size="-1">
                    163:                (info)
                    164:                </font>
                    165:                  </a>
                    166:                </i>
                    167:              </p>
                    168:            </span>
                    169:              </span>
                    170:            </span>
                    171:          </span>
                    172:        </span>
                    173: 
                    174:          <span tal:condition="python:here.REQUEST.has_key('files')">
                    175:        <h3>
                    176:          Click for viewing with digilib
                    177:          </h3>
                    178:        <span tal:repeat="dir python:fs.digilib(here.REQUEST['path'])">
1.2       dwinter   179: 
                    180:          <a href="XXX" tal:attributes="href python:container.DigILibURL+'?'+dir" target="_blank" tal:content="dir">
                    181:        
1.1       dwinter   182:            XXX
                    183:            </a>
                    184:          </span>
                    185:        </span>
                    186:          <h3>Contexts</h3>
                    187:          <p tal:repeat="item python:here.readContexts(here.REQUEST['path'])"><a href="link" tal:attributes="href python:item[0]" target="_blank" tal:content="python:item[1]">TEXT</a></p>    
                    188:       </td>
                    189:        <td tal:condition="python:here.REQUEST.has_key('meta')" valign="top">
                    190:          <div tal:define="global metafile python:here.getMetafile(here.REQUEST['meta'])"/>
                    191:          
                    192:          <div tal:condition="python:metafile=='NO_METADATA'">
                    193:        <p>No metadata available for <span tal:replace="python:here.REQUEST['meta']"/></p>
                    194:        <p><a href="add_metafile" tal:attributes="href python:'add_metafile?path='+here.REQUEST['meta']">add</a></p>
                    195:        </div>
                    196:          <div tal:condition="not:python:metafile=='NO_METADATA'">
                    197:        <div tal:replace="structure metafile"/>
                    198:        <p><a href="Edit" tal:attributes="href python:'EditIndex?path='+here.REQUEST['meta']">Edit</a></p>
                    199:        </div>
                    200:          
                    201:          
                    202:          </td>
                    203:        <td tal:condition="not:python:here.REQUEST.has_key('meta')" valign="top" tal:define="global metafile python:here.getMetafile(here.REQUEST['path'])">
                    204:          <div tal:condition="python:metafile=='NO_METADATA'">
                    205:        <p>No metadata available for <span tal:replace="python:here.REQUEST['path']"/></p>
                    206:        <p><a href="add_metafile" tal:attributes="href python:'add_metafile?path='+here.REQUEST['path']">add</a></p>
                    207:        </div>
                    208:          <div tal:condition="not:python:metafile=='NO_METADATA'">
                    209:        <div tal:replace="structure metafile"/>
                    210:        <p><a href="Edit" tal:attributes="href python:'EditIndex?path='+here.REQUEST['path']">Edit</a></p>
                    211:        </div>
                    212:          </td>
                    213:        </tr>
                    214:      </table>
                    215:    </span>
                    216:       
                    217:       </div>
                    218:  
                    219:     </body>
                    220:   </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>