Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
problem-builder
Commits
f9176c1c
Commit
f9176c1c
authored
Aug 30, 2014
by
dragonfi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly close input tags
parent
78bf201b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
15 deletions
+14
-15
mentoring/templates/html/mcqblock_choices.html
+2
-2
mentoring/templates/html/mcqblock_rating.html
+6
-6
mentoring/templates/html/mentoring.html
+4
-4
mentoring/templates/html/mrqblock_choices.html
+2
-3
No files found.
mentoring/templates/html/mcqblock_choices.html
View file @
f9176c1c
<fieldset
class=
"choices questionnaire"
>
<legend
class=
"question"
>
<h3>
QUESTION
</h3>
<h3>
QUESTION
{{ self.index }}
</h3>
<p>
{{ self.question }}
</p>
</legend>
<div
class=
"choices-list"
>
...
...
@@ -8,7 +8,7 @@
<div
class=
"choice"
>
<div
class=
"choice-result icon-2x"
></div>
<label
class=
"choice-label"
>
<input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"{{ choice.value }}"
{%
if
self
.
student_choice =
=
choice
.
value
%}
checked
{%
endif
%}
>
{{ choice.content }}
<input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"{{ choice.value }}"
{%
if
self
.
student_choice =
=
choice
.
value
%}
checked
{%
endif
%}
/>
{{ choice.content }}
</label>
<div
class=
"choice-tips"
></div>
</div>
...
...
mentoring/templates/html/mcqblock_rating.html
View file @
f9176c1c
...
...
@@ -3,35 +3,35 @@
<div
class=
"choices-list"
>
<div
class=
"choice"
>
<div
class=
"choice-result icon-2x"
></div>
<label><input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"1"
{%
if
self
.
student_choice =
=
'
1
'
%}
checked
{%
endif
%}
>
1
</label>
<label><input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"1"
{%
if
self
.
student_choice =
=
'
1
'
%}
checked
{%
endif
%}
/
>
1
</label>
<span
class=
"low"
>
- {{ self.low }}
</span>
<div
class=
"choice-tips"
></div>
</div>
<div
class=
"choice"
>
<div
class=
"choice-result icon-2x"
></div>
<label><input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"2"
{%
if
self
.
student_choice =
=
'
2
'
%}
checked
{%
endif
%}
>
2
</label>
<label><input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"2"
{%
if
self
.
student_choice =
=
'
2
'
%}
checked
{%
endif
%}
/
>
2
</label>
<div
class=
"choice-tips"
></div>
</div>
<div
class=
"choice"
>
<div
class=
"choice-result icon-2x"
></div>
<label><input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"3"
{%
if
self
.
student_choice =
=
'
3
'
%}
checked
{%
endif
%}
>
3
</label>
<label><input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"3"
{%
if
self
.
student_choice =
=
'
3
'
%}
checked
{%
endif
%}
/
>
3
</label>
<div
class=
"choice-tips"
></div>
</div>
<div
class=
"choice"
>
<div
class=
"choice-result icon-2x"
></div>
<label><input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"4"
{%
if
self
.
student_choice =
=
'
4
'
%}
checked
{%
endif
%}
>
4
</label>
<label><input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"4"
{%
if
self
.
student_choice =
=
'
4
'
%}
checked
{%
endif
%}
/
>
4
</label>
<div
class=
"choice-tips"
></div>
</div>
<div
class=
"choice"
>
<div
class=
"choice-result icon-2x"
></div>
<label><input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"5"
{%
if
self
.
student_choice =
=
'
5
'
%}
checked
{%
endif
%}
>
5
</label>
<label><input
class=
"choice-selector"
type=
"radio"
name=
"{{ self.name }}"
value=
"5"
{%
if
self
.
student_choice =
=
'
5
'
%}
checked
{%
endif
%}
/
>
5
</label>
<span
class=
"low"
>
- {{ self.high }}
</span>
<div
class=
"choice-tips"
></div>
</div>
{% for choice in custom_choices %}
<div
class=
"choice"
>
<div
class=
"choice-result icon-2x"
></div>
<label><input
type=
"radio"
name=
"{{ self.name }}"
value=
"{{ choice.value }}"
{%
if
self
.
student_choice =
=
'{{
choice
.
value
}}'
%}
checked
{%
endif
%}
>
{{ choice.content }}
</label>
<label><input
type=
"radio"
name=
"{{ self.name }}"
value=
"{{ choice.value }}"
{%
if
self
.
student_choice =
=
'{{
choice
.
value
}}'
%}
checked
{%
endif
%}
/>
{{ choice.content }}
</label>
<div
class=
"choice-tips"
></div>
</div>
{% endfor %}
...
...
mentoring/templates/html/mentoring.html
View file @
f9176c1c
...
...
@@ -26,12 +26,12 @@
<span
class=
"assessment-checkmark icon-2x"
></span>
{% endif %}
<input
type=
"button"
class=
"input-main"
value=
"Submit"
disabled=
"disabled"
></input
>
<input
type=
"button"
class=
"input-main"
value=
"Submit"
disabled=
"disabled"
/
>
{% if self.mode == 'assessment' %}
<input
type=
"button"
class=
"input-next"
value=
"Next Question"
disabled=
"disabled"
></input
>
<input
type=
"button"
class=
"input-review"
value=
"Review grade"
disabled=
"disabled"
></input
>
<input
type=
"button"
class=
"input-try-again"
value=
"Try again"
disabled=
"disabled"
></input
>
<input
type=
"button"
class=
"input-next"
value=
"Next Question"
disabled=
"disabled"
/
>
<input
type=
"button"
class=
"input-review"
value=
"Review grade"
disabled=
"disabled"
/
>
<input
type=
"button"
class=
"input-try-again"
value=
"Try again"
disabled=
"disabled"
/
>
{% endif %}
<div
class=
"attempts"
data-max_attempts=
"{{ self.max_attempts }}"
data-num_attempts=
"{{ self.num_attempts }}"
></div>
...
...
mentoring/templates/html/mrqblock_choices.html
View file @
f9176c1c
<fieldset
class=
"choices questionnaire"
data-hide_results=
"{{self.hide_results}}"
>
<legend
class=
"question"
>
<h3>
QUESTION
</h3>
<h3>
QUESTION
{{ self.index }}
</h3>
<p>
{{ self.question }}
</p>
</legend>
<div
class=
"choices-list"
>
...
...
@@ -11,9 +11,8 @@
<label
class=
"choice-label"
>
<input
class=
"choice-selector"
type=
"checkbox"
name=
"{{ self.name }}"
value=
"{{ choice.value }}"
{%
if
choice
.
value
in
self
.
student_choices
%}
checked
{%
endif
%}
>
{%
if
choice
.
value
in
self
.
student_choices
%}
checked
{%
endif
%}
/
>
{{ choice.content }}
</input>
</label>
<div
class=
"choice-tips"
></div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment