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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-05-12 13:15:09 UTC
  • mto: This revision was merged to the branch mainline in revision 1247.
  • Revision ID: grantw@unimelb.edu.au-20090512131509-8h04w82hvohpfplw
Prettify the submissions table.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    <div id="ivle_padding">
9
9
      <p>${project.synopsis}</p>
10
10
      <p>Submissions: ${project.latest_submissions.count()}/${project.project_set.assigned.count()}</p>
11
 
      <table border="1" summary="Latest Submissions"
 
11
      <table id="project_submissions" summary="Latest Submissions"
12
12
             py:if="project.latest_submissions.count() > 0">
13
 
        <tr>
14
 
          <th>Who</th>
15
 
          <th>By</th>
16
 
          <th>Date</th>
17
 
          <th>Download</th>
18
 
        </tr>
19
 
      <py:for each="submission in project.latest_submissions">
20
 
        <tr>
21
 
          <td>${submission.assessed.principal.display_name}</td>
22
 
          <td>${submission.submitter.display_name}</td>
23
 
          <td>${submission.date_submitted.strftime("%Y-%m-%d %H:%M:%S")}</td>
24
 
          <td>svn co --username ${user.login} -r${submission.revision} ${build_subversion_url(svn_addr, submission)}</td>
25
 
        </tr>
26
 
      </py:for>
 
13
        <thead>
 
14
          <tr>
 
15
            <th>Who</th>
 
16
            <th>By</th>
 
17
            <th>Date</th>
 
18
            <th>Download</th>
 
19
          </tr>
 
20
        </thead>
 
21
        <tbody>
 
22
        <py:for each="submission in project.latest_submissions">
 
23
          <tr>
 
24
            <td>${submission.assessed.principal.display_name}</td>
 
25
            <td>${submission.submitter.display_name}</td>
 
26
            <td>${submission.date_submitted.strftime("%Y-%m-%d %H:%M:%S")}</td>
 
27
            <td>svn co --username ${user.login} -r${submission.revision} ${build_subversion_url(svn_addr, submission)}</td>
 
28
          </tr>
 
29
        </py:for>
 
30
        </tbody>
27
31
      </table>
28
 
      <table>
 
32
      <table id="project_assigneds">
29
33
        <tr><th>Assigned</th></tr>
30
34
        <py:for each="assignee in project.project_set.assigned">
31
35
          <tr>