summaryrefslogtreecommitdiff
path: root/static/website/templates/take_quiz.html
blob: fbfa9fcb277d0ab68241955f0303a993acf0109a (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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
{% extends "base.html" %}

{% load static %}
 {% block content %}
<br><br><br><br>

{% if set_visible %}
    <div class="container">

        {% if messages %}
		<ul class="messages">
		    {% for message in messages %}
		    	<div class="alert alert-{{ message.tags }}">
				    <li {% if message.tags %} class="{{ message.tags }}"{% endif %}> {{ message }}
				    </li>
			    </div>
		    {% endfor %}
		</ul>
    {% endif %}
    
    {% if question_list is None %}
        <div class="alert alert-success">
            <strong>You've Already taken the quiz, please come tomorrow for other questions!</strong> 
        </div>
    {% else %}
   <form method="POST">
       {% csrf_token %}
    <div class="question_one">
    <strong>{{ question_list.0.question | safe }}</strong><br>
    <input type="radio" value="{{question_list.0.option_1}}" name="q1"> {{ question_list.0.option_1 }}<br>
    <input type="radio" value="{{question_list.0.option_2}}" name="q1"> {{ question_list.0.option_2 }}<br>
    <input type="radio" value="{{question_list.0.option_3}}" name="q1"> {{ question_list.0.option_3 }}<br>
    <input type="radio" value="{{question_list.0.option_4}}" name="q1"> {{ question_list.0.option_4 }}<br>
    <br> <br> <br>
    </div>
   
    <div class="question_two">
        <strong>{{ question_list.1.question | safe }}</strong><br>
        <input type="radio" value="{{question_list.1.option_1}}" name="q2"> {{ question_list.1.option_1 }}<br>
        <input type="radio" value="{{question_list.1.option_2}}" name="q2"> {{ question_list.1.option_2 }}<br>
        <input type="radio" value="{{question_list.1.option_3}}" name="q2"> {{ question_list.1.option_3 }}<br>
        <input type="radio" value="{{question_list.1.option_4}}" name="q2"> {{ question_list.1.option_4 }}<br>
        <br>
    </div>
    <button class="btn btn-primary center-block" type="Submit">Submit</button> <br>
    </form>
    {% endif %}
    </div>  

    {% else %}

        <!--
    <div class="container">
       <h2> DWSIM Flowsheeting Creation Competition</h2>
       <br>
        <ul>
    <li> Top 8 participants in the leaderboard by end of 02-11-2018, 11:59 PM are eligible for this competition.</li>
    <li> These participants will receive the problem statement to be solved in DWSIM directly through e-mail by 03-11-2018, 12:00 noon.</li>
    <li>Participants have to propose the assigned flowsheet in the DWSIM Flowsheeting Project webpage using the proposal form 
        <a href="https://dwsim.fossee.in/flowsheeting-project/proposal" style="color: #cc0000">here.</a> 
        The proposal should be submitted by 04-11-2018, 12:00 noon.</li>
    <li>In case of any issues regarding submission of proposal, please write to us at <a href="mailto:contact-dwsim@fossee.in" style="color: hsl(236, 95%, 50%)">contact-dwsim@fossee.in</a> before the deadline for proposal submission.</li>
    <li>Participants can start creating the simulation for the assigned flowsheet as soon as they  submit the proposal. Participants need not wait for approval of the proposal to start working on the flowsheet.</li>
    <li>No extension in deadline will be granted for submission of proposal. If any of the participant doesn’t submit the proposal by the given deadline, flowsheet will be assigned to the next participant i.e. the 9th participant in the leaderboard and so on.</li>
    <li>Solve the flowsheet using <u>DWSIM Version 5.4 Update 2.</u></li>
    <li>Flowsheet and a well written abstract should be submitted <a href="https://dwsim.fossee.in/flowsheeting-project/abstract-code/upload" style="color: #cc0000">here.</a></li>
    <li>Flowsheet creation competition would carry 50 marks in total divided in the following manner.</li>
    <ol>
        <li>Approach to the flowsheet   -  10</li>
        <li>Validation / Accuracy of results in the flowsheet   -  20 </li>
        <li>Presentation of the flowsheet - 10 </li>
        <li>Abstract - 10</li>
    </ol>
    <li>Please adhere to the guidelines for the flowsheet development and abstract mentioned <a href="https://dwsim.fossee.in/flowsheeting-project/coding-guidelines-flowsheeting" style="color: #cc0000">here.</a></li>
    <li>The last date for submission of flow sheet is 8-11-2018, 11:59 PM.</li>
    <li>Submission of correct flowsheet by 04-11-2018, 11:59 PM will attract bonus of 10 marks.</li>
    <li>Submission of correct flowsheet by 05-11-2018, 11:59 PM will attract bonus of 7 marks.</li>
    <li> Submission of correct flowsheet by 06-11-2018, 11:59 PM will attract bonus of 5 marks.</li>
    <li>If the flowsheet is not as per the given problem statement, participants will be given chance to correct and re-upload the flowsheet. In that case, no bonus marks will be rewarded.</li>
    <li>Decision of the NCCPS team regarding marking of the flowsheeting competition will be final.</li>
    <br>
    </ul>
    </div>
    --->
    <br>
 
    <section>

    <div class="container">
        <h1>Leaderboard</h1>
        <h4>This is the final leaderboard after addition of online quiz and flowsheeting competition marks</h4>
        <table border="1" width="90%"> 
            <thead>
                <tr>
                    <th>Rank</th>
                    <th>Participant Name</th>
                    &nbsp
                    <th>Score</th>
                </tr>
            </thead>
            
            <tbody>
                <tr>
                    <td>1</td>
                    <td>
                        &nbsp    Mehulkumar Sutariya
                    </td>
                    <td>
                        &nbsp 132
                    </td>
                </tr>

                <tr>
                        <td>2</td>
                        <td>
                            &nbsp Vignesh Candasamy
                        </td>
                        <td>
                            &nbsp 131
                        </td>
                </tr>

                <tr>
                        <td>3</td>
                        <td>
                            &nbsp Sushruth Nambiath
                        </td>
                        <td>
                            &nbsp 76
                        </td>
                </tr>

                <tr>
                        <td>4</td>
                        <td>
                            &nbsp Varun Doshi
                        </td>
                        <td>
                            &nbsp 72
                        </td>
                </tr>

                <tr>
                        <td>5</td>
                        <td>
                            &nbsp Jayram Ganesan
                        </td>
                        <td>
                            &nbsp 67
                        </td>
                </tr>


                <tr>
                        <td>6</td>
                        <td>
                            &nbsp Swetha Saraswathi
                        </td>
                        <td>
                            &nbsp 51
                        </td>
                </tr>

                <tr>
                        <td>7</td>
                        <td>
                            &nbsp Prassana R
                        </td>
                        <td>
                            &nbsp 48
                        </td>
                </tr>

                <tr>
                        <td>8</td>
                        <td>
                            &nbsp Amarnath
                        </td>
                        <td>
                            &nbsp 35
                        </td>
                </tr>


                <tr>
                        <td>9</td>
                        <td>
                            &nbsp Pranaav
                        </td>
                        <td>
                            &nbsp 26
                        </td>
                </tr>

                <tr>
                        <td>10</td>
                        <td>
                            &nbsp Akash Subramaniam
                        </td>
                        <td>
                            &nbsp 26
                        </td>
                </tr>

                <tr>
                        <td>11</td>
                        <td>
                            &nbsp Charan Rajagopal
                        </td>
                        <td>
                            &nbsp 8
                        </td>
                </tr>


                <tr>
                        <td>12</td>
                        <td>
                            &nbsp Athithyan
                        </td>
                        <td>
                            &nbsp 3
                        </td>
                </tr>

            </tbody>
        </table>

    </div>
    </section>
<br><br>

    {% endif %}

  {% endblock %}