File:  [Repository] / MPIWGWeb / zpt / Attic / edit_MPIWGBasisNeu.zpt
Revision 1.1.2.4: download - view: text, annotated - select for diffs - revision graph
Wed Oct 19 15:16:14 2005 UTC (18 years, 8 months ago) by casties
Branches: r2
nicer editing for projects as well

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html metal:use-macro="here/edit_MPIWGProject_main/macros/page">
<head>
</head>
<body>
<tal:block metal:fill-slot="navsel" tal:define="global menusel string:basis" />
<tal:block metal:fill-slot="body">
  <form method="POST" action="editMPIWGProject">
  <input type="hidden" name="fromEdit" value="yes" />
  <table>
    <tr>
      <td><b>Project Title</b></td>
      <td>
        <input tal:attributes="name python:'WEB_title'; value python:here.getContent('WEB_title')" size="80"/>
      </td>
    </tr>
    <tal:block tal:repeat="field here/getDataFields">
      <tr>
        <td><b tal:content="python:here.fieldLabels[field]"/></td>
        <td><input tal:attributes="name field; value python:here.getContent(field)" size=80 /></td>
      </tr>
      <tr tal:condition="python:here.isCheckField(field)">
        <td/>
        <td><tal:block tal:define="checkList python:here.giveCheckList(here,field)">
          <tal:block repeat="item checkList/keys">
            <span tal:replace="item" />: 
            <tal:block tal:condition="python:len(checkList[item])>0">found</tal:block> 
            <tal:block tal:condition="not:python:len(checkList[item])>0"><font color="#ff0000">not found</font></tal:block>
          </tal:block>
          <br>
        </tal:block></td>
      </tr>
    </tal:block>
  </table>
  <p><input type="submit" value="change"/></p>
  </form>
  </tal:block>
</body>
</html>

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