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
c195fe65
Commit
c195fe65
authored
Feb 07, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restyle rubric list, submission container
parent
198885f7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
12 deletions
+30
-12
common/lib/xmodule/xmodule/css/combinedopenended/display.scss
+8
-5
common/lib/xmodule/xmodule/js/src/peergrading/peer_grading_problem.coffee
+2
-2
lms/static/sass/course/_staff_grading.scss
+16
-1
lms/templates/open_ended_rubric.html
+2
-2
lms/templates/peer_grading/peer_grading_problem.html
+2
-2
No files found.
common/lib/xmodule/xmodule/css/combinedopenended/display.scss
View file @
c195fe65
...
@@ -401,7 +401,7 @@ section.open-ended-child {
...
@@ -401,7 +401,7 @@ section.open-ended-child {
div
.short-form-response
{
div
.short-form-response
{
background
:
#F6F6F6
;
background
:
#F6F6F6
;
border
:
1px
solid
#ddd
;
border
:
1px
solid
#ddd
;
margin-bottom
:
2
0px
;
margin-bottom
:
0px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
height
:
200px
;
height
:
200px
;
@include
clearfix
;
@include
clearfix
;
...
@@ -475,13 +475,16 @@ section.open-ended-child {
...
@@ -475,13 +475,16 @@ section.open-ended-child {
margin-left
:
.75rem
;
margin-left
:
.75rem
;
}
}
ul
.rubric-list
ul
.rubric-list
{
{
list-style-type
:
none
;
list-style-type
:
none
;
padding
:
0
;
padding
:
0
;
margin
:
0
;
margin
:
0
;
float
:left
;
li
{
display
:
block
;
&
.rubric-list-item
{
margin-bottom
:
0px
;
padding
:
0px
;
}
}
}
}
ol
{
ol
{
...
...
common/lib/xmodule/xmodule/js/src/peergrading/peer_grading_problem.coffee
View file @
c195fe65
...
@@ -323,7 +323,7 @@ class @PeerGradingProblem
...
@@ -323,7 +323,7 @@ class @PeerGradingProblem
if
response
.
success
if
response
.
success
# load in all the data
# load in all the data
@
submission_container
.
html
(
"
<h3>Training Essay</h3>
"
)
@
submission_container
.
html
(
""
)
@
render_submission_data
(
response
)
@
render_submission_data
(
response
)
# TODO: indicate that we're in calibration mode
# TODO: indicate that we're in calibration mode
@
calibration_panel
.
addClass
(
'current-state'
)
@
calibration_panel
.
addClass
(
'current-state'
)
...
@@ -350,7 +350,7 @@ class @PeerGradingProblem
...
@@ -350,7 +350,7 @@ class @PeerGradingProblem
render_submission
:
(
response
)
=>
render_submission
:
(
response
)
=>
if
response
.
success
if
response
.
success
@
submit_button
.
hide
()
@
submit_button
.
hide
()
@
submission_container
.
html
(
"
<h3>Submitted Essay</h3>
"
)
@
submission_container
.
html
(
""
)
@
render_submission_data
(
response
)
@
render_submission_data
(
response
)
@
calibration_panel
.
removeClass
(
'current-state'
)
@
calibration_panel
.
removeClass
(
'current-state'
)
...
...
lms/static/sass/course/_staff_grading.scss
View file @
c195fe65
...
@@ -5,6 +5,18 @@ div.peer-grading{
...
@@ -5,6 +5,18 @@ div.peer-grading{
margin
:
0px
;
margin
:
0px
;
}
}
ul
.rubric-list
{
list-style-type
:
none
;
padding
:
0
;
margin
:
0
;
li
{
&
.rubric-list-item
{
margin-bottom
:
0px
;
padding
:
0px
;
}
}
}
h1
{
h1
{
margin
:
0
0
0
10px
;
margin
:
0
0
0
10px
;
}
}
...
@@ -18,6 +30,10 @@ div.peer-grading{
...
@@ -18,6 +30,10 @@ div.peer-grading{
div
{
div
{
margin
:
0px
;
margin
:
0px
;
&
.submission-container
{
overflow-y
:
auto
;
height
:
200px
;
}
}
}
label
{
label
{
...
@@ -132,7 +148,6 @@ div.peer-grading{
...
@@ -132,7 +148,6 @@ div.peer-grading{
padding
:
2px
;
padding
:
2px
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
background
:
#eee
;
background
:
#eee
;
height
:
10em
;
width
:
47
.6%
;
width
:
47
.6%
;
h3
h3
{
{
...
...
lms/templates/open_ended_rubric.html
View file @
c195fe65
...
@@ -15,9 +15,9 @@
...
@@ -15,9 +15,9 @@
% for j in range(len(category['options'])):
% for j in range(len(category['options'])):
<
%
option =
category['options'][j]
%
>
<
%
option =
category['options'][j]
%
>
%if option['selected'] and not view_only:
%if option['selected'] and not view_only:
<li
class=
"selected-grade"
>
<li
class=
"selected-grade
rubric-list-item
"
>
%else:
%else:
<li>
<li
class=
"rubric-list-item"
>
% endif
% endif
% if view_only:
% if view_only:
% if option['selected']:
% if option['selected']:
...
...
lms/templates/peer_grading/peer_grading_problem.html
View file @
c195fe65
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</div>
</div>
<div
class=
"prompt-wrapper"
>
<div
class=
"prompt-wrapper"
>
<h2>
Question
<a
href=
"#"
class=
"question-header"
>
(Hide)
</a>
</h2>
<h2>
Prompt
<a
href=
"#"
class=
"question-header"
>
(Hide)
</a>
</h2>
<div
class=
"prompt-information-container"
>
<div
class=
"prompt-information-container"
>
<section>
<section>
<div
class=
"prompt-container"
>
<div
class=
"prompt-container"
>
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<section
class=
"grading-wrapper"
>
<section
class=
"grading-wrapper"
>
<h2>
Grading
</h2>
<h2>
Student Response
</h2>
<div
class=
"grading-container"
>
<div
class=
"grading-container"
>
<div
class=
"submission-wrapper"
>
<div
class=
"submission-wrapper"
>
...
...
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