diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/newproject.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/newproject.html | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/newproject.html b/bitbake/lib/toaster/toastergui/templates/newproject.html index e5a6551967..ce01800e08 100644 --- a/bitbake/lib/toaster/toastergui/templates/newproject.html +++ b/bitbake/lib/toaster/toastergui/templates/newproject.html | |||
@@ -6,36 +6,39 @@ | |||
6 | <div class="span6"> | 6 | <div class="span6"> |
7 | <div class="page-header"> | 7 | <div class="page-header"> |
8 | <h1>Create a new project</h1> | 8 | <h1>Create a new project</h1> |
9 | </div> | 9 | </div> |
10 | <form> | 10 | <div class="container-fluid"> |
11 | {% for a in alerts %} | ||
12 | <div class="alert alert-error row-fluid" role="alert">{{a}}</div> | ||
13 | {% endfor %} | ||
14 | </div> | ||
15 | <form method="POST">{% csrf_token %} | ||
11 | <fieldset> | 16 | <fieldset> |
12 | <label>Project name <span class="muted">(required)</span></label> | 17 | <label>Project name <span class="muted">(required)</span></label> |
13 | <input type="text" class="input-xlarge" required name="projectname"> | 18 | <input type="text" class="input-xlarge" required name="projectname" value="{{projectname}}"> |
14 | <label class="project-form"> | 19 | <label class="project-form"> |
15 | Project owner | 20 | Project owner |
16 | <i class="icon-question-sign get-help" title="The go-to person for this project"></i> | 21 | <i class="icon-question-sign get-help" title="The go-to person for this project"></i> |
17 | </label> | 22 | </label> |
18 | <form method="POST"> | 23 | <input type="text" name="username" value="{{username}}"> |
19 | <input type="text"> | ||
20 | <label class="project-form">Owner's email</label> | 24 | <label class="project-form">Owner's email</label> |
21 | <input type="email" class="input-large" name="email"> | 25 | <input type="email" class="input-large" name="email" value="{{email}}"> |
22 | <label class="project-form"> | 26 | <label class="project-form"> |
23 | Yocto Project version | 27 | Yocto Project version |
24 | <i class="icon-question-sign get-help" title="This sets the branch for the Yocto Project core layers (meta, meta-yocto and meta-yocto-bsp), and for the layers you use from the OpenEmbedded Metadata Index"></i> | 28 | <i class="icon-question-sign get-help" title="This sets the branch for the Yocto Project core layers (meta, meta-yocto and meta-yocto-bsp), and for the layers you use from the OpenEmbedded Metadata Index"></i> |
25 | </label> | 29 | </label> |
26 | <select> | 30 | <select name="projectversion"> |
27 | <option>Yocto Project 1.7 "D?"</option> | 31 | <option value="1.7" {%if projectversion == "1.7" %}selected{%endif%}>Yocto Project 1.7 "D?"</option> |
28 | <option>Yocto Project 1.6 "Daisy"</option> | 32 | <option value="1.6" {%if projectversion == "1.6" %}selected{%endif%}>Yocto Project 1.6 "Daisy"</option> |
29 | <option>Yocto Project 1.5 "Dora"</option> | 33 | <option value="1.5" {%if projectversion == "1.5" %}selected{%endif%}>Yocto Project 1.5 "Dora"</option> |
30 | </select> | 34 | </select> |
31 | </form> | ||
32 | </fieldset> | 35 | </fieldset> |
33 | 36 | ||
34 | <div class="form-actions"> | 37 | <div class="form-actions"> |
35 | <a href="project-with-targets.html" class="btn btn-primary btn-large">Create project</a> | 38 | <input type="submit" class="btn btn-primary btn-large" value="Create project"/> |
36 | </div> | 39 | </div> |
37 | </form> | 40 | </form> |
38 | </div> | 41 | </div> |
39 | </div> | 42 | </div> |
40 | </div> | 43 | </div> |
41 | {% endblock %} | 44 | {% endblock %} |