Newer
Older
Stefano Alberto Russo
committed
{% load static %}
{% include "header.html" %}
Stefano Alberto Russo
committed
{% include "navigation.html" %}
Stefano Alberto Russo
committed
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<div class="container">
<div class="dashboard">
<div class="span8 offset2">
<h1>Add extra profile configuration</h1>
<hr>
<h4>Chose the configuration type and add the values</h4>
<br/>
<form action="/add_profile_conf/" method="POST">
{% csrf_token %}
<table class="dashboard" style="max-width:430px">
<tr>
<td>
{%if data.conf_type %}
<select name="conf_type">
<option value="{{data.conf_type}}" selected>{{data.conf_type}}</option>
</select>
{% else %}
<select name="conf_type">
{% for conf_type in data.conf_types %}
<option value="{{conf_type}}">{{conf_type}}</option>
{% endfor %}
</select>
{% endif %}
</td>
{%if data.conf_type %}
<td>
{%if data.computing %}
<select name="computing_uuid">
<option value="{{data.computing.uuid}}" selected>{{data.computing.name}}</option>
</select>
{% else %}
<select name="computing_uuid">
{% for computing in data.computings %}
<option value="{{computing.uuid}}">{{computing.name}}</option>
{% endfor %}
</select>
{% endif %}
</td>
{% endif %}
{% if data.last_step %}
<td colspan=2 align=center style="padding:20px">
<input name="value" type="text" value="">
</td>
<td colspan=2 align=center style="padding:20px">
<input type="submit" value="Save">
</td>
{% else %}
<td colspan=2 align=center style="padding:20px">
<input type="submit" value="Next">
</td>
{% endif %}
</table>
</form>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</div>
</div>
</div>
{% include "footer.html" %}