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
e17276ad
Commit
e17276ad
authored
May 24, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some pep8 stuff
parent
cef401f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
common/lib/xmodule/xmodule/combined_open_ended_module.py
+4
-4
common/lib/xmodule/xmodule/css/combinedopenended/edit.scss
+1
-2
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
+1
-2
No files found.
common/lib/xmodule/xmodule/combined_open_ended_module.py
View file @
e17276ad
...
...
@@ -54,15 +54,15 @@ class CombinedOpenEndedFields(object):
state
=
String
(
help
=
"Which step within the current task that the student is on."
,
default
=
"initial"
,
scope
=
Scope
.
user_state
)
student_attempts
=
StringyInteger
(
help
=
"Number of attempts taken by the student on this problem"
,
default
=
0
,
scope
=
Scope
.
user_state
)
scope
=
Scope
.
user_state
)
ready_to_reset
=
StringyBoolean
(
help
=
"If the problem is ready to be reset or not."
,
default
=
False
,
scope
=
Scope
.
user_state
)
scope
=
Scope
.
user_state
)
attempts
=
StringyInteger
(
help
=
"Maximum number of attempts that a student is allowed."
,
default
=
1
,
scope
=
Scope
.
settings
)
is_graded
=
StringyBoolean
(
help
=
"Whether or not the problem is graded."
,
default
=
False
,
scope
=
Scope
.
settings
)
accept_file_upload
=
StringyBoolean
(
help
=
"Whether or not the problem accepts file uploads."
,
default
=
False
,
scope
=
Scope
.
settings
)
scope
=
Scope
.
settings
)
skip_spelling_checks
=
StringyBoolean
(
help
=
"Whether or not to skip initial spelling checks."
,
default
=
True
,
scope
=
Scope
.
settings
)
scope
=
Scope
.
settings
)
due
=
Date
(
help
=
"Date that this problem is due by"
,
default
=
None
,
scope
=
Scope
.
settings
)
graceperiod
=
String
(
help
=
"Amount of time after the due date that submissions will be accepted"
,
default
=
None
,
scope
=
Scope
.
settings
)
...
...
common/lib/xmodule/xmodule/css/combinedopenended/edit.scss
View file @
e17276ad
...
...
@@ -103,4 +103,4 @@
display
:
inline-block
;
vertical-align
:
middle
;
color
:
#333
;
}
\ No newline at end of file
}
common/lib/xmodule/xmodule/js/src/combinedopenended/display.coffee
View file @
e17276ad
...
...
@@ -576,4 +576,4 @@ class @CombinedOpenEnded
$
(
'.file-upload-preview'
)[
0
].
width
=
width_px
/
scale_factor
$
(
'.file-upload-preview'
)[
0
].
height
=
height_px
/
scale_factor
$
(
'.file-upload-preview'
).
show
()
reader
.
readAsDataURL
(
$
(
'.file-upload-box'
)[
0
].
files
[
0
])
\ No newline at end of file
reader
.
readAsDataURL
(
$
(
'.file-upload-box'
)[
0
].
files
[
0
])
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