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

« back to all changes in this revision

Viewing changes to ivle/webapp/submit/submit.html

  • Committer: William Grant
  • Date: 2009-03-31 05:09:01 UTC
  • mto: (1165.3.1 submissions)
  • mto: This revision was merged to the branch mainline in revision 1174.
  • Revision ID: grantw@unimelb.edu.au-20090331050901-oro2ylk1h67uezix
Make the submit view significantly more readable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
  <body>
7
7
    <h1>Submit project</h1>
8
8
    <div id="ivle_padding">
9
 
      <p>You are submitting '<span style="font-family: monospace">${path}</span>' from the repository for ${principal}.</p>
10
 
      <p>You may submit to any open project in ${offering}. Which project do you wish to submit this for?</p>
 
9
      <p>You are submitting <span style="font-family: monospace">${path}</span> from
 
10
        <py:choose test="">
 
11
          <span py:when="principal is req.user">your repository.</span>
 
12
          <span py:otherwise="">the repository for ${principal.display_name}.</span>
 
13
        </py:choose>
 
14
      </p>
 
15
      <p>You may submit to any open project in ${offering.subject.name}. Which project do you wish to submit this for?</p>
11
16
      <form action="" method="post">
12
17
        <ul style="list-style: none">
13
18
          <li py:for="project in principal.get_projects(offering=offering)"
16
21
            <label for="project_${project.id}">${project.name} - <em>${project.synopsis}</em> - (due ${format_datetime(project.deadline)})</label>
17
22
          </li>
18
23
        </ul>
19
 
        <p>You may resubmit this project again at any time until the deadline.</p>
 
24
        <p>You may resubmit a project again at any time until its deadline.</p>
20
25
        <p><input type="submit" value="Submit Project" /></p>
21
26
      </form>
22
27
    </div>