~salgado/offspring/linaro-test-runner

« back to all changes in this revision

Viewing changes to lib/offspring/web/templates/queuemanager/launchpad_project_create_popup.html

  • Committer: Michael Hudson
  • Date: 2011-03-24 21:30:51 UTC
  • mfrom: (13.1.47 offspring)
  • Revision ID: michael.hudson@linaro.org-20110324213051-hmdnv5ivc27s63p6
merge the rest of trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
    <head>
 
3
        <title>Sync a new launchpad project | Offspring Control</title>
 
4
        <link rel="stylesheet" type="text/css" href="/media/css/base.css" />
 
5
        <link rel="stylesheet" type="text/css" href="/media/css/forms.css" />
 
6
        <script type="text/javascript" src="/media/js/admin/RelatedObjectLookups.js"></script>
 
7
    </head>
 
8
 
 
9
<body class="popup queuemanager-projectgroup change-form">
 
10
 
 
11
<!-- Container -->
 
12
    <div id="container">
 
13
        <!-- Content -->
 
14
        <div id="content" class="colM">
 
15
            <h1 style="background: url(/assets/images/launchpad.png) no-repeat left;display: block;padding-left: 20px;font-weight: bold;margin-top:15px; margin-bottom:10px">Sync a new launchpad project</h1>
 
16
            <div id="content-main">
 
17
                <form enctype="multipart/form-data" action="" method="post" id="projectgroup_form">
 
18
                    <div style='display:none'>{% csrf_token %}</div>
 
19
                    <div> 
 
20
                        <input type="hidden" name="_popup" value="1" />
 
21
                        <fieldset class="module aligned">
 
22
                        {% for field in form %}
 
23
                            <div class="form-row{% if line.errors %} errors{% endif %} {{ field.name }}">
 
24
                                {{ field.errors }}
 
25
                                <div{% if not line.fields|length_is:"1" %} class="field-box"{% endif %}>
 
26
                                {% if field.is_checkbox %}
 
27
                                    {{ field }}{{ field.label_tag }}
 
28
                                {% else %}
 
29
                                    {{ field.label_tag }}
 
30
                                    {% if field.is_readonly %}
 
31
                                        <p>{{ field.contents }}</p>
 
32
                                    {% else %}
 
33
                                        {{ field }}
 
34
                                    {% endif %}
 
35
                                {% endif %}
 
36
                                {% if field.field.field.help_text %}
 
37
                                    <p class="help">{{ field.field.field.help_text|safe }}</p>
 
38
                                {% endif %}
 
39
                                </div>
 
40
                            </div>
 
41
                        {% endfor %}
 
42
                        </fieldset>
 
43
                        <div class="submit-row" style="overflow: auto;">
 
44
                            <input type="submit" value="Save" class="default" name="_save" />
 
45
                        </div>
 
46
                    </div>
 
47
            </form>
 
48
        </div>
 
49
 
 
50
        <br class="clear" />
 
51
    </div>
 
52
 
 
53
    <!-- END Content -->
 
54
 
 
55
    <div id="footer"></div>
 
56
</div>
 
57
<!-- END Container -->
 
58
 
 
59
</body>
 
60
</html>