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

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>
1.2       dwinter    13:    <a class="map" href="XXX">
1.1       dwinter    14:      Online Archive at Foxridge</a>
                     15:    </p>
                     16:       <p>
1.2       dwinter    17:    <a class="map" href="XXX">
1.1       dwinter    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:          <b tal:content="structure python: here.path_to_link_store(here.REQUEST['path'])" />
                     28:          <div tal:condition="python:here.isFolder(here.REQUEST['path'])" tal:omit-tag=""> 
                     29:        <br>
                     30:        <i>&nbsp;&nbsp;&nbsp; 
1.3       dwinter    31:          <img src="images/Arrow_Right.gif"><a href="add" tal:attributes="href python:here.REQUEST['URL1']+'/standardUpload?path='+here.REQUEST['path']">
1.1       dwinter    32:            add a new document to this path
                     33:            </a></i><br>
                     34:        <i>
                     35:          &nbsp;&nbsp;&nbsp; 
                     36:          <img src="images/Arrow_Right.gif">
1.2       dwinter    37:          <a href="add" tal:attributes="href python:'addFolderForm?path='+here.REQUEST['path']">
1.1       dwinter    38:            new subfolder
1.7     ! dwinter    39:            </a></i><br>
1.1       dwinter    40:        </div>
                     41:          <div tal:omit-tag="" tal:condition="python:here.isScannedDocument(here.REQUEST['path'])"><br>
                     42:        <i>&nbsp;&nbsp;&nbsp; 
1.3       dwinter    43:          <img src="images/Arrow_Right.gif"><a href="add" tal:attributes="href python:'standardUpload/addImages?path='+here.REQUEST['path']">
1.1       dwinter    44:            add a new set of images 
                     45:            </a></i><br>
                     46:        <i>
                     47:          &nbsp;&nbsp;&nbsp; 
                     48:          <img src="images/Arrow_Right.gif">
1.4       dwinter    49:          <a href="add" tal:attributes="href python:'standardTextadd/addText?path='+here.REQUEST['path']">
1.1       dwinter    50:            add a full text 
                     51:            </a></i><br>
                     52:        <i>
                     53:          &nbsp;&nbsp;&nbsp; 
                     54:          <img src="images/Arrow_Right.gif">
1.4       dwinter    55:          <a href="add" tal:attributes="href python:'standardPresentationadd/addPresentation?path='+here.REQUEST['path']">
1.1       dwinter    56:            add presentation information
                     57:            </a></i><br>
                     58:        <i>
                     59: 
                     60:          &nbsp;&nbsp;&nbsp; 
                     61:          <img src="images/Arrow_Right.gif">
1.4       dwinter    62:          <a href="add" tal:attributes="href python:'standardCombineTextImage/combineTextImage?path='+here.REQUEST['path']">
1.1       dwinter    63:            combine text, image and presentation 
                     64:            </a></i><br>
                     65:        <i>
                     66:          &nbsp;&nbsp;&nbsp; 
                     67:          <img src="images/Arrow_Right.gif">
1.6       dwinter    68:          <a href="add" tal:attributes="href python:'standardContextDataAdd/addContextData?path='+here.REQUEST['path']">
1.1       dwinter    69:            add document to a collection
                     70:            </a></i><br>
                     71:        
                     72:        </div>
                     73:          <span tal:condition="python:fs.isdigilib(here.REQUEST['path'])&gt;0">
                     74:        &nbsp;&nbsp;&nbsp; <img src="images/Arrow_Right.gif">
1.2       dwinter    75:        <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'&amp;files=2'">
1.1       dwinter    76:          show files for viewing
                     77:          </a>
                     78:        </span>
                     79:          <span tal:condition="python:here.isdigilib2(here.REQUEST['path'])&gt;0">
1.7     ! dwinter    80:        &nbsp;&nbsp;&nbsp;
        !            81:          <img src="images/Arrow_Right.gif">
        !            82:          <a href="" target="_blank" tal:attributes="href python:'http://nausikaa2.mpiwg-berlin.mpg.de:8080/digitallibrary/digilib.jsp?'+here.changeName(here.REQUEST['path'])"><i>view images in this folder</i>
        !            83:          
        !            84:            </a>
1.1       dwinter    85:        </span>
                     86:          <span tal:repeat="item python:tree.getTree(here.REQUEST['path'])">
                     87:        <span tal:condition="python:tree.isDirectory(here.REQUEST['path'],item)">
                     88:          <p>
                     89:            &nbsp;&nbsp;
                     90:            <a href="" tal:attributes="href python:'toggle_view?path='+here.REQUEST['path']+'&amp;file='+item">
                     91:              <span tal:condition="python:tree.isToggle(here.REQUEST['path'],item)">
                     92:            - 
                     93:            <img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
                     94:            </span>
                     95:              <span tal:condition="not:python:tree.isToggle(here.REQUEST['path'],item)">
                     96:            + 
                     97:            <img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
                     98:            </span>
                     99:              </a>
1.2       dwinter   100:            <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item">
1.1       dwinter   101:              <span tal:replace="item" />
                    102:              </a>
                    103:            <span tal:condition="python:fs.isdigilib(here.REQUEST['path']+'/'+item)&gt;0">
