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, 8 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
ohne osas
ohne amara

<h1 tal:replace="structure python:here.decode(here.manage_page_header())">Header</h1>
<!-- ZOPE management tabs -->
 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
    tal:replace="structure python:here.manage_tabs()">Tabs</h2>
<h1 tal:replace="structure here/manage_page_header">Header</h1>

<h2>Change ZSQL Bibliography</h2>
<form method="post" action="changeZSQLBibliography">
Name of the Bibliography Table:<input name="tableName" size="100" tal:attributes="value python:here.tableName"><br/>
<table>
<tr>
    <td align="left" valign="top">
    <div class="form-label">
    Label (for linking):
    </div>
    </td>
    <td align="left" valign="top">
    <input type="text" name="label" size="80" tal:attributes="value here/getLabel" />
    </td>
  </tr>
<tr>
    <td align="left" valign="top">
    <div class="form-label">
    Description:
    </div>
    </td>
    <td align="left" valign="top">
    <textarea name="description" cols=50 rows=20  tal:content="here/getDescription"></textarea>
    </td>
  </tr>
<tr>
    <td align="left" valign="top">
    <div class="form-label">
    Connection Id
    </div>
    </td>
    <td align="left" valign="top">
    <div class="form-element">
    
   
     
    <select name="connection_id">
      <tal:block tal:repeat="id python:here.getSQLConnectionIDs()">
        <option  tal:attributes="value python:id[1]" selected tal:content="python:id[0]"/>
       </tal:block>
    </select>

    </div>
    </td>
    </tr>
    <tr>
     <td align="left" valign="top">
    <div class="form-label">
    Name of the standard primary key
    </div>
    </td>
    <td align="left" valign="top">
    <div class="form-element">
    <input type="text" size="60" tal:attributes="value here/getPrimaryKey" name="primaryKey"/>
    </div>
    </td>
    </tr>
    <tr>
    <td align="left" valign="top">
    <div class="form-label">
    Name of the primary key per table if it is not the standardkey.<br/>(as string: TABLE1:key1;TABLE2:key2,...)<br/>
    
    </div>
    </td>
    <td align="left" valign="top">
    <div class="form-element">
    <input type="text" size="60" tal:attributes="value here/getPrimaryKeysAsString" name="primaryKeys"/>
    </div>
    </td>
  </tr>

<tr>
</table>
<input type="submit">
</form>
<h1 tal:replace="structure here/manage_page_footer">Footer</h1>

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