File:  [Repository] / OSAS / OSA_system / Attic / OSAS_StoreFiles.zpt
Revision 1.7: download - view: text, annotated - select for diffs - revision graph
Wed Oct 8 17:37:06 2003 UTC (20 years, 8 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
Added readContexts

<html metal:use-macro="here/main_template/macros/page">
  <head>
    <title metal:fill-slot="title">
      MPIWG - Online
      </title>
    </head>
  <body>
    <div metal:fill-slot="nav_title">
      Online Storage - Add Source
      </div>
    <div metal:fill-slot="nav_main">
      <p>
	<a class="map" href="XXX">
	  Online Archive at Foxridge</a>
	</p>
      <p>
	<a class="map" href="XXX">
	  Old Online Archive at Digifiles</a>
	</p>
      </div>
    <div metal:fill-slot="body">
      <span tal:define="global fs python:here.getfilesystem2(here.REQUEST['path'])" />
      <span tal:define="global tree python:here.tree(here.REQUEST['path'])">
	<table border='1' width="100%">
	  <tr width="60%">
	    <td valign="top">
	      <b tal:content="structure python: here.path_to_link_store(here.REQUEST['path'])" />
	      <div tal:condition="python:here.isFolder(here.REQUEST['path'])" tal:omit-tag=""> 
		<br>
		<i>&nbsp;&nbsp;&nbsp; 
		  <img src="images/Arrow_Right.gif"><a href="add" tal:attributes="href python:here.REQUEST['URL1']+'/standardUpload?path='+here.REQUEST['path']">
		    add a new document to this path
		    </a></i><br>
		<i>
		  &nbsp;&nbsp;&nbsp; 
		  <img src="images/Arrow_Right.gif">
		  <a href="add" tal:attributes="href python:'addFolderForm?path='+here.REQUEST['path']">
		    new subfolder
		    </a></i><br>
		</div>
	      <div tal:omit-tag="" tal:condition="python:here.isScannedDocument(here.REQUEST['path'])"><br>
		<i>&nbsp;&nbsp;&nbsp; 
		  <img src="images/Arrow_Right.gif"><a href="add" tal:attributes="href python:'standardUpload/addImages?path='+here.REQUEST['path']">
		    add a new set of images 
		    </a></i><br>
		<i>
		  &nbsp;&nbsp;&nbsp; 
		  <img src="images/Arrow_Right.gif">
		  <a href="add" tal:attributes="href python:'standardTextadd/addText?path='+here.REQUEST['path']">
		    add a full text 
		    </a></i><br>
		<i>
		  &nbsp;&nbsp;&nbsp; 
		  <img src="images/Arrow_Right.gif">
		  <a href="add" tal:attributes="href python:'standardPresentationadd/addPresentation?path='+here.REQUEST['path']">
		    add presentation information
		    </a></i><br>
		<i>

		  &nbsp;&nbsp;&nbsp; 
		  <img src="images/Arrow_Right.gif">
		  <a href="add" tal:attributes="href python:'standardCombineTextImage/combineTextImage?path='+here.REQUEST['path']">
		    combine text, image and presentation 
		    </a></i><br>
		<i>
		  &nbsp;&nbsp;&nbsp; 
		  <img src="images/Arrow_Right.gif">
		  <a href="add" tal:attributes="href python:'standardContextDataAdd/addContextData?path='+here.REQUEST['path']">
		    add document to a collection
		    </a></i><br>
		
		</div>
	      <span tal:condition="python:fs.isdigilib(here.REQUEST['path'])&gt;0">
		&nbsp;&nbsp;&nbsp; <img src="images/Arrow_Right.gif">
		<a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'&amp;files=2'">
		  show files for viewing
		  </a>
		</span>
	      <span tal:condition="python:here.isdigilib2(here.REQUEST['path'])&gt;0">
		&nbsp;&nbsp;&nbsp;
		  <img src="images/Arrow_Right.gif">
		  <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>
		  
		    </a>
		</span>
	      <span tal:repeat="item python:tree.getTree(here.REQUEST['path'])">
		<span tal:condition="python:tree.isDirectory(here.REQUEST['path'],item)">
		  <p>
		    &nbsp;&nbsp;
		    <a href="" tal:attributes="href python:'toggle_view?path='+here.REQUEST['path']+'&amp;file='+item">
		      <span tal:condition="python:tree.isToggle(here.REQUEST['path'],item)">
			- 
			<img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
			</span>
		      <span tal:condition="not:python:tree.isToggle(here.REQUEST['path'],item)">
			+ 
			<img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
			</span>
		      </a>
		    <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item">
		      <span tal:replace="item" />
		      </a>
		    <span tal:condition="python:fs.isdigilib(here.REQUEST['path']+'/'+item)&gt;0">
		      <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item+'&amp;files=2'">
			show files for viewing
			</a>
		      </span>
		    <span tal:condition="python:here.isdigilib2(here.REQUEST['path']+'/'+item)&gt;0">
		      <a href="" target="_blank" tal:attributes="href python:'http://nausikaa2.mpiwg-berlin.mpg.de:8080/digitallibrary/digilib.jsp?'+here.changeName(here.REQUEST['path']+'/'+item)">
			<img src="images/Arrow_Right.gif" border="0">view images
			</a>
		      </span>
		    <span tal:condition="python:here.isFullText(here.REQUEST['path'],item)&gt;0">
		      <a href="" target="_blank" tal:attributes="href python:'http://nausikaa2.mpiwg-berlin.mpg.de:8080/digitallibrary/digilib.jsp?'+here.changeName(here.REQUEST['path']+'/'+item)">
			<img src="images/Arrow_Right.gif" border="0">FULL TEXT
			</a>
		      </span>
		    <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">
		      <img border="0" src="images/Arrow_Right.gif">
		      <font size="-1">
			(info)
			</font>
		      </a>
		    </p>
		  <span tal:condition="python:tree.isToggle(here.REQUEST['path'],item)">
		    <span tal:repeat="sub python:tree.getTree(here.REQUEST['path']+'/'+item)">
		      <span tal:condition="python:tree.isDirectory(here.REQUEST['path']+'/'+item,sub)">
			<p>
			  <i>
			    &nbsp;&nbsp;&nbsp;&nbsp; 
			    <img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
			    <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item+'/'+sub" tal:content="sub">
			      BBB
			      </a>
			    <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">
			      <img border="0" src="images/Arrow_Right.gif">
			      <font size="-1">
				(info)
				</font>
			      </a>
			    </i>
			  </p>
			</span>
		      </span>
		    </span>
		  </span>
		</span>
	      <span tal:condition="python:here.REQUEST.has_key('files')">
		<h3>
		  Click for viewing with digilib
		  </h3>
		<span tal:repeat="dir python:fs.digilib(here.REQUEST['path'])">
		  <a href="XXX" tal:attributes="href python:'http://nausikaa2.mpiwg-berlin.mpg.de:8080/digitallibrary/digilib.jsp?'+dir" target="_blank" tal:content="dir">
		    XXX
		    </a>
		  </span>
		</span>
	      <h3>Contexts</h3>
	      <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>     
	   </td>
	    <td tal:condition="python:here.REQUEST.has_key('meta')" valign="top">
	      <div tal:define="global metafile python:here.getMetafile(here.REQUEST['meta'])"/>
	      
	      <div tal:condition="python:metafile=='NO_METADATA'">
		<p>No metadata available for <span tal:replace="python:here.REQUEST['meta']"/></p>
		<p><a href="add_metafile" tal:attributes="href python:'add_metafile?path='+here.REQUEST['meta']">add</a></p>
		</div>
	      <div tal:condition="not:python:metafile=='NO_METADATA'">
		<div tal:replace="structure metafile"/>
		<p><a href="Edit" tal:attributes="href python:'EditIndex?path='+here.REQUEST['meta']">Edit</a></p>
		</div>
	      
	      
	      </td>
	    <td tal:condition="not:python:here.REQUEST.has_key('meta')" valign="top" tal:define="global metafile python:here.getMetafile(here.REQUEST['path'])">
	      <div tal:condition="python:metafile=='NO_METADATA'">
		<p>No metadata available for <span tal:replace="python:here.REQUEST['path']"/></p>
		<p><a href="add_metafile" tal:attributes="href python:'add_metafile?path='+here.REQUEST['path']">add</a></p>
		</div>
	      <div tal:condition="not:python:metafile=='NO_METADATA'">
		<div tal:replace="structure metafile"/>
		<p><a href="Edit" tal:attributes="href python:'EditIndex?path='+here.REQUEST['path']">Edit</a></p>
		</div>
	      </td>
	    </tr>
	  </table>
	</span>
      
      </div>
 
    </body>
  </html>

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