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
1d87dab3
Commit
1d87dab3
authored
Dec 04, 2012
by
Victor Shnayder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove queueing spinner and polling logic, change message
- no polling, since instructors may take a long time to grade
parent
c57b9f32
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
16 deletions
+9
-16
common/lib/capa/capa/inputtypes.py
+3
-2
common/lib/capa/capa/templates/openendedinput.html
+1
-4
common/lib/xmodule/xmodule/css/capa/display.scss
+5
-10
No files found.
common/lib/capa/capa/inputtypes.py
View file @
1d87dab3
...
...
@@ -746,8 +746,9 @@ class OpenEndedInput(InputTypeBase):
tags
=
[
'openendedinput'
]
# pulled out for testing
submitted_msg
=
(
"Submitted. As soon as your submission is"
" graded, this message will be replaced with the grader's feedback."
)
submitted_msg
=
(
"Feedback not yet available. Reload to check again. "
"Once the problem is graded, this message will be "
"replaced with the grader's feedback"
)
@classmethod
def
get_attributes
(
cls
):
...
...
common/lib/capa/capa/templates/openendedinput.html
View file @
1d87dab3
...
...
@@ -13,15 +13,12 @@
% elif status == 'incorrect':
<span
class=
"incorrect"
id=
"status_${id}"
>
Incorrect
</span>
% elif status == 'queued':
<span
class=
"processing"
id=
"status_${id}"
>
Queued
</span>
<span
style=
"display:none;"
class=
"xqueue"
id=
"${id}"
>
${queue_len}
</span>
<span
class=
"grading"
id=
"status_${id}"
>
Submitted for grading
</span>
% endif
% if hidden:
<div
style=
"display:none;"
name=
"${hidden}"
inputid=
"input_${id}"
/>
% endif
<p
class=
"debug"
>
${status}
</p>
</div>
<span
id=
"answer_${id}"
></span>
...
...
common/lib/xmodule/xmodule/css/capa/display.scss
View file @
1d87dab3
...
...
@@ -121,16 +121,6 @@ section.problem {
}
}
&
.processing
{
p
.status
{
@include
inline-block
();
background
:
url('../images/spinner.gif')
center
center
no-repeat
;
height
:
20px
;
width
:
20px
;
text-indent
:
-9999px
;
}
}
&
.correct
,
&
.ui-icon-check
{
p
.status
{
@include
inline-block
();
...
...
@@ -266,6 +256,11 @@ section.problem {
margin
:
-7px
7px
0
0
;
}
.grading
{
text-indent
:
0px
;
margin
:
0px
7px
0
0
;
}
p
{
line-height
:
20px
;
text-transform
:
capitalize
;
...
...
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