Annotation of OSAS/OSA_system/OSAS_Archiver.zpt, revision 1.4
1.4 ! dwinter 1: <<html metal:use-macro="here/main_template/macros/page">
1.1 dwinter 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>
1.3 dwinter 36: <i tal:condition="python:fs.isdigilib(here.REQUEST['path'])>0">
1.1 dwinter 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>
1.3 dwinter 44: <i tal:condition="python:here.isdigilib2(here.REQUEST['path'])>0">
1.1 dwinter 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>
1.3 dwinter 73: <span tal:condition="python:fs.isdigilib(here.REQUEST['path']+'/'+item)>0">
1.1 dwinter 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>
1.4 ! dwinter 82:
! 83: <!-- <div tal:condition="python:here.checkIfUnarchive(here.REQUEST['path'])">
! 84: <img src="images/Arrow_Right.gif"><a tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']">Unarchive</a>
! 85: </div>-->
1.1 dwinter 86:
1.3 dwinter 87: <span tal:condition="python:here.isdigilib2(here.REQUEST['path']+'/'+item)>0">
1.1 dwinter 88: <img src="images/Arrow_Right.gif">
89: <a href="" target="_blank" tal:attributes="href python:'http://nausikaa2.mpiwg-berlin.mpg.de:8080/digitallibrary/digilib.jsp?'+here.changeName(here.REQUEST['path']+'/'+item)">
90: view images
91: </a>
92: </span>
93: <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">
94: <img border="0" src="images/Arrow_Right.gif">
95: <font size="-1">
96: (info)
97: </font>
98: </a>
99: </p>
100: <span tal:condition="python:tree.isToggle(here.REQUEST['path'],item)">
101: <span tal:repeat="sub python:tree.getTree(here.REQUEST['path']+'/'+item)">
102: <span tal:condition="python:tree.isDirectory(here.REQUEST['path']+'/'+item,sub)">
103: <p>
104: <i>
105:
106: <img src="/misc_/OFSP/Folder_icon.gif" border='0' alt="D">
107: <a href="" tal:attributes="href python:here.REQUEST['URL']+'?path='+here.REQUEST['path']+'/'+item+'/'+sub" tal:content="sub">
108: BBB
109: </a>
110: <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">
111: <img border="0" src="images/Arrow_Right.gif">
112: <font size="-1">
113: (info)
114: </font>
115: </a>
116: </i>
117: </p>
118: </span>
119: </span>
120: </span>
121: </span>
122: </span>
123: <span tal:condition="python:here.REQUEST.has_key('files')">
124:
125: <span tal:define="global fs python:here.getfilesystem(here.REQUEST['path'])" />
126: <h3>
127: Folder for archiving (select the folders to be archived)
128: </h3>
129: <form action="archiveSelected" method="get">
130: <span tal:repeat="item python:fs.onlyIndex().keys()">
131: <h3>
132: <input type="checkbox" value="archive" name="path" tal:attributes="value python:item" />
133: <span tal:replace="item" />
134: </h3>
135: <p tal:condition="python: here.REQUEST.has_key('debug')">
136: (
137: <span tal:repeat="list python:fs.getNode()[item]">
138: <span tal:replace="list" />
139: ,
140: </span>
141: )
142: </p>
143: </span>
144: <input type="submit" />
145: </form>
146:
147: </span>
148: </td>
1.3 dwinter 149:
1.1 dwinter 150: <td tal:condition="python:here.REQUEST.has_key('meta')" valign="top">
151: <div tal:define="global metafile python:here.getMetafile(here.REQUEST['meta'])"/>
152:
153: <div tal:condition="python:metafile=='NO_METADATA'">
154: <p>No metadata available for <span tal:replace="python:here.REQUEST['meta']"/></p>
1.2 dwinter 155: <p><a href="add_metafile" tal:attributes="href python:'add_metafile?path='+here.REQUEST['meta']">add</a></p>
1.1 dwinter 156: </div>
157: <div tal:condition="not:python:metafile=='NO_METADATA'"><div tal:replace="structure metafile"/></div>
158:
159:
160: </td>
1.3 dwinter 161:
1.1 dwinter 162: <td tal:condition="not:python:here.REQUEST.has_key('meta')" valign="top" tal:define="global metafile python:here.getMetafile(here.REQUEST['path'])">
163: <div tal:condition="python:metafile=='NO_METADATA'">
164: <p>No metadata available for <span tal:replace="python:here.REQUEST['path']"/></p>
1.2 dwinter 165: <p><a href="add_metafile" tal:attributes="href python:'metadata/addAcquisition?path='+here.REQUEST['path']">add</a></p>
1.1 dwinter 166: </div>
167: <div tal:condition="not:python:metafile=='NO_METADATA'"><div tal:replace="structure metafile"/></div>
168: </td>
169:
170: </tr>
171: </table>
172: </span>
173: </div>
174: </body>
175: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>