aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/templates/newproject.html
blob: 6ee27d12d265b28927618a387f626ec1863fa9e9 (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">
		{% if alert %}
			<div class="alert alert-error row-fluid" role="alert">{{alert}}</div>
		{% endif %}
				</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" id="projectversion">
	{% for br in branches %}
		<option value="{{br.id}}"{%if projectversion == br.id %} selected{%endif%}>{{br.name}} ({{br.short_description}})</option>
	{% endfor %}
							</select>
						</fieldset>

						<div class="form-actions">
							<input type="submit" class="btn btn-primary btn-large" value="Create project"/>
						</div>
					</form>
				</div>
			</div>
		</div>
{% endblock %}