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

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

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