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
b7cadf43
Commit
b7cadf43
authored
Jul 11, 2013
by
Jason Bau
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #375 from edx/giulio/peer-grading-style-release
Giulio/peer grading style release
parents
88e580bc
c047050e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
14 deletions
+21
-14
common/lib/xmodule/xmodule/css/combinedopenended/display.scss
+1
-0
common/lib/xmodule/xmodule/css/sequence/display.scss
+4
-5
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
+7
-4
common/lib/xmodule/xmodule/js/src/peergrading/peer_grading_problem.coffee
+2
-2
lms/djangoapps/courseware/tabs.py
+2
-1
lms/templates/courseware/course_navigation.html
+2
-0
lms/templates/peer_grading/peer_grading_problem.html
+3
-2
No files found.
common/lib/xmodule/xmodule/css/combinedopenended/display.scss
View file @
b7cadf43
...
@@ -52,6 +52,7 @@ section.legend-container {
...
@@ -52,6 +52,7 @@ section.legend-container {
width
:
20%
;
width
:
20%
;
}
}
margin-bottom
:
5px
;
margin-bottom
:
5px
;
display
:
none
!
important
;
}
}
section
.combined-open-ended-status
{
section
.combined-open-ended-status
{
...
...
common/lib/xmodule/xmodule/css/sequence/display.scss
View file @
b7cadf43
...
@@ -2,7 +2,7 @@ nav.sequence-nav {
...
@@ -2,7 +2,7 @@ nav.sequence-nav {
// TODO (cpennington): This doesn't work anymore. XModules aren't able to
// TODO (cpennington): This doesn't work anymore. XModules aren't able to
// import from external sources.
// import from external sources.
@extend
.topbar
;
@extend
.topbar
;
margin
:
-4px
0
30px
;
margin
:
-4px
30px
30px
30px
;
position
:
relative
;
position
:
relative
;
border-bottom
:
none
;
border-bottom
:
none
;
...
@@ -35,7 +35,7 @@ nav.sequence-nav {
...
@@ -35,7 +35,7 @@ nav.sequence-nav {
z-index
:
99
;
z-index
:
99
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
height
:
44px
;
height
:
44px
;
margin
:
0
30px
;
margin
:
0
;
@include
linear-gradient
(
top
,
#ddd
,
#eee
);
@include
linear-gradient
(
top
,
#ddd
,
#eee
);
@include
box-shadow
(
0
1px
3px
rgba
(
0
,
0
,
0
,
.1
)
inset
);
@include
box-shadow
(
0
1px
3px
rgba
(
0
,
0
,
0
,
.1
)
inset
);
}
}
...
@@ -259,9 +259,8 @@ nav.sequence-nav {
...
@@ -259,9 +259,8 @@ nav.sequence-nav {
}
}
&
.prev
{
&
.prev
{
left
:
-
1
0px
;
left
:
-
4
0px
;
border-radius
:
35px
0
0
35px
;
border-radius
:
35px
0
0
35px
;
a
{
a
{
background-image
:
url('../images/sequence-nav/previous-icon.png')
;
background-image
:
url('../images/sequence-nav/previous-icon.png')
;
background-position
:
center
15px
;
background-position
:
center
15px
;
...
@@ -269,7 +268,7 @@ nav.sequence-nav {
...
@@ -269,7 +268,7 @@ nav.sequence-nav {
}
}
&
.next
{
&
.next
{
right
:
-
1
0px
;
right
:
-
4
0px
;
border-radius
:
0
35px
35px
0
;
border-radius
:
0
35px
35px
0
;
a
{
a
{
...
...
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
View file @
b7cadf43
...
@@ -152,10 +152,13 @@ class @CombinedOpenEnded
...
@@ -152,10 +152,13 @@ class @CombinedOpenEnded
@
out_of_sync_message
=
'The problem state got out of sync. Try reloading the page.'
@
out_of_sync_message
=
'The problem state got out of sync. Try reloading the page.'
if
@
task_number
>
1
# force show the prompt
@
prompt_hide
()
@
prompt_show
()
else
if
@
task_number
==
1
and
@
child_state
!=
'initial'
@
prompt_hide
()
# if @task_number>1
# @prompt_hide()
# else if @task_number==1 and @child_state!='initial'
# @prompt_hide()
@
find_assessment_elements
()
@
find_assessment_elements
()
@
find_hint_elements
()
@
find_hint_elements
()
...
...
common/lib/xmodule/xmodule/js/src/peergrading/peer_grading_problem.coffee
View file @
b7cadf43
...
@@ -344,7 +344,7 @@ class @PeerGradingProblem
...
@@ -344,7 +344,7 @@ class @PeerGradingProblem
if
response
.
success
if
response
.
success
@
is_calibrated_check
()
@
is_calibrated_check
()
@
grading_message
.
fadeIn
()
@
grading_message
.
fadeIn
()
@
grading_message
.
html
(
"<p>Successfully saved your feedback. Fetched the next essay.</p>"
)
@
grading_message
.
html
(
"<p>Successfully saved your feedback. Fetched the next essay.</p>"
)
.
focus
()
else
else
if
response
.
error
if
response
.
error
@
render_error
(
response
.
error
)
@
render_error
(
response
.
error
)
...
@@ -516,7 +516,7 @@ class @PeerGradingProblem
...
@@ -516,7 +516,7 @@ class @PeerGradingProblem
gentle_alert
:
(
msg
)
=>
gentle_alert
:
(
msg
)
=>
@
grading_message
.
fadeIn
()
@
grading_message
.
fadeIn
()
@
grading_message
.
html
(
"<p>"
+
msg
+
"</p>"
)
@
grading_message
.
html
(
"<p>"
+
msg
+
"</p>"
)
.
focus
()
collapse_question
:
()
=>
collapse_question
:
()
=>
@
prompt_container
.
slideToggle
()
@
prompt_container
.
slideToggle
()
...
...
lms/djangoapps/courseware/tabs.py
View file @
b7cadf43
...
@@ -168,7 +168,8 @@ def _peer_grading(tab, user, course, active_page):
...
@@ -168,7 +168,8 @@ def _peer_grading(tab, user, course, active_page):
def
_combined_open_ended_grading
(
tab
,
user
,
course
,
active_page
):
def
_combined_open_ended_grading
(
tab
,
user
,
course
,
active_page
):
if
user
.
is_authenticated
():
if
user
.
is_authenticated
():
link
=
reverse
(
'open_ended_notifications'
,
args
=
[
course
.
id
])
link
=
reverse
(
'open_ended_notifications'
,
args
=
[
course
.
id
])
tab_name
=
"Open Ended Panel"
# tab_name = "Open Ended Panel"
tab_name
=
"Grading Panel"
notifications
=
open_ended_notifications
.
combined_notifications
(
course
,
user
)
notifications
=
open_ended_notifications
.
combined_notifications
(
course
,
user
)
pending_grading
=
notifications
[
'pending_grading'
]
pending_grading
=
notifications
[
'pending_grading'
]
...
...
lms/templates/courseware/course_navigation.html
View file @
b7cadf43
...
@@ -17,6 +17,7 @@ def url_class(is_active):
...
@@ -17,6 +17,7 @@ def url_class(is_active):
<div
class=
"inner-wrapper"
>
<div
class=
"inner-wrapper"
>
<ol
class=
"course-tabs"
>
<ol
class=
"course-tabs"
>
% for tab in get_course_tabs(user, course, active_page):
% for tab in get_course_tabs(user, course, active_page):
% if tab.name != "Grading Panel" or staff_access:
<li>
<li>
<a
href=
"${tab.link | h}"
class=
"${url_class(tab.is_active)}"
>
<a
href=
"${tab.link | h}"
class=
"${url_class(tab.is_active)}"
>
${tab.name | h}
${tab.name | h}
...
@@ -28,6 +29,7 @@ def url_class(is_active):
...
@@ -28,6 +29,7 @@ def url_class(is_active):
%endif
%endif
</a>
</a>
</li>
</li>
% endif
% endfor
% endfor
<
%
block
name=
"extratabs"
/>
<
%
block
name=
"extratabs"
/>
% if masquerade is not UNDEFINED:
% if masquerade is not UNDEFINED:
...
...
lms/templates/peer_grading/peer_grading_problem.html
View file @
b7cadf43
...
@@ -27,6 +27,9 @@
...
@@ -27,6 +27,9 @@
<section
class=
"grading-wrapper"
>
<section
class=
"grading-wrapper"
>
<h2>
Student Response
</h2>
<h2>
Student Response
</h2>
<div
class=
"grading-message"
>
</div>
<div
class=
"grading-container"
>
<div
class=
"grading-container"
>
<div
class=
"submission-wrapper"
>
<div
class=
"submission-wrapper"
>
<h3></h3>
<h3></h3>
...
@@ -53,8 +56,6 @@
...
@@ -53,8 +56,6 @@
</div>
</div>
</div>
</div>
<div
class=
"grading-message"
>
</div>
</section>
</section>
</section>
</section>
...
...
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