Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx
edx-platform
Commits
9e5eca14
Commit
9e5eca14
authored
Feb 13, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Swap b tag for span
parent
65cb53b8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
common/lib/xmodule/xmodule/css/combinedopenended/display.scss
+1
-1
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
+2
-2
lms/templates/open_ended_combined_rubric.html
+1
-1
lms/templates/open_ended_rubric.html
+1
-1
No files found.
common/lib/xmodule/xmodule/css/combinedopenended/display.scss
View file @
9e5eca14
...
...
@@ -120,7 +120,7 @@ div.combined-rubric-container {
}
}
b
.rubric-category
{
span
.rubric-category
{
font-size
:
.9em
;
}
padding-bottom
:
5px
;
...
...
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
View file @
9e5eca14
...
...
@@ -4,7 +4,7 @@ class @Rubric
# finds the scores for each rubric category
@
get_score_list
:
()
=>
# find the number of categories:
num_categories
=
$
(
'
b
.rubric-category'
).
length
num_categories
=
$
(
'
span
.rubric-category'
).
length
score_lst
=
[]
# get the score for each one
...
...
@@ -23,7 +23,7 @@ class @Rubric
@
check_complete
:
()
->
# check to see whether or not any categories have not been scored
num_categories
=
$
(
'
b
.rubric-category'
).
length
num_categories
=
$
(
'
span
.rubric-category'
).
length
for
i
in
[
0
..(
num_categories
-
1
)]
score
=
$
(
"input[name='score-selection-
#{
i
}
']:checked"
).
val
()
if
score
==
undefined
...
...
lms/templates/open_ended_combined_rubric.html
View file @
9e5eca14
<div
class=
"rubric"
>
% for i in range(len(categories)):
<
%
category =
categories[i]
%
>
<
b
class=
"rubric-category"
>
${category['description']}
</b
>
<br/>
<
span
class=
"rubric-category"
>
${category['description']}
</span
>
<br/>
<ul
class=
"rubric-list"
>
% for j in range(len(category['options'])):
<
%
option =
category['options'][j]
%
>
...
...
lms/templates/open_ended_rubric.html
View file @
9e5eca14
...
...
@@ -4,7 +4,7 @@
<div
class=
"rubric"
>
% for i in range(len(categories)):
<
%
category =
categories[i]
%
>
<
b
class=
"rubric-category"
>
${category['description']}
</b
>
<br/>
<
span
class=
"rubric-category"
>
${category['description']}
</span
>
<br/>
<ul
class=
"rubric-list"
>
% for j in range(len(category['options'])):
<
%
option =
category['options'][j]
%
>
...
...
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