Annotation of OSAS/OSA_system/OSAS_Archiver.zpt.~1.1.~, 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
! 10: </div>
! 11: <div metal:fill-slot="nav_main">
! 12: <p>
! 13: <a class="map" href="XXX">
! 14: Online Archive at Foxridge
! 15: </a>
! 16: </p>
! 17: <p>
! 18: <a class="map" href="XXX">
! 19: Old Online Archive at Digifiles
! 20: </a>
! 21: </p>
! 22: </div>
! 23: <div metal:fill-slot="body">
! 24: <span tal:define="global fs python:here.getfilesystem2(here.REQUEST['path'])" />
! 25: <span tal:define="global tree python:here.tree(here.REQUEST['path'])">
! 26: <table border='1' width="100%">
! 27: <tr>
! 28: <td width="60%" valign="top">
! 29: <h2>
! 30: Path:
! 31: </h2>
! 32: <b tal:content="structure python: here.path_to_link_view(here.REQUEST['path'])">
! 33: LINKS
! 34: </b>
! 35: <br>
! 36: <i tal:condition="python:fs.isdigilib(here.REQUEST['path'])>0">
! 37: <br>
! 38:
! 39: <img src="images/Arrow_Right.gif">
! 40: <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'&files=2'">
! 41: show image folders
! 42: </a>
! 43: </i>
! 44: <i tal:condition="python:here.isdigilib2(here.REQUEST['path'])>0">
! 45: <br>
! 46:
! 47:
! 48: <img src="images/Arrow_Right.gif">
! 49: <a href="" target="_blank" tal:attributes="href python:'http://nausikaa2.mpiwg-berlin.mpg.de:8080/digitallibrary/digilib.jsp?'+here.changeName(here.REQUEST['path'])">
! 50: view images
! 51: </a>
! 52: </i>
! 53: <h2>
! 54: Subfolders:
! 55: </h2>
! 56: <span tal:repeat="item python:tree.getTree(here.REQUEST['path'])">
! 57: <span tal:condition="python:tree.isDirectory(here.REQUEST['path'],item)">
! 58: <p>
! 59:
! 60: <a href="" tal:attributes="href python:'toggle_view?path='+here.REQUEST['path']+'&file='+item">
! 61: <span tal:condition="python:tree.isToggle(here.REQUEST['path'],item)">
! 62: -
! 63: <img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
! 64: </span>
! 65: <span tal:condition="not:python:tree.isToggle(here.REQUEST['path'],item)">
! 66: +
! 67: <img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
! 68: </span>
! 69: </a>
! 70: <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item">
! 71: <span tal:replace="item" />
! 72: </a>
! 73: <span tal:condition="python:fs.isdigilib(here.REQUEST['path']+'/'+item)>0">
! 74: <img src="images/Arrow_Right.gif">
! 75: <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item+'&files=2'">
! 76: show image folders
! 77: </a>
! 78: </span>
! 79:
! 80: <img src="images/Arrow_Right.gif"><a tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item+'&files=1'">
! 81: show files for archiving</a>
! 82:
! 83: <span tal:condition="python:here.isdigilib2(here.REQUEST['path']+'/'+item)>0">
! 84: <img src="images/Arrow_Right.gif">
! 85: <a href="" target="_blank" tal:attributes="href python:'http://nausikaa2.mpiwg-berlin.mpg.de:8080/digitallibrary/digilib.jsp?'+here.changeName(here.REQUEST['path']+'/'+item)">
! 86: view images
! 87: </a>
! 88: </span>
! 89: <a tal:condition="python:here.hasMetafile(here.REQUEST['path']+'/'+item)" href="metadata" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'&meta='+here.REQUEST['path']+'/'+item">
! 90: <img border="0" src="images/Arrow_Right.gif">
! 91: <font size="-1">
! 92: (info)
! 93: </font>
! 94: </a>
! 95: </p>
! 96: <span tal:condition="python:tree.isToggle(here.REQUEST['path'],item)">
! 97: <span tal:repeat="sub python:tree.getTree(here.REQUEST['path']+'/'+item)">
! 98: <span tal:condition="python:tree.isDirectory(here.REQUEST['path']+'/'+item,sub)">
! 99: <p>
! 100: <i>
! 101:
! 102: <img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
! 103: <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item+'/'+sub" tal:content="sub">
! 104: BBB
! 105: </a>
! 106: <a tal:condition="python:here.hasMetafile(here.REQUEST['path']+'/'+item+'/'+sub)" href="metadata" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'&meta='+here.REQUEST['path']+'/'+item+'/'+sub">
! 107: <img border="0" src="images/Arrow_Right.gif">
! 108: <font size="-1">
! 109: (info)
! 110: </font>
! 111: </a>
! 112: </i>
! 113: </p>
! 114: </span>
! 115: </span>
! 116: </span>
! 117: </span>
! 118: </span>
! 119: <span tal:condition="python:here.REQUEST.has_key('files')">
! 120:
! 121: <span tal:define="global fs python:here.getfilesystem(here.REQUEST['path'])" />
! 122: <h3>
! 123: Folder for archiving (select the folders to be archived)
! 124: </h3>
! 125: <form action="archiveSelected" method="get">
! 126: <span tal:repeat="item python:fs.onlyIndex().keys()">
! 127: <h3>
! 128: <input type="checkbox" value="archive" name="path" tal:attributes="value python:item" />
! 129: <span tal:replace="item" />
! 130: </h3>
! 131: <p tal:condition="python: here.REQUEST.has_key('debug')">
! 132: (
! 133: <span tal:repeat="list python:fs.getNode()[item]">
! 134: <span tal:replace="list" />
! 135: ,
! 136: </span>
! 137: )
! 138: </p>
! 139: </span>
! 140: <input type="submit" />
! 141: </form>
! 142:
! 143: </span>
! 144: </td>
! 145: <td tal:condition="python:here.REQUEST.has_key('meta')" valign="top">
! 146: <div tal:define="global metafile python:here.getMetafile(here.REQUEST['meta'])"/>
! 147:
! 148: <div tal:condition="python:metafile=='NO_METADATA'">
! 149: <p>No metadata available for <span tal:replace="python:here.REQUEST['meta']"/></p>
! 150:
! 151: </div>
! 152: <div tal:condition="not:python:metafile=='NO_METADATA'"><div tal:replace="structure metafile"/></div>
! 153:
! 154:
! 155: </td>
! 156: <td tal:condition="not:python:here.REQUEST.has_key('meta')" valign="top" tal:define="global metafile python:here.getMetafile(here.REQUEST['path'])">
! 157: <div tal:condition="python:metafile=='NO_METADATA'">
! 158: <p>No metadata available for <span tal:replace="python:here.REQUEST['path']"/></p>
! 159:
! 160: </div>
! 161: <div tal:condition="not:python:metafile=='NO_METADATA'"><div tal:replace="structure metafile"/></div>
! 162: </td>
! 163:
! 164: </tr>
! 165: </table>
! 166: </span>
! 167: </div>
! 168: </body>
! 169: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>