File:  [Repository] / ZSQLExtend / zpt / changeZSQLExtendForm.zpt
Revision 1.6: download - view: text, annotated - select for diffs - revision graph
Thu Aug 9 15:09:26 2007 UTC (16 years, 10 months ago) by casties
Branches: MAIN
CVS tags: HEAD
added logging to response object i.e. to browser to importfmpxml

    1: <html>
    2: <body>
    3: <div tal:replace="structure here/manage_page_header">Header</div>
    4: <!-- ZOPE management tabs -->
    5: <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
    6:     tal:replace="structure here/manage_tabs">Tabs</h2>
    7: <!-- end of ZOPE management tabs -->
    8: <h2>Change ZSQL Extend</h2>
    9: <form method="post" action="changeZSQLExtend">
   10: 
   11: <table>
   12: <tr>
   13:     <td align="left" valign="top">
   14:     <div class="form-label">
   15:     Label (for linking):
   16:     </div>
   17:     </td>
   18:     <td align="left" valign="top">
   19:     <input type="text" name="label" size="80" tal:attributes="value here/getLabel" />
   20:     </td>
   21:   </tr>
   22: 
   23: <tr>
   24:     <td align="left" valign="top">
   25:     <div class="form-label">
   26:     Description:
   27:     </div>
   28:     </td>
   29:     <td align="left" valign="top">
   30:     <textarea name="description" cols=50 rows=20  tal:content="here/getDescription"></textarea>
   31:     </td>
   32:   </tr>
   33: <tr>
   34:     <td align="left" valign="top">
   35:     <div class="form-label">
   36:     Connection Id
   37:     </div>
   38:     </td>
   39:     <td align="left" valign="top">
   40:     <div class="form-element">
   41: 
   42:     <select name="connection_id">
   43:      
   44:      <tal:block tal:repeat="id python:[i[0] for i in here.SQLConnectionIDs()]">
   45:                 <option  tal:condition="python:getattr(here,'connection_id','')==id"  tal:attributes="value id" selected tal:content="id"/>
   46:                 <option  tal:condition="not:python:getattr(here,'connection_id','')==id"  tal:attributes="value id" tal:content="id"/>
   47:             </tal:block>
   48:     </select>
   49:     </div>
   50:     </td>
   51:   </tr>
   52: 
   53: <tr>
   54:     <td align="left" valign="top">
   55:     <div class="form-label">
   56:     Weight <br>(for sorting <br>within ECHO environment):
   57:     </div>
   58:     </td>
   59:     <td align="left" valign="top">
   60:     <input type="text" name="weight" size="80" tal:attributes="value here/getWeight" />
   61:     </td>
   62:   </tr>
   63: 
   64: </table>
   65: <input type="submit">
   66: </form>
   67: </body>
   68: </html>

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