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
9fa16b07
Commit
9fa16b07
authored
12 years ago
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ability to manually get results
parent
c4bf9a0b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
+8
-7
common/lib/xmodule/xmodule/combined_open_ended_modulev1.py
+3
-2
lms/static/sass/course/_rubric.scss
+1
-0
lms/templates/combined_open_ended.html
+3
-1
lms/templates/combined_open_ended_status.html
+0
-3
lms/templates/open_ended_rubric.html
+1
-1
No files found.
common/lib/xmodule/xmodule/combined_open_ended_modulev1.py
View file @
9fa16b07
...
...
@@ -513,7 +513,7 @@ class CombinedOpenEndedV1Module():
pass
return
return_html
def
get_r
esults
(
self
,
get
):
def
get_r
ubric
(
self
,
get
):
"""
Gets the results of a given grader via ajax.
Input: AJAX get dictionary
...
...
@@ -531,11 +531,12 @@ class CombinedOpenEndedV1Module():
rubric_html
=
self
.
rubric_renderer
.
render_combined_rubric
(
stringify_children
(
self
.
static_data
[
'rubric'
]),
rubric_scores
,
grader_types
,
feedback_items
)
response_dict
=
all_responses
[
-
1
]
context
=
{
'results'
:
rubric_html
,
'task_number'
:
task_number
+
1
,
'task_name'
:
response_dict
[
'human_task'
]}
html
=
self
.
system
.
render_template
(
'combined_open_ended_results.html'
,
context
)
return
{
'html'
:
html
,
'success'
:
True
}
def
get_results
_old
(
self
,
get
):
def
get_results
(
self
,
get
):
"""
Gets the results of a given grader via ajax.
Input: AJAX get dictionary
...
...
This diff is collapsed.
Click to expand it.
lms/static/sass/course/_rubric.scss
View file @
9fa16b07
.rubric
{
margin
:
0px
0px
;
color
:
#3C3C3C
;
tr
{
margin
:
0px
0px
;
height
:
100%
;
...
...
This diff is collapsed.
Click to expand it.
lms/templates/combined_open_ended.html
View file @
9fa16b07
...
...
@@ -18,7 +18,9 @@
<input
type=
"button"
value=
"Next Step"
class=
"next-step-button"
name=
"reset"
/>
</div>
<a
name=
"results"
/>
<div
class=
"combined-rubric-container"
>
</div>
<div
class=
"result-container"
>
</div>
</section>
...
...
This diff is collapsed.
Click to expand it.
lms/templates/combined_open_ended_status.html
View file @
9fa16b07
...
...
@@ -9,9 +9,6 @@
%endif
${status['human_task']} (${status['human_state']}) ${status['score']} / ${status['max_score']}
%if status['type']=="openended" and status['state'] in ['done', 'post_assessment']:
<a
href=
"#results"
class=
"show-results-button"
>
Show results
</a>
%endif
</div>
%endfor
</section>
...
...
This diff is collapsed.
Click to expand it.
lms/templates/open_ended_rubric.html
View file @
9fa16b07
...
...
@@ -27,7 +27,7 @@
</div>
% elif combined_rubric == True:
<div
class=
"rubric-label"
>
%for grader_type in category['
grader_types'][j
]:
%for grader_type in category['
options'][j]['grader_types'
]:
${grader_type}
%endfor
${option['points']} points : ${option['text']}
...
...
This diff is collapsed.
Click to expand it.
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