1.2       dwinter   104:              <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item+'&amp;files=2'">
1.1       dwinter   105:            show files for viewing
                    106:            </a>
                    107:              </span>
                    108:            <span tal:condition="python:here.isdigilib2(here.REQUEST['path']+'/'+item)&gt;0">
                    109:              <a href="" target="_blank" tal:attributes="href python:'http://nausikaa2.mpiwg-berlin.mpg.de:8080/digitallibrary/digilib.jsp?'+here.changeName(here.REQUEST['path']+'/'+item)">
                    110:            <img src="images/Arrow_Right.gif" border="0">view images
                    111:            </a>
                    112:              </span>
                    113:            <span tal:condition="python:here.isFullText(here.REQUEST['path'],item)&gt;0">
                    114:              <a href="" target="_blank" tal:attributes="href python:'http://nausikaa2.mpiwg-berlin.mpg.de:8080/digitallibrary/digilib.jsp?'+here.changeName(here.REQUEST['path']+'/'+item)">
                    115:            <img src="images/Arrow_Right.gif" border="0">FULL TEXT
                    116:            </a>
                    117:              </span>
1.2       dwinter   118:            <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">
1.1       dwinter   119:              <img border="0" src="images/Arrow_Right.gif">
                    120:              <font size="-1">
                    121:            (info)
                    122:            </font>
                    123:              </a>
                    124:            </p>
                    125:          <span tal:condition="python:tree.isToggle(here.REQUEST['path'],item)">
                    126:            <span tal:repeat="sub python:tree.getTree(here.REQUEST['path']+'/'+item)">
                    127:              <span tal:condition="python:tree.isDirectory(here.REQUEST['path']+'/'+item,sub)">
                    128:            <p>
                    129:              <i>
                    130:                &nbsp;&nbsp;&nbsp;&nbsp; 
                    131:                <img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
1.2       dwinter   132:                <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item+'/'+sub" tal:content="sub">
1.1       dwinter   133:                  BBB
                    134:                  </a>
1.2       dwinter   135:                <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">
1.1       dwinter   136:                  <img border="0" src="images/Arrow_Right.gif">
                    137:                  <font size="-1">
                    138:                (info)
                    139:                </font>
                    140:                  </a>
                    141:                </i>
                    142:              </p>
                    143:            </span>
                    144:              </span>
                    145:            </span>
                    146:          </span>
                    147:        </span>
                    148:          <span tal:condition="python:here.REQUEST.has_key('files')">
                    149:        <h3>
                    150:          Click for viewing with digilib
                    151:          </h3>
                    152:        <span tal:repeat="dir python:fs.digilib(here.REQUEST['path'])">
                    153:          <a href="XXX" tal:attributes="href python:'http://nausikaa2.mpiwg-berlin.mpg.de:8080/digitallibrary/digilib.jsp?'+dir" target="_blank" tal:content="dir">
                    154:            XXX
                    155:            </a>
                    156:          </span>
                    157:        </span>
1.7     ! dwinter   158:          <h3>Contexts</h3>
        !           159:          <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>     
        !           160:       </td>
1.1       dwinter   161:        <td tal:condition="python:here.REQUEST.has_key('meta')" valign="top">
                    162:          <div tal:define="global metafile python:here.getMetafile(here.REQUEST['meta'])"/>
                    163:          
                    164:          <div tal:condition="python:metafile=='NO_METADATA'">
                    165:        <p>No metadata available for <span tal:replace="python:here.REQUEST['meta']"/></p>
                    166:        <p><a href="add_metafile" tal:attributes="href python:'add_metafile?path='+here.REQUEST['meta']">add</a></p>
                    167:        </div>
                    168:          <div tal:condition="not:python:metafile=='NO_METADATA'">
                    169:        <div tal:replace="structure metafile"/>
                    170:        <p><a href="Edit" tal:attributes="href python:'EditIndex?path='+here.REQUEST['meta']">Edit</a></p>
                    171:        </div>
                    172:          
                    173:          
                    174:          </td>
                    175:        <td tal:condition="not:python:here.REQUEST.has_key('meta')" valign="top" tal:define="global metafile python:here.getMetafile(here.REQUEST['path'])">
                    176:          <div tal:condition="python:metafile=='NO_METADATA'">
                    177:        <p>No metadata available for <span tal:replace="python:here.REQUEST['path']"/></p>
                    178:        <p><a href="add_metafile" tal:attributes="href python:'add_metafile?path='+here.REQUEST['path']">add</a></p>
                    179:        </div>
                    180:          <div tal:condition="not:python:metafile=='NO_METADATA'">
                    181:        <div tal:replace="structure metafile"/>
                    182:        <p><a href="Edit" tal:attributes="href python:'EditIndex?path='+here.REQUEST['path']">Edit</a></p>
                    183:        </div>
                    184:          </td>
                    185:        </tr>
                    186:      </table>
                    187:    </span>
                    188:       
                    189:       </div>
1.7     ! dwinter   190:  
1.1       dwinter   191:     </body>
                    192:   </html>

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