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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2009-02-25 10:19:29 UTC
  • mfrom: (1100.1.35 new-ui)
  • Revision ID: matt.giuca@gmail.com-20090225101929-v2206kbf3lgkm1kz
*Spoiler warning: Plot or ending details follow*

Merged from new-ui branch.

IVLE top bar and top of filebrowser and console have all been made over. They
look very shiny and web 2.0!

Added image-source top-level directory with SVG source images.

Added new chrome images to ivle/webapp/coremedia/images.

Redid a lot CSS and HTML.
Every page now has an H1 at the top (common UI). Moved existing H1s to the top
of the page. Other H1s have been cleaned up (moved to H2s or restyled).
IVLE top bar has been majorly cleaned up (previously had many layered divs);
now more accessible.

Subject icon replaced with tutorial one.

The funeral for the tacky yellow and blue stylesheet will be held this Friday.

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>Submit project</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Submit project</h1>
8
 
    <div id="ivle_padding">
9
 
      <py:choose test="offering">
10
 
        <div py:when="None">
11
 
          <p>You may not submit files from <span style="font-family: monospace">${path}</span> in
12
 
            <py:choose test="">
13
 
              <span py:when="principal is req.user">your repository.</span>
14
 
              <span py:otherwise="">the repository for ${principal.display_name}.</span>
15
 
            </py:choose>
16
 
            You can only submit files from a subject directory.
17
 
          </p>
18
 
        </div>
19
 
        <div py:otherwise="">
20
 
          <p>You are submitting <span style="font-family: monospace">${path}</span> from
21
 
            <py:choose test="">
22
 
              <span py:when="principal is req.user">your repository.</span>
23
 
              <span py:otherwise="">the repository for ${principal.display_name}.</span>
24
 
            </py:choose>
25
 
          </p>
26
 
          <p>You may submit to any open project in ${offering.subject.name}. Which project do you wish to submit this for?</p>
27
 
          <form action="" method="post">
28
 
            <ul style="list-style: none">
29
 
              <li py:for="project in principal.get_projects(offering=offering)"
30
 
                  py:with="attrs = {'disabled': 'disabled'} if project.deadline &lt; now else {}">
31
 
                <input type="radio" name="project" id="project_${project.id}" value="${project.id}" py:attrs="attrs" />
32
 
                <label for="project_${project.id}">${project.name} - <em>${project.synopsis}</em> - (due ${format_datetime(project.deadline)})</label>
33
 
              </li>
34
 
            </ul>
35
 
            <p>Ensure that you have committed all changes - only changes in the repository will be submitted.</p>
36
 
            <p>You may resubmit a project again at any time until its deadline.</p>
37
 
            <p><input type="submit" value="Submit Project" /></p>
38
 
          </form>
39
 
        </div>
40
 
      </py:choose>
41
 
    </div>
42
 
  </body>
43
 
</html>