diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-06-26 15:21:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-14 14:10:03 +0100 |
commit | cff19351a8b9d6267177dc548d994e3f28590391 (patch) | |
tree | f8fba60b5b395035c534f2169b3f3ea1e08905f9 /bitbake/lib/toaster/toastergui/templates/newproject.html | |
parent | 6b62a0fd6eb9a609f71857f5793b0696f7a790b4 (diff) | |
download | poky-cff19351a8b9d6267177dc548d994e3f28590391.tar.gz |
bitbake: toaster: add project pages
We add the new project and project page skeletons.
In the process, we add an identifier in the settings.py
to detect whenever Toaster is running in managed mode,
and a context processor to make this value available
to the template processor.
(Bitbake rev: 927a27c68e24cfe13f62ca5f0e60878b04fa4e24)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/newproject.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/newproject.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/newproject.html b/bitbake/lib/toaster/toastergui/templates/newproject.html new file mode 100644 index 0000000000..e5a6551967 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/newproject.html | |||
@@ -0,0 +1,41 @@ | |||
1 | {% extends "base.html" %} | ||
2 | {% load projecttags %} | ||
3 | {% load humanize %} | ||
4 | {% block pagecontent %} | ||
5 | <div class="row-fluid"> | ||
6 | <div class="span6"> | ||
7 | <div class="page-header"> | ||
8 | <h1>Create a new project</h1> | ||
9 | </div> | ||
10 | <form> | ||
11 | <fieldset> | ||
12 | <label>Project name <span class="muted">(required)</span></label> | ||
13 | <input type="text" class="input-xlarge" required name="projectname"> | ||
14 | <label class="project-form"> | ||
15 | Project owner | ||
16 | <i class="icon-question-sign get-help" title="The go-to person for this project"></i> | ||
17 | </label> | ||
18 | <form method="POST"> | ||
19 | <input type="text"> | ||
20 | <label class="project-form">Owner's email</label> | ||
21 | <input type="email" class="input-large" name="email"> | ||
22 | <label class="project-form"> | ||
23 | 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> | ||
25 | </label> | ||
26 | <select> | ||
27 | <option>Yocto Project 1.7 "D?"</option> | ||
28 | <option>Yocto Project 1.6 "Daisy"</option> | ||
29 | <option>Yocto Project 1.5 "Dora"</option> | ||
30 | </select> | ||
31 | </form> | ||
32 | </fieldset> | ||
33 | |||
34 | <div class="form-actions"> | ||
35 | <a href="project-with-targets.html" class="btn btn-primary btn-large">Create project</a> | ||
36 | </div> | ||
37 | </form> | ||
38 | </div> | ||
39 | </div> | ||
40 | </div> | ||
41 | {% endblock %} | ||