author | Madhusudan.C.S <madhusudancs@gmail.com> |
Wed, 12 Aug 2009 19:30:12 +0530 | |
changeset 42 | 4cf4c1f0e5bb |
parent 39 | e7880a8f7e04 |
child 43 | 55e650bb9dbe |
permissions | -rw-r--r-- |
0 | 1 |
{% extends "projrev/base.html" %} |
27
37612f295cd4
Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
26
diff
changeset
|
2 |
{% load review_helpers %} |
37612f295cd4
Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
26
diff
changeset
|
3 |
|
30
94fe7fe7394d
Complete star plugin implmentation on backend with database writes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
29
diff
changeset
|
4 |
{% block scripts %} |
94fe7fe7394d
Complete star plugin implmentation on backend with database writes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
29
diff
changeset
|
5 |
{{ block.super }} |
94fe7fe7394d
Complete star plugin implmentation on backend with database writes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
29
diff
changeset
|
6 |
<script type="text/javascript"> |
94fe7fe7394d
Complete star plugin implmentation on backend with database writes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
29
diff
changeset
|
7 |
$(document).ready(function () { |
42
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
8 |
alert($('#attribute1[value=1]').attr('checked', 'checked')); |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
9 |
}); |
30
94fe7fe7394d
Complete star plugin implmentation on backend with database writes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
29
diff
changeset
|
10 |
</script> |
94fe7fe7394d
Complete star plugin implmentation on backend with database writes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
29
diff
changeset
|
11 |
{% endblock scripts %} |
94fe7fe7394d
Complete star plugin implmentation on backend with database writes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
29
diff
changeset
|
12 |
|
0 | 13 |
{% block content %} |
14 |
<div class="post"> |
|
15 |
||
16 |
<a name="TemplateInfo"></a> |
|
17 |
<h1>Review the proposal</h1> |
|
18 |
||
19 |
<p>The proposal details are given below followed by a Review form.</p> |
|
20 |
||
21 |
<div class='review-center-box'> |
|
22 |
<div class='review-left'> |
|
38 | 23 |
Title: |
24 |
</div> |
|
25 |
<div class='review-right'> |
|
26 |
{{ project.title }} |
|
27 |
</div> |
|
28 |
<br/> |
|
29 |
<div class='review-left'> |
|
0 | 30 |
Project MICR Code: |
31 |
</div> |
|
32 |
<div class='review-right'> |
|
33 |
{{ project.micr_code }} |
|
34 |
</div> |
|
35 |
<br/> |
|
36 |
<div class='review-left'> |
|
37 |
Institution: |
|
38 |
</div> |
|
39 |
<div class='review-right'> |
|
40 |
{{ project.institution }} |
|
41 |
</div> |
|
42 |
<br/> |
|
43 |
<div class='review-left'> |
|
44 |
Project Line Item: |
|
45 |
</div> |
|
46 |
<div class='review-right'> |
|
47 |
{{ project.line_item }} |
|
48 |
</div> |
|
49 |
<br/> |
|
50 |
<div class='review-left'> |
|
38 | 51 |
Address: |
52 |
</div> |
|
53 |
<div class='review-right'> |
|
54 |
{{ project.address }} |
|
55 |
</div> |
|
56 |
<br/> |
|
57 |
<div class='review-left'> |
|
58 |
City: |
|
59 |
</div> |
|
60 |
<div class='review-right'> |
|
61 |
{{ project.city }} |
|
62 |
</div> |
|
63 |
<br/> |
|
64 |
<div class='review-left'> |
|
65 |
PIN Code: |
|
66 |
</div> |
|
67 |
<div class='review-right'> |
|
68 |
{{ project.pin_code }} |
|
69 |
</div> |
|
70 |
<br/> |
|
71 |
<div class='review-left'> |
|
0 | 72 |
State: |
73 |
</div> |
|
74 |
<div class='review-right'> |
|
75 |
{{ project.state }} |
|
76 |
</div> |
|
77 |
<br/> |
|
78 |
<div class='review-left'> |
|
79 |
District: |
|
80 |
</div> |
|
81 |
<div class='review-right'> |
|
82 |
{{ project.district }} |
|
83 |
</div> |
|
84 |
<br/> |
|
85 |
<div class='review-left'> |
|
86 |
Proposal Document: |
|
87 |
</div> |
|
88 |
<div class='review-right'> |
|
89 |
<a href="/site-content/{{ proposal_path }}">{{ proposal_name }}</a> |
|
90 |
</div> |
|
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
91 |
<br /> |
0 | 92 |
</div> |
28
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
93 |
|
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
94 |
|
0 | 95 |
<form enctype="multipart/form-data" method="post" action=""> |
96 |
<p> |
|
28
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
97 |
<p> |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
98 |
{{ form.attribute1.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
99 |
<strong>{{ form.attribute1.label }}</strong><br /> |
42
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
100 |
<input name="attribute1" type="radio" class="star" title="Poor" value="1"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
101 |
<input name="attribute1" type="radio" class="star" title="Average" value="2"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
102 |
<input name="attribute1" type="radio" class="star" title="Good" value="3"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
103 |
<input name="attribute1" type="radio" class="star" title="Very Good" value="4" /> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
104 |
<input name="attribute1" type="radio" class="star" title="Excellent" value="5"/> |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
105 |
{% if form.attribute1.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
106 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
107 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
108 |
{{ form.comment_a1.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
109 |
<label id='id_comment'>{{ form.comment_a1.label }}</label>{{ form.comment_a1 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
110 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
111 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
112 |
{{ form.attribute2.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
113 |
<strong>{{ form.attribute2.label }}</strong><br /> |
42
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
114 |
<input name="attribute2" type="radio" class="star" title="Poor" value="1"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
115 |
<input name="attribute2" type="radio" class="star" title="Average" value="2"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
116 |
<input name="attribute2" type="radio" class="star" title="Good" value="3"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
117 |
<input name="attribute2" type="radio" class="star" title="Very Good" value="4"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
118 |
<input name="attribute2" type="radio" class="star" title="Excellent" value="5"/> |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
119 |
{% if form.attribute2.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
120 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
121 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
122 |
{{ form.comment_a2.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
123 |
<label id='id_comment'>{{ form.comment_a2.label }}</label>{{ form.comment_a2 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
124 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
125 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
126 |
{{ form.attribute3.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
127 |
<strong>{{ form.attribute3.label }}</strong><br /> |
42
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
128 |
<input name="attribute3" type="radio" class="star" title="Poor" value="1"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
129 |
<input name="attribute3" type="radio" class="star" title="Average" value="2"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
130 |
<input name="attribute3" type="radio" class="star" title="Good" value="3"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
131 |
<input name="attribute3" type="radio" class="star" title="Very Good" value="4"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
132 |
<input name="attribute3" type="radio" class="star" title="Excellent" value="5"/> |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
133 |
{% if form.attribute3.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
134 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
135 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
136 |
{{ form.comment_a3.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
137 |
<label id='id_comment'>{{ form.comment_a3.label }}</label>{{ form.comment_a3 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
138 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
139 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
140 |
{{ form.attribute4.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
141 |
<strong>{{ form.attribute4.label }}</strong><br /> |
42
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
142 |
<input name="attribute4" type="radio" class="star" title="Poor" value="1"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
143 |
<input name="attribute4" type="radio" class="star" title="Average" value="2"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
144 |
<input name="attribute4" type="radio" class="star" title="Good" value="3"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
145 |
<input name="attribute4" type="radio" class="star" title="Very Good" value="4"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
146 |
<input name="attribute4" type="radio" class="star" title="Excellent" value="5"/> |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
147 |
{% if form.attribute4.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
148 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
149 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
150 |
{{ form.comment_a4.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
151 |
<label id='id_comment'>{{ form.comment_a4.label }}</label>{{ form.comment_a4 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
152 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
153 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
154 |
{{ form.attribute5.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
155 |
<strong>{{ form.attribute5.label }}</strong><br /> |
42
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
156 |
<input name="attribute5" type="radio" class="star" title="Poor" value="1"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
157 |
<input name="attribute5" type="radio" class="star" title="Average" value="2"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
158 |
<input name="attribute5" type="radio" class="star" title="Good" value="3"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
159 |
<input name="attribute5" type="radio" class="star" title="Very Good" value="4"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
160 |
<input name="attribute5" type="radio" class="star" title="Excellent" value="5"/> |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
161 |
{% if form.attribute5.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
162 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
163 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
164 |
{{ form.comment_a5.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
165 |
<label id='id_comment'>{{ form.comment_a5.label }}</label>{{ form.comment_a5 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
166 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
167 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
168 |
{{ form.attribute6.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
169 |
<strong>{{ form.attribute6.label }}</strong><br /> |
42
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
170 |
<input name="attribute6" type="radio" class="star" title="Poor" value="1"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
171 |
<input name="attribute6" type="radio" class="star" title="Average" value="2"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
172 |
<input name="attribute6" type="radio" class="star" title="Good" value="3"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
173 |
<input name="attribute6" type="radio" class="star" title="Very Good" value="4"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
174 |
<input name="attribute6" type="radio" class="star" title="Excellent" value="5"/> |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
175 |
{% if form.attribute6.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
176 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
177 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
178 |
{{ form.comment_a6.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
179 |
<label id='id_comment'>{{ form.comment_a6.label }}</label>{{ form.comment_a6 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
180 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
181 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
182 |
{{ form.attribute7.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
183 |
<strong>{{ form.attribute7.label }}</strong><br /> |
42
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
184 |
<input name="attribute7" type="radio" class="star" title="Poor" value="1"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
185 |
<input name="attribute7" type="radio" class="star" title="Average" value="2"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
186 |
<input name="attribute7" type="radio" class="star" title="Good" value="3"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
187 |
<input name="attribute7" type="radio" class="star" title="Very Good" value="4"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
188 |
<input name="attribute7" type="radio" class="star" title="Excellent" value="5"/> |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
189 |
{% if form.attribute7.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
190 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
191 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
192 |
{{ form.comment_a7.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
193 |
<label id='id_comment'>{{ form.comment_a7.label }}</label>{{ form.comment_a7 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
194 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
195 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
196 |
{{ form.attribute8.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
197 |
<strong>{{ form.attribute8.label }}</strong><br /> |
42
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
198 |
<input name="attribute8" type="radio" class="star" title="Poor" value="1"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
199 |
<input name="attribute8" type="radio" class="star" title="Average" value="2"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
200 |
<input name="attribute8" type="radio" class="star" title="Good" value="3"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
201 |
<input name="attribute8" type="radio" class="star" title="Very Good" value="4"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
202 |
<input name="attribute8" type="radio" class="star" title="Excellent" value="5"/> |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
203 |
{% if form.attribute8.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
204 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
205 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
206 |
{{ form.comment_a8.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
207 |
<label id='id_comment'>{{ form.comment_a8.label }}</label>{{ form.comment_a8 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
208 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
209 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
210 |
{{ form.attribute9.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
211 |
<strong>{{ form.attribute9.label }}</strong><br /> |
42
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
212 |
<input name="attribute9" type="radio" class="star" title="Poor" value="1"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
213 |
<input name="attribute9" type="radio" class="star" title="Average" value="2"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
214 |
<input name="attribute9" type="radio" class="star" title="Good" value="3"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
215 |
<input name="attribute9" type="radio" class="star" title="Very Good" value="4"/> |
4cf4c1f0e5bb
Review form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
39
diff
changeset
|
216 |
<input name="attribute9" type="radio" class="star" title="Excellent" value="5"/> |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
217 |
{% if form.attribute9.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
218 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
219 |
<p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
220 |
{{ form.comment_a9.errors }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
221 |
<label id='id_comment'>{{ form.comment_a9.label }}</label>{{ form.comment_a9 }} |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
222 |
</p> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
223 |
<br /><br /> |
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
224 |
<p> |
28
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
225 |
{% if form.comment.help_text %} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
226 |
<script type="text/javascript"> |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
227 |
$(document).ready( function() { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
228 |
var tooltip = [ |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
229 |
"<div class='tooltip'>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
230 |
" <div class='tooltip-body'>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
231 |
" <img src='/site-content/images/info.png' alt='' />", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
232 |
" <h3>Info</h3>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
233 |
" <p>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
234 |
" {% autoescape off %}", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
235 |
" {{ form.comment.help_text|linebreaksbr|escapejs }}", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
236 |
" {% endautoescape %}", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
237 |
" </p>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
238 |
" </div>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
239 |
" <div class='tooltip-bottom'></div>", |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
240 |
"</div>" |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
241 |
].join(""); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
242 |
|
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
243 |
var tooltip_object=null; |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
244 |
var documented = $("#id_{{ form.comment.name }}"); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
245 |
var not_fieldset = documented.attr('tagName') !== 'FIELDSET'; |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
246 |
if (not_fieldset) { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
247 |
documented.focus(function() { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
248 |
if (tooltip_object==null) { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
249 |
tooltip_object = $(tooltip).purr({usingTransparentPNG: true,removeTimer: 10000}); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
250 |
} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
251 |
}); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
252 |
documented.blur(function() { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
253 |
if (tooltip_object!==null) { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
254 |
tooltip_object.remove(); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
255 |
tooltip_object=null; |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
256 |
} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
257 |
}); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
258 |
} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
259 |
else { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
260 |
documented.find("input").hover(function() { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
261 |
if (tooltip_object==null) { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
262 |
tooltip_object = $(tooltip).purr({usingTransparentPNG: true,removeTimer: 10000}); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
263 |
} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
264 |
}, |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
265 |
function() { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
266 |
if (tooltip_object!==null) { |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
267 |
tooltip_object.remove(); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
268 |
tooltip_object=null; |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
269 |
} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
270 |
}); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
271 |
} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
272 |
}); |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
273 |
</script> |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
274 |
{% endif %} |
be65e84e7d03
Added star-plugin files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
27
diff
changeset
|
275 |
{{ form.comment.errors }} |
39
e7880a8f7e04
Changes to the data model for including blank districts.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
38
diff
changeset
|
276 |
<label id='id_comment'>{{ form.comment.label }}</label>{{ form.comment }}{% if form.comment.field.required %}<span class="specialclass"> (required)</span>{% endif %} |
29
425626c7f63e
Star rating completed on client side.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
28
diff
changeset
|
277 |
</p> |
0 | 278 |
<br /> |
279 |
<input class="button" type="submit" value="Submit Review" /> |
|
14 | 280 |
</p> |
0 | 281 |
</form> |
282 |
||
14 | 283 |
<p class="post-footer align-right"> |
284 |
<span class="comments">Reviews: |
|
285 |
{% if nr_reviews %} |
|
286 |
{{ nr_reviews }} |
|
287 |
{% else %} |
|
288 |
(<i>None</i>) |
|
289 |
{% endif %} |
|
290 |
</span> |
|
291 |
<span class="date">Last reviewed: |
|
292 |
{% if last_reviewed %} |
|
293 |
{{ last_reviewed|date:"jS F Y h:iA" }} |
|
294 |
{% else %} |
|
295 |
(<i>Not Reviewed</i>) |
|
296 |
{% endif %} |
|
297 |
</span> |
|
298 |
<span class="date">Last submitted: |
|
299 |
{% if last_submitted %} |
|
300 |
{{ last_submitted|date:"jS F Y h:iA" }} |
|
301 |
{% else %} |
|
302 |
(<i>New Submission</i>) |
|
303 |
{% endif %} |
|
304 |
</span> |
|
305 |
</p> |
|
26
97bd3c28c957
Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
306 |
{% if reviews %} |
27
37612f295cd4
Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
26
diff
changeset
|
307 |
<br /><br /> |
37612f295cd4
Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
26
diff
changeset
|
308 |
<p> |
37612f295cd4
Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
26
diff
changeset
|
309 |
<h2>Reviews: Comments and Scores:</h2> |
26
97bd3c28c957
Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
310 |
{% for review in reviews %} |
97bd3c28c957
Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
311 |
{% as_review review %} |
97bd3c28c957
Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
312 |
{% endfor %} |
27
37612f295cd4
Added comments for ranks and reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
26
diff
changeset
|
313 |
</p> |
26
97bd3c28c957
Renamed Comments to Reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
14
diff
changeset
|
314 |
{% endif %} |
0 | 315 |
</div> |
316 |
{% endblock content %} |