File:  [Repository] / OSA_system2 / zpt / contextDataMain.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Tue Apr 26 17:18:10 2005 UTC (19 years ago) by dwinter
Branches: MAIN
CVS tags: HEAD
empty choice for adding to collection

<html metal:use-macro="here/main_template/macros/page">
  <body metal:fill-slot="body">
    <h2>Add a document to a collection</h2>
    <p>(<b>Bold face is required</b>,<i>Italics is optional</i>)</p>
    <form action="addContextData2">
      <h3>Select the collection or subcollection (required)</h3>
      
      <div tal:replace="structure python:here.XmlToTree(here.collection,getattr(here,'pwstr',''))"/>
      <h3>Which Elements to combine:</h3>
      <table>
      <tr>
	<td>Thumb</td>
	<td>Streamingfile (hires)</td>
	<td>Rawfile</td>
	<td>Streamingfile (lowres)</td>
      </tr>
      <tr>
	<td>
	    <select name="thumb">
	      <option value=""/>
	      <option tal:repeat="image python:here.REQUEST.SESSION['images']" tal:attributes="value image" tal:content="image"/>
	    </select>
	 </td>
	<td>
	    <select name="streamingfile">
	      <option value=""/>
	      <option tal:repeat="movie python:here.REQUEST.SESSION['movies']" tal:attributes="value movie" tal:content="movie"/>
	    </select>
	 </td>
	<td>
	    <select name="rawfile">
	      <option value=""/>
	      <option tal:repeat="movie python:here.REQUEST.SESSION['movies']" tal:attributes="value movie" tal:content="movie"/>
	    </select>
	 </td>
    	<td>
	    <select name="lowresfile">
	      <option value=""/>
	      <option tal:repeat="movie python:here.REQUEST.SESSION['movies']" tal:attributes="value movie" tal:content="movie"/>
	    </select>
	 </td>
      </tr>

      </table>
    


      <input type="hidden" name="path" tal:attributes="value python:here.REQUEST['path']"/>
	    
      <h3>Additional Information</h3>
      <table>
	<tr><td><i> Label: </i></td><td><input type="text" name="label" size="100"></td></tr>
	<tr><td><i> Description:</i></td><td><textarea name="description" cols="80" rows="5"></textarea></td></tr>
	<tr><td><i> Content-Type: </i></td><td><input type="text" name="content_type"></td></tr>
	<tr><td><i> Responsible: </i></td><td><input type="text" name="responsible"></td></tr>
	<tr><td><i> Weight: </i></td><td><input type="text" name="weight"></td></tr>
      </table>

      <h3> Credits:</h3><br>
      <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>
            <input type="submit" value="submit"/>
      </form>
   </body>
  </html>

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