Annotation of OSA_system2/zpt/contextDataMain.zpt, revision 1.3

1.1       dwinter     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>
1.2       dwinter    13:    <td>Streamingfile (hires)</td>
1.1       dwinter    14:    <td>Rawfile</td>
1.2       dwinter    15:    <td>Streamingfile (lowres)</td>
1.1       dwinter    16:       </tr>
                     17:       <tr>
                     18:    <td>
                     19:        <select name="thumb">
1.3     ! dwinter    20:          <option value=""/>
1.1       dwinter    21:          <option tal:repeat="image python:here.REQUEST.SESSION['images']" tal:attributes="value image" tal:content="image"/>
                     22:        </select>
                     23:     </td>
                     24:    <td>
                     25:        <select name="streamingfile">
1.3     ! dwinter    26:          <option value=""/>
1.1       dwinter    27:          <option tal:repeat="movie python:here.REQUEST.SESSION['movies']" tal:attributes="value movie" tal:content="movie"/>
                     28:        </select>
                     29:     </td>
                     30:    <td>
                     31:        <select name="rawfile">
1.3     ! dwinter    32:          <option value=""/>
1.2       dwinter    33:          <option tal:repeat="movie python:here.REQUEST.SESSION['movies']" tal:attributes="value movie" tal:content="movie"/>
                     34:        </select>
                     35:     </td>
                     36:        <td>
                     37:        <select name="lowresfile">
1.3     ! dwinter    38:          <option value=""/>
1.1       dwinter    39:          <option tal:repeat="movie python:here.REQUEST.SESSION['movies']" tal:attributes="value movie" tal:content="movie"/>
                     40:        </select>
                     41:     </td>
                     42:       </tr>
                     43: 
                     44:       </table>
                     45:     
                     46: 
                     47: 
                     48:       <input type="hidden" name="path" tal:attributes="value python:here.REQUEST['path']"/>
                     49:        
                     50:       <h3>Additional Information</h3>
                     51:       <table>
                     52:    <tr><td><i> Label: </i></td><td><input type="text" name="label" size="100"></td></tr>
                     53:    <tr><td><i> Description:</i></td><td><textarea name="description" cols="80" rows="5"></textarea></td></tr>
                     54:    <tr><td><i> Content-Type: </i></td><td><input type="text" name="content_type"></td></tr>
                     55:    <tr><td><i> Responsible: </i></td><td><input type="text" name="responsible"></td></tr>
                     56:    <tr><td><i> Weight: </i></td><td><input type="text" name="weight"></td></tr>
                     57:       </table>
                     58: 
                     59:       <h3> Credits:</h3><br>
                     60:       <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>
                     61:             <input type="submit" value="submit"/>
                     62:       </form>
                     63:    </body>
                     64:   </html>

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