summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/newproject.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-06-30 15:58:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-14 14:10:03 +0100
commite7fa0c325d59811c272b7dad671225fea8c29609 (patch)
tree599e0c75cef2d37fc1573d7ff91b9f3ce7b6f180 /bitbake/lib/toaster/toastergui/templates/newproject.html
parentd19b784c1a2a4380c63947690ae6f7fa393c1ebc (diff)
downloadpoky-e7fa0c325d59811c272b7dad671225fea8c29609.tar.gz
bitbake: toaster: new project page implementation
We add the logic to create a new project. This page also serves as user registration and silent login for users. Once the project is added, the main project page is displayed. (Bitbake rev: 8855daebe55917c4f5855413d02ae1f3f7f76571) 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.html13
1 files changed, 6 insertions, 7 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/newproject.html b/bitbake/lib/toaster/toastergui/templates/newproject.html
index ce01800e08..8f1867a94f 100644
--- a/bitbake/lib/toaster/toastergui/templates/newproject.html
+++ b/bitbake/lib/toaster/toastergui/templates/newproject.html
@@ -8,9 +8,9 @@
8 <h1>Create a new project</h1> 8 <h1>Create a new project</h1>
9 </div> 9 </div>
10 <div class="container-fluid"> 10 <div class="container-fluid">
11 {% for a in alerts %} 11 {% if alert %}
12 <div class="alert alert-error row-fluid" role="alert">{{a}}</div> 12 <div class="alert alert-error row-fluid" role="alert">{{alert}}</div>
13 {% endfor %} 13 {% endif %}
14 </div> 14 </div>
15 <form method="POST">{% csrf_token %} 15 <form method="POST">{% csrf_token %}
16 <fieldset> 16 <fieldset>
@@ -27,10 +27,9 @@
27 Yocto Project version 27 Yocto Project version
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> 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>
29 </label> 29 </label>
30 <select name="projectversion"> 30 <select name="projectversion" id="projectversion">
31 <option value="1.7" {%if projectversion == "1.7" %}selected{%endif%}>Yocto Project 1.7 "D?"</option> 31 <!-- TODO: XHR data from http://layers.openembedded.org/layerindex/branch/master/layers/ -->
32 <option value="1.6" {%if projectversion == "1.6" %}selected{%endif%}>Yocto Project 1.6 "Daisy"</option> 32 <option value="master" {%if projectversion == "master" %}selected{%endif%}>master</option>
33 <option value="1.5" {%if projectversion == "1.5" %}selected{%endif%}>Yocto Project 1.5 "Dora"</option>
34 </select> 33 </select>
35 </fieldset> 34 </fieldset>
36 35