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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-01-31 01:44:30 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:345
Global CSS change: ivlebody no longer has 1em of padding (it has none).
This is because most apps were disabling it (and it had to change anyway for
other reasons -- see below).

Hence, all apps which WERE disabling the padding have had that removed, and
just work by default. (console, browser, tutorial)
All apps which WEREN'T disabling the padding (very few) now have to manually
include an extra div. This has been done on all such apps, and has been
heavily documented (both in the CSS file and doc/app_howto). (help, dummy,
debuginfo).

media/common/ivle.css: 
    The real change here (which isn't yet being used) is that ivlebody is now
    positioned absolutely and takes up all the space on the canvas. This is
    to be used for full-page layouts in console and browser.

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
 
            <table>
29
 
              <tr py:for="project in principal.get_projects(offering=offering)"
30
 
                  py:with="attrs = {'disabled': 'disabled'} if project.deadline &lt; now else {}">
31
 
                <td style="vertical-align: top">
32
 
                  <input type="radio" name="project" id="project_${project.id}" value="${project.id}" py:attrs="attrs" />
33
 
                </td>
34
 
                <td>
35
 
                  <label for="project_${project.id}"><a href="${project.url}">${project.name}</a> (<span title="Due ${format_datetime(project.deadline)}">due ${format_datetime_short(project.deadline)}</span>)<br />${project.synopsis}</label>
36
 
                </td>
37
 
              </tr>
38
 
            </table>
39
 
            <p>Ensure that you have committed all changes - only changes in the repository will be submitted.</p>
40
 
            <p>You may resubmit a project again at any time until its deadline.</p>
41
 
            <p><input type="submit" value="Submit Project" /></p>
42
 
          </form>
43
 
        </div>
44
 
      </py:choose>
45
 
    </div>
46
 
  </body>
47
 
</html>