File:  [Repository] / MPIWGWeb / zpt / Attic / edit_MPIWGDisciplinesThemesNeu.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:themes" />
<tal:block metal:fill-slot="body">
  <h3>Disciplines</h3>
  <form method="post" action="editMPIWGDisciplinesThemes">
  <input type="hidden" name="fromEdit" value="yes" />
  <ul class="plain" tal:repeat="discipline here/getDisciplineList">
    <li tal:condition="python:here.isChecked(discipline,here.getContent('xdata_09'))">
      <input tal:attributes="value discipline" name="disciplines" type="checkbox" checked>
      <span tal:replace="discipline" />
    </li>
    <li tal:condition="not:python:here.isChecked(discipline,here.getContent('xdata_09'))">
      <input tal:attributes="value discipline" name="disciplines" type="checkbox">
      <span tal:replace="discipline" />
    </li>
  </ul>
  <br>
  <h3>Themes</h3>
  <ul class="plain" tal:repeat="theme here/getThemeList">
    <li tal:condition="python:here.isChecked(theme,here.getContent('xdata_10'))">
      <input tal:attributes="value theme" name="themes" type="checkbox" checked>
      <span tal:replace="theme" />
    </li>
    <li tal:condition="not:python:here.isChecked(theme,here.getContent('xdata_10'))">
      <input tal:attributes="value theme" name="themes" type="checkbox">
      <span tal:replace="theme" />
    </li>
  </ul>
  <p><input type="submit" value="change"/></p>
  </form>
</tal:block>
</body>
</html>

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