blob: ce01800e0865aa52d81b45a3878c33e2cf4e14a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{% extends "base.html" %}
{% load projecttags %}
{% load humanize %}
{% block pagecontent %}
<div class="row-fluid">
<div class="span6">
<div class="page-header">
<h1>Create a new project</h1>
</div>
<div class="container-fluid">
{% for a in alerts %}
<div class="alert alert-error row-fluid" role="alert">{{a}}</div>
{% endfor %}
</div>
<form method="POST">{% csrf_token %}
<fieldset>
<label>Project name <span class="muted">(required)</span></label>
<input type="text" class="input-xlarge" required name="projectname" value="{{projectname}}">
<label class="project-form">
Project owner
<i class="icon-question-sign get-help" title="The go-to person for this project"></i>
</label>
<input type="text" name="username" value="{{username}}">
<label class="project-form">Owner's email</label>
<input type="email" class="input-large" name="email" value="{{email}}">
<label class="project-form">
Yocto Project version
<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>
</label>
<select name="projectversion">
<option value="1.7" {%if projectversion == "1.7" %}selected{%endif%}>Yocto Project 1.7 "D?"</option>
<option value="1.6" {%if projectversion == "1.6" %}selected{%endif%}>Yocto Project 1.6 "Daisy"</option>
<option value="1.5" {%if projectversion == "1.5" %}selected{%endif%}>Yocto Project 1.5 "Dora"</option>
</select>
</fieldset>
<div class="form-actions">
<input type="submit" class="btn btn-primary btn-large" value="Create project"/>
</div>
</form>
</div>
</div>
</div>
{% endblock %}
|