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
6a6962df
Commit
6a6962df
authored
Feb 07, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Alter rubric list, restyle rubric
parent
83608fd9
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
6 deletions
+13
-6
common/lib/xmodule/xmodule/css/combinedopenended/display.scss
+7
-0
common/lib/xmodule/xmodule/js/src/peergrading/peer_grading_problem.coffee
+1
-1
lms/static/sass/course/_rubric.scss
+3
-3
lms/templates/open_ended_rubric.html
+2
-2
No files found.
common/lib/xmodule/xmodule/css/combinedopenended/display.scss
View file @
6a6962df
...
...
@@ -478,6 +478,13 @@ section.open-ended-child {
margin-left
:
.75rem
;
}
ul
.rubric-list
{
list-style-type
:
none
;
padding
:
0
;
margin
:
0
;
}
ol
{
list-style
:
decimal
outside
none
;
margin-bottom
:
lh
();
...
...
common/lib/xmodule/xmodule/js/src/peergrading/peer_grading_problem.coffee
View file @
6a6962df
...
...
@@ -239,7 +239,7 @@ class @PeerGradingProblem
# finds the scores for each rubric category
get_score_list
:
()
=>
# find the number of categories:
num_categories
=
$
(
'
table.rubric tr
'
).
length
num_categories
=
$
(
'
ul.rubric-list li
'
).
length
score_lst
=
[]
# get the score for each one
...
...
lms/static/sass/course/_rubric.scss
View file @
6a6962df
...
...
@@ -46,11 +46,11 @@
position
:
relative
;
font-size
:
16px
;
}
ul
ul
.rubric-list
{
list-style-type
:
none
;
padding
:
0
;
margin
:
0
;
}
}
lms/templates/open_ended_rubric.html
View file @
6a6962df
...
...
@@ -11,7 +11,7 @@
% for i in range(len(categories)):
<
%
category =
categories[i]
%
>
<b>
${category['description']}
</b><br/>
<ul>
<ul
class=
"rubric-list"
>
% for j in range(len(category['options'])):
<
%
option =
category['options'][j]
%
>
%if option['selected']:
...
...
@@ -27,7 +27,7 @@
% else:
<label
class=
"rubric-label"
for=
"score-${i}-${j}"
>
<input
type=
"radio"
class=
"score-selection"
name=
"score-selection-${i}"
id=
"score-${i}-${j}"
value=
"${option['points']}"
/>
<span
class=
"wrappable"
>
${option['points']} points : ${option['text']}
</span>
<span
class=
"wrappable"
>
${option['points']} points : ${option['text']}
</span>
</label>
% endif
</li>
...
...
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