ruql 0.1.4 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,44 +0,0 @@
1
- <html>
2
- <head>
3
- <title><%= quiz.title %></title>
4
- <style type="text/css" media="all">
5
- body { font-family: Times, serif; }
6
- .header { text-align: right; font-weight: bold; padding-right: 30%; line-height: 300%; }
7
- h1 { text-align: center; }
8
- ol.questions { list-style-type: number; }
9
- li.question { page-break-inside: avoid; border-bottom: 1px solid grey; padding-bottom: 2ex; }
10
- li.multiplechoice ol.answers { list-style-type: lower-alpha; }
11
- li.multiplechoice ol.answers li { padding-bottom: 0.5ex; }
12
- li.selectmultiple ol.answers { vertical-align: center; list-style-type: none; list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUAQMAAAC3R49OAAAABlBMVEUAAAD///+l2Z/dAAAAEklEQVQImWNgAIL6/w+ogoEAAKI4Kp2NVIeDAAAAAElFTkSuQmCC'); }
13
- li.truefalse ol.answers { list-style-type: none; }
14
- li.truefalse ol.answers li { width: 15%; display: inline-block; }
15
- .correct { color: green }
16
- .incorrect { color: red }
17
- .explanation { font-style: italic }
18
- .instructions { clear: both; border: 1px solid black; align: center; padding: 2ex; margin: 2ex; }
19
- </style>
20
- </head>
21
- <body>
22
- <div class="header">
23
- <div id="name">Name:</div>
24
- <div id="sid">SID:</div>
25
- </div>
26
- <h1><%= quiz.title %></h1>
27
- <div class="instructions">
28
- <ul>
29
- <li>No books, notes, or electronic devices allowed. </li>
30
- <li>Time limit is 30 minutes.</li>
31
- <li><%= quiz.num_questions %> multiple-choice questions, points indicated per question,
32
- <%= quiz.points %> points total. Points per question are intended
33
- to reflect approximate times they should take, at about 1 point per minute.</li>
34
- <li>For 'select all that apply' questions worth N points,
35
- you get 1/N of the points for each RIGHT answer that you check, plus
36
- 1/N of the points for each WRONG answer that you correctly
37
- leave unchecked. That is, equal weight is given to deciding
38
- whether each choice is part of the right answer or not.</li>
39
- </ul>
40
- <b>Good skill!</b>
41
- </div>
42
- <%= yield %>
43
- </body>
44
- </html>