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

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">
                     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">
1.2     ! dwinter    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">
1.1       dwinter    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>