File:  [Repository] / ZSQLExtend / zpt / changeZSQLBibliographyForm.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Mon Sep 3 13:06:11 2012 UTC (11 years, 10 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
ohne osas
ohne amara

    1: <h1 tal:replace="structure python:here.decode(here.manage_page_header())">Header</h1>
    2: <!-- ZOPE management tabs -->
    3:  <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
    4:     tal:replace="structure python:here.manage_tabs()">Tabs</h2>
    5: <h1 tal:replace="structure here/manage_page_header">Header</h1>
    6: 
    7: <h2>Change ZSQL Bibliography</h2>
    8: <form method="post" action="changeZSQLBibliography">
    9: Name of the Bibliography Table:<input name="tableName" size="100" tal:attributes="value python:here.tableName"><br/>
   10: <table>
   11: <tr>
   12:     <td align="left" valign="top">
   13:     <div class="form-label">
   14:     Label (for linking):
   15:     </div>
   16:     </td>
   17:     <td align="left" valign="top">
   18:     <input type="text" name="label" size="80" tal:attributes="value here/getLabel" />
   19:     </td>
   20:   </tr>
   21: <tr>
   22:     <td align="left" valign="top">
   23:     <div class="form-label">
   24:     Description:
   25:     </div>
   26:     </td>
   27:     <td align="left" valign="top">
   28:     <textarea name="description" cols=50 rows=20  tal:content="here/getDescription"></textarea>
   29:     </td>
   30:   </tr>
   31: <tr>
   32:     <td align="left" valign="top">
   33:     <div class="form-label">
   34:     Connection Id
   35:     </div>
   36:     </td>
   37:     <td align="left" valign="top">
   38:     <div class="form-element">
   39:     
   40:    
   41:      
   42:     <select name="connection_id">
   43:       <tal:block tal:repeat="id python:here.getSQLConnectionIDs()">
   44:         <option  tal:attributes="value python:id[1]" selected tal:content="python:id[0]"/>
   45:        </tal:block>
   46:     </select>
   47: 
   48:     </div>
   49:     </td>
   50:     </tr>
   51:     <tr>
   52:      <td align="left" valign="top">
   53:     <div class="form-label">
   54:     Name of the standard primary key
   55:     </div>
   56:     </td>
   57:     <td align="left" valign="top">
   58:     <div class="form-element">
   59:     <input type="text" size="60" tal:attributes="value here/getPrimaryKey" name="primaryKey"/>
   60:     </div>
   61:     </td>
   62:     </tr>
   63:     <tr>
   64:     <td align="left" valign="top">
   65:     <div class="form-label">
   66:     Name of the primary key per table if it is not the standardkey.<br/>(as string: TABLE1:key1;TABLE2:key2,...)<br/>
   67:     
   68:     </div>
   69:     </td>
   70:     <td align="left" valign="top">
   71:     <div class="form-element">
   72:     <input type="text" size="60" tal:attributes="value here/getPrimaryKeysAsString" name="primaryKeys"/>
   73:     </div>
   74:     </td>
   75:   </tr>
   76: 
   77: <tr>
   78: </table>
   79: <input type="submit">
   80: </form>
   81: <h1 tal:replace="structure here/manage_page_footer">Footer</h1>

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