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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/subject_projects.html

Created a new view for IVLE, allowing lecturers and tutors to 
administrate projects.

At the moment, this new view can add projectsets, and add projects.
It can also view the details of a project.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
      xmlns:py="http://genshi.edgewall.org/">
 
3
  <head>
 
4
    <title>Projects - ${offering.subject.name}</title>
 
5
  </head>
 
6
  <body>
 
7
    <py:def function="project_url(offering, project)">/subjects/${offering.subject.short_name}/${offering.semester.year}/${offering.semester.semester}/+project/${project.short_name}</py:def>
 
8
    <h1>${offering.subject.name} - Projects</h1>
 
9
    <div id="ivle_padding">
 
10
      <ul id="projectset_list">
 
11
        <py:for each="projectset in projectsets">
 
12
          ${projectset}
 
13
        </py:for>
 
14
      </ul>
 
15
      <div id="add_projectset">
 
16
        <a>Add a new projectset</a>
 
17
        <div id="new_projectset_div">
 
18
          <form id="new_projectset_form" method="PUT" name="new_projectset_form" action="/api/subjects/${subject}/${year}/${semester}/+projectsets/+new">
 
19
            <label for="group_size">Group Size:</label>
 
20
            <input type="text" name="group_size" id="group_size"></input>
 
21
            <input type="submit" id="submit_new_projectset" name="Bob" value="Submit Bob"/>
 
22
          </form>
 
23
        </div>
 
24
      </div>
 
25
    </div>
 
26
  </body>
 
27
</html>