File:  [Repository] / OSA_system2 / zpt / contextDataMain.zpt
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Wed Apr 13 16:29:54 2005 UTC (19 years, 2 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
lowres added

    1: <html metal:use-macro="here/main_template/macros/page">
    2:   <body metal:fill-slot="body">
    3:     <h2>Add a document to a collection</h2>
    4:     <p>(<b>Bold face is required</b>,<i>Italics is optional</i>)</p>
    5:     <form action="addContextData2">
    6:       <h3>Select the collection or subcollection (required)</h3>
    7:       
    8:       <div tal:replace="structure python:here.XmlToTree(here.collection,getattr(here,'pwstr',''))"/>
    9:       <h3>Which Elements to combine:</h3>
   10:       <table>
   11:       <tr>
   12: 	<td>Thumb</td>
   13: 	<td>Streamingfile (hires)</td>
   14: 	<td>Rawfile</td>
   15: 	<td>Streamingfile (lowres)</td>
   16:       </tr>
   17:       <tr>
   18: 	<td>
   19: 	    <select name="thumb">
   20: 	      <option tal:repeat="image python:here.REQUEST.SESSION['images']" tal:attributes="value image" tal:content="image"/>
   21: 	    </select>
   22: 	 </td>
   23: 	<td>
   24: 	    <select name="streamingfile">
   25: 	      <option tal:repeat="movie python:here.REQUEST.SESSION['movies']" tal:attributes="value movie" tal:content="movie"/>
   26: 	    </select>
   27: 	 </td>
   28: 	<td>
   29: 	    <select name="rawfile">
   30: 	      <option tal:repeat="movie python:here.REQUEST.SESSION['movies']" tal:attributes="value movie" tal:content="movie"/>
   31: 	    </select>
   32: 	 </td>
   33:     	<td>
   34: 	    <select name="lowresfile">
   35: 	      <option tal:repeat="movie python:here.REQUEST.SESSION['movies']" tal:attributes="value movie" tal:content="movie"/>
   36: 	    </select>
   37: 	 </td>
   38:       </tr>
   39: 
   40:       </table>
   41:     
   42: 
   43: 
   44:       <input type="hidden" name="path" tal:attributes="value python:here.REQUEST['path']"/>
   45: 	    
   46:       <h3>Additional Information</h3>
   47:       <table>
   48: 	<tr><td><i> Label: </i></td><td><input type="text" name="label" size="100"></td></tr>
   49: 	<tr><td><i> Description:</i></td><td><textarea name="description" cols="80" rows="5"></textarea></td></tr>
   50: 	<tr><td><i> Content-Type: </i></td><td><input type="text" name="content_type"></td></tr>
   51: 	<tr><td><i> Responsible: </i></td><td><input type="text" name="responsible"></td></tr>
   52: 	<tr><td><i> Weight: </i></td><td><input type="text" name="weight"></td></tr>
   53:       </table>
   54: 
   55:       <h3> Credits:</h3><br>
   56:       <div tal:omit-tag="" tal:repeat="item python:here.getPartners(here.collection)"> <input type="checkbox" name="credits"  tal:attributes="value python:item[0]"><tal:block tal:replace="python:item[1]"/><br></div>
   57:             <input type="submit" value="submit"/>
   58:       </form>
   59:    </body>
   60:   </html>

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