~azzar1/unity/add-show-desktop-key

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<li xmlns="http://www.w3.org/1999/xhtml"
    xmlns:py="http://genshi.edgewall.org/"
    id='projectset_${ projectset_id }'
    style="display: none;">
  <h3>ProjectSet</h3>
  <p>Max Students Per Group: ${group_size}</p>
  <a href="+groups"><h4>Administer Groups</h4></a>
  <py:choose test='len(projects)'>
    <py:when test="0">
      <ul id="projectslist_${projectset_id}" class="emptylist">
        <h4>No Projects</h4>
      </ul>
    </py:when>
    <py:otherwise>
      <ul id="projectslist_${projectset_id}">
        <py:for each="project in projects">
          ${project}
        </py:for>
      </ul>
    </py:otherwise>
  </py:choose>
  <div class="add-project">
    <a href="#" id="add_new_project_${ projectset_id }"
      class="add-project-link"><h4>Add a New Project</h4></a>
    <div id="new_project_${ projectset_id }">
      <form class="new_project" method="POST" action="${ new_project_url }">
        <label for="new_project_name_${ projectset_id }">Name:</label>
        <input id="new_project_name_${ projectset_id }" type="text" name="name" value="" />
        <br />
        <label for="new_project_short_name_${ projectset_id }">Short Name:</label>
        <input id="new_project_short_name_${ projectset_id }" type="text" name="short_name" value="" />
        <br />
        <label for="new_project_syn_${ projectset_id }">Synopsis:</label>
        <textarea id="new_project_syn_${ projectset_id }" name="synopsis" rows="6"></textarea>
        <br />
        <input type="hidden" name="ivle.op" value="add_project" />
        <input type="submit" value="Create" id="submit_project_${
            projectset_id}" class="submit-project" />
      </form>
    </div>
  </div>
</li>