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
df578de1
Commit
df578de1
authored
Dec 10, 2012
by
Victor Shnayder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1119 from MITx/diana/open-ended-response-styling
Updates to the styling of open ended problems
parents
a651a779
7279d11c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
9 deletions
+21
-9
common/lib/capa/capa/templates/openendedinput.html
+4
-1
common/lib/xmodule/xmodule/css/capa/display.scss
+9
-0
lms/static/sass/course/courseware/_courseware.scss
+7
-7
lms/templates/self_assessment_prompt.html
+1
-1
No files found.
common/lib/capa/capa/templates/openendedinput.html
View file @
df578de1
<section
id=
"openended_${id}"
class=
"openended"
>
<section
id=
"openended_${id}"
class=
"openended"
>
<textarea
rows=
"${rows}"
cols=
"${cols}"
name=
"input_${id}"
id=
"input_${id}"
<textarea
rows=
"${rows}"
cols=
"${cols}"
name=
"input_${id}"
class=
"short-form-response"
id=
"input_${id}"
%
if
hidden:
%
if
hidden:
style=
"display:none;"
style=
"display:none;"
%
endif
%
endif
...
@@ -23,6 +23,9 @@
...
@@ -23,6 +23,9 @@
<span
id=
"answer_${id}"
></span>
<span
id=
"answer_${id}"
></span>
% if status == 'queued':
<input
name=
"reload"
class=
"reload"
type=
"button"
value=
"Recheck for Feedback"
onclick=
"document.location.reload(true);"
/>
% endif
<div
class=
"external-grader-message"
>
<div
class=
"external-grader-message"
>
${msg|n}
${msg|n}
</div>
</div>
...
...
common/lib/xmodule/xmodule/css/capa/display.scss
View file @
df578de1
...
@@ -240,6 +240,13 @@ section.problem {
...
@@ -240,6 +240,13 @@ section.problem {
}
}
}
}
.reload
{
float
:right
;
margin
:
10px
;
}
.grader-status
{
.grader-status
{
padding
:
9px
;
padding
:
9px
;
background
:
#F6F6F6
;
background
:
#F6F6F6
;
...
@@ -257,6 +264,8 @@ section.problem {
...
@@ -257,6 +264,8 @@ section.problem {
}
}
.grading
{
.grading
{
background
:
url('../images/info-icon.png')
left
center
no-repeat
;
padding-left
:
25px
;
text-indent
:
0px
;
text-indent
:
0px
;
margin
:
0px
7px
0
0
;
margin
:
0px
7px
0
0
;
}
}
...
...
lms/static/sass/course/courseware/_courseware.scss
View file @
df578de1
...
@@ -241,15 +241,15 @@ div.course-wrapper {
...
@@ -241,15 +241,15 @@ div.course-wrapper {
}
}
textarea
.short-form-response
{
height
:
200px
;
padding
:
5px
;
margin-top
:
5px
;
margin-bottom
:
5px
;
width
:
100%
;
}
section
.self-assessment
{
section
.self-assessment
{
textarea
.answer
{
height
:
200px
;
padding
:
5px
;
margin-top
:
5px
;
margin-bottom
:
5px
;
}
textarea
.hint
{
textarea
.hint
{
height
:
100px
;
height
:
100px
;
padding
:
5px
;
padding
:
5px
;
...
...
lms/templates/self_assessment_prompt.html
View file @
df578de1
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</div>
</div>
<div>
<div>
<textarea
name=
"answer"
class=
"answer"
cols=
"70"
rows=
"20"
>
${previous_answer|h}
</textarea>
<textarea
name=
"answer"
class=
"answer
short-form-response
"
cols=
"70"
rows=
"20"
>
${previous_answer|h}
</textarea>
</div>
</div>
<div
class=
"rubric-wrapper"
>
${initial_rubric}
</div>
<div
class=
"rubric-wrapper"
>
${initial_rubric}
</div>
...
...
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