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
00b41439
Commit
00b41439
authored
Sep 26, 2013
by
Giulio Gratta
Committed by
Joe Blaylock
Sep 26, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ICE legend, add space to "offensive" checkbox, and fix undo
parent
07dc7ae0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
common/lib/xmodule/xmodule/js/src/peergrading/track_changes.coffee
+2
-1
lms/static/sass/course/_staff_grading.scss
+1
-1
lms/templates/peer_grading/peer_grading_problem.html
+3
-2
No files found.
common/lib/xmodule/xmodule/js/src/peergrading/track_changes.coffee
View file @
00b41439
...
@@ -56,7 +56,7 @@ class @TrackChanges
...
@@ -56,7 +56,7 @@ class @TrackChanges
key
=
parseInt
(
@
attr
(
'data-cid'
))
key
=
parseInt
(
@
attr
(
'data-cid'
))
if
key
>
keyToUndo
if
key
>
keyToUndo
keyToUndo
=
key
keyToUndo
=
key
ICE
tracker
.
rejectChange
(
'[data-cid="'
+
keyToUndo
+
'"]'
)
@
tracker
.
rejectChange
(
'[data-cid="'
+
keyToUndo
+
'"]'
)
stop_tracking_on_submit
:
()
=>
stop_tracking_on_submit
:
()
=>
@
tracker
.
stopTracking
()
@
tracker
.
stopTracking
()
\ No newline at end of file
lms/static/sass/course/_staff_grading.scss
View file @
00b41439
...
@@ -18,7 +18,7 @@ div.peer-grading{
...
@@ -18,7 +18,7 @@ div.peer-grading{
overflow
:
auto
;
overflow
:
auto
;
}
}
div
.feedback-area.track-changes
,
p
.legend
{
div
.feedback-area.track-changes
,
p
.
ice-
legend
{
.ice-controls
{
.ice-controls
{
float
:
right
;
float
:
right
;
}
}
...
...
lms/templates/peer_grading/peer_grading_problem.html
View file @
00b41439
...
@@ -55,8 +55,8 @@
...
@@ -55,8 +55,8 @@
<span
class=
"del"
>
${_("This is a deletion.")}
</span>
<span
class=
"del"
>
${_("This is a deletion.")}
</span>
<span
class=
"ins"
>
${_("[This is a comment.]")}
</span>
<span
class=
"ins"
>
${_("[This is a comment.]")}
</span>
<span
class=
"ice-controls"
>
<span
class=
"ice-controls"
>
<a
href=
"#"
class=
"undo-change"
><i
class=
"icon-undo"
></i>
Undo Change
</a>
<a
href=
"#"
class=
"reset-changes"
><i
class=
"icon-refresh"
></i>
Reset Changes
</a>
<a
href=
"#"
class=
"reset-changes"
><i
class=
"icon-refresh"
></i>
Reset Changes
</a>
<a
href=
"#"
class=
"undo-change"
><i
class=
"icon-undo"
></i>
Undo Change
</a>
</span>
</span>
</p>
</p>
<div
name=
"feedback"
class=
"feedback-area track-changes"
contenteditable=
"true"
></div>
<div
name=
"feedback"
class=
"feedback-area track-changes"
contenteditable=
"true"
></div>
...
@@ -65,8 +65,9 @@
...
@@ -65,8 +65,9 @@
<textarea
name=
"feedback"
placeholder=
"Feedback for student"
class=
"feedback-area"
cols=
"70"
></textarea>
<textarea
name=
"feedback"
placeholder=
"Feedback for student"
class=
"feedback-area"
cols=
"70"
></textarea>
% endif
% endif
<div
class=
"flag-student-container"
>
<div
class=
"flag-student-container"
>
<br
/>
<input
type=
"checkbox"
class=
"flag-checkbox"
value=
"student_is_flagged"
>
<input
type=
"checkbox"
class=
"flag-checkbox"
value=
"student_is_flagged"
>
${_("This submission has explicit, offensive, or (I suspect) plagiarized content
:
")}
${_("This submission has explicit, offensive, or (I suspect) plagiarized content
.
")}
</div>
</div>
</div>
</div>
<hr
/>
<hr
/>
...
...
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