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

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    2:           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    3: <html metal:use-macro="here/edit_MPIWGProject_main/macros/page">
    4: <head>
    5: </head>
    6: <body>
    7: <tal:block metal:fill-slot="navsel" tal:define="global menusel string:themes" />
    8: <tal:block metal:fill-slot="body">
    9:   <h3>Disciplines</h3>
   10:   <form method="post" action="editMPIWGDisciplinesThemes">
   11:   <input type="hidden" name="fromEdit" value="yes" />
   12:   <ul class="plain" tal:repeat="discipline here/getDisciplineList">
   13:     <li tal:condition="python:here.isChecked(discipline,here.getContent('xdata_09'))">
   14:       <input tal:attributes="value discipline" name="disciplines" type="checkbox" checked>
   15:       <span tal:replace="discipline" />
   16:     </li>
   17:     <li tal:condition="not:python:here.isChecked(discipline,here.getContent('xdata_09'))">
   18:       <input tal:attributes="value discipline" name="disciplines" type="checkbox">
   19:       <span tal:replace="discipline" />
   20:     </li>
   21:   </ul>
   22:   <br>
   23:   <h3>Themes</h3>
   24:   <ul class="plain" tal:repeat="theme here/getThemeList">
   25:     <li tal:condition="python:here.isChecked(theme,here.getContent('xdata_10'))">
   26:       <input tal:attributes="value theme" name="themes" type="checkbox" checked>
   27:       <span tal:replace="theme" />
   28:     </li>
   29:     <li tal:condition="not:python:here.isChecked(theme,here.getContent('xdata_10'))">
   30:       <input tal:attributes="value theme" name="themes" type="checkbox">
   31:       <span tal:replace="theme" />
   32:     </li>
   33:   </ul>
   34:   <p><input type="submit" value="change"/></p>
   35:   </form>
   36: </tal:block>
   37: </body>
   38: </html>

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