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