ruql 0.1.5 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- <%= yield %>
@@ -1,42 +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; }
10
- li.multiplechoice ol.answers { list-style-type: lower-alpha; }
11
- li.selectmultiple ol.answers { vertical-align: center; list-style-type: none; list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUAQMAAAC3R49OAAAABlBMVEUAAAD///+l2Z/dAAAAEklEQVQImWNgAIL6/w+ogoEAAKI4Kp2NVIeDAAAAAElFTkSuQmCC'); }
12
- li.truefalse ol.answers { list-style-type: none; }
13
- .correct { color: green; font-weight: bold; border: 1px solid black; padding: 0.2ex; }
14
- .incorrect { color: red }
15
- .explanation { font-style: italic }
16
- .instructions { clear: both; border: 1px solid black; align: center; padding: 2ex; margin: 2ex; }
17
- </style>
18
- </head>
19
- <body>
20
- <div class="header">
21
- <div id="name">Name:</div>
22
- <div id="sid">SID:</div>
23
- </div>
24
- <h1><%= quiz.title %></h1>
25
- <div class="instructions">
26
- <ul>
27
- <li>No books, notes, or electronic devices allowed. </li>
28
- <li>Time limit is 30 minutes.</li>
29
- <li><%= quiz.num_questions %> multiple-choice questions, points indicated per question,
30
- <%= quiz.points %> points total. Points per question are intended
31
- to reflect approximate times they should take, at about 1 point per minute.</li>
32
- <li>For 'select all that apply' questions worth N points,
33
- you get 1/N of the points for each RIGHT answer that you check, plus
34
- 1/N of the points for each WRONG answer that you correctly
35
- leave unchecked. That is, equal weight is given to deciding
36
- whether each choice is part of the right answer or not.</li>
37
- </ul>
38
- <b>Good skill!</b>
39
- </div>
40
- <%= yield %>
41
- </body>
42
- </html>
@@ -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>