projectapplication_form_summary.html 3.33 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{% load filters %}
{% block headjs %}
	{{ block.super }}	 
	<script src="{{ IM_STATIC_URL }}js/quotas.js"></script>	
{% endblock %}	
{% block page.body %}

<div class="projects summary">
	<form action="?edit=0&verify=0" method="post" class="quotas-form">{% csrf_token %}
	    {% for k,v in request.POST.items %}
	        {% if k != 'csrfmiddlewaretoken' %}
	            <input type="hidden" name="{{k}}"  id="{{'id_'|add:k}}" value="{{v}}">
	        {% endif %}
	    {% endfor %}
15
		<legend>CONFIRM REQUEST</legend>
16
17
		<P>These are the specifications of the Project you want to create. If you hit the "Submit" button this form will be officially sent to GRNET for review. Please make sure the following reflect exactly your request. After submitting, there is no way to modify your Project request. </P>
		<div class="full-dotted">
18
			<h3>PROJECT DETAILS</h3>
Olga Brani's avatar
Olga Brani committed
19
			<p class="restricted">{{ form_data.desc }}</p>
20
21
22
23
			<dl class="alt-style">
				<dt>Name</dt>
			 	<dd>{{ form_data.name }}&nbsp;</dd>
			 	<dt>Homepage Url</dt>
24
				<dd>{{ form_data.homepage }}&nbsp;</dd>
25
26
27
28
29
30
31
32
33
				<dt>Description</dt>
				<dd>{{ form_data.description }}&nbsp;</dd>
			 	<dt>Start date</dt>
			 	<dd>{{ form_data.start_date|date:"d/m/Y"}}&nbsp;</dd>
			 	<dt>End Date</dt>
			 	<dd>{{ form_data.end_date|date:"d/m/Y"}}&nbsp;</dd>		
			 	<dt>Comments</dt>
				<dd>{{ form_data.comments }}&nbsp;</dd>	    
				
34
35
36
			</dl>
		</div>
		<div class="full-dotted">
37
			 <h3>MEMBERSHIP OPTIONS</h3>
38
			 <dl class="alt-style">			    
39
40
41
42
                <dt>Member join policy</dt>
			 	<dd>{{ form_data.member_join_policy }}</dd>
			 	<dt>Member leave policy</dt>
			 	<dd>{{ form_data.member_leave_policy }}</dd>			   
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
			 	<dt>Total number of members</dt>
			 	<dd>{{ form_data.limit_on_members_number }}</dd>
			 </dl>
		 </div>
		 
		 
		 <div class="full-dotted">
			<h3>RESOURCES</h3>
			<p>The following ~okeanos resources will be granted to each member of this Project:</p>
		 	<dl class="alt-style">
		 	    {% for rp in form.resource_policies %}
		 	        {% with resource_catalog|lookup:'resources' as resource_info %}
		 		        {% with rp.service|add:'.'|add:rp.resource as resource_name %}
		 	                {% with resource_info|lookup:resource_name as resource %}
		 		    <dt>
           				Max {% if resource.is_abbreviation %}{{ resource.verbose_name|upper }}{% else %}{{ resource.verbose_name }}{% endif %}{% if not resource.unit %}s {% endif  %}  per user
           			</dt>
			 		<dd>
           			{% if rp.uplimit %}
           				 {% if resource.unit %}
           				 	{{ rp.uplimit|sizeof_fmt }}
           				 {% else %}
           				 	{{ rp.uplimit }}
           				 {% endif %}
           			{% else %}
           				Unlimited
           			{% endif %}
           			</dd>
           			        {% endwith %}
           			    {% endwith %}
           			{% endwith %}
           		{% empty %}
           			No resources
		 		{% endfor %}
		 	</dl>      
		 </div>
		 
		 <div class="full-dotted">
		 	 
		 </div>
		
		 
		<input type="hidden" name="user"  id="id_user" value="{{user.id}}">
		<div class="form-row submit">
Olga Brani's avatar
Olga Brani committed
87
88
            <input type="submit" value="BACK" class="submit lt" autocomplete="off" onclick='this.form.action="?edit=1&verify=0";'>
            <input type="submit" value="SUBMIT" class="submit" autocomplete="off">
89
90
91
92
93
94
95
96
97
98
        </div>
	</form>
    
</div>
	 
<script>
	
</script>	 

{% endblock %}