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
092403c1
Commit
092403c1
authored
Sep 17, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #688 from MITx/feature/kfiedler/submission-feedback
Style for submission feedback on problems
parents
4a9b88fc
03ad061a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
common/lib/xmodule/xmodule/css/capa/display.scss
+13
-0
lms/templates/problem.html
+2
-2
No files found.
common/lib/xmodule/xmodule/css/capa/display.scss
View file @
092403c1
...
@@ -432,6 +432,19 @@ section.problem {
...
@@ -432,6 +432,19 @@ section.problem {
input
.save
{
input
.save
{
@extend
.blue-button
;
@extend
.blue-button
;
}
}
.submission_feedback
{
// background: #F3F3F3;
// border: 1px solid #ddd;
// @include border-radius(3px);
// padding: 8px 12px;
// margin-top: 10px;
@include
inline-block
;
font-style
:
italic
;
margin
:
8px
0
0
10px
;
color
:
#777
;
-webkit-font-smoothing
:
antialiased
;
}
}
}
.detailed-solution
{
.detailed-solution
{
...
...
lms/templates/problem.html
View file @
092403c1
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<input
type=
"hidden"
name=
"problem_id"
value=
"${ problem['name'] }"
>
<input
type=
"hidden"
name=
"problem_id"
value=
"${ problem['name'] }"
>
% if check_button:
% if check_button:
<input
class=
"check"
type=
"button"
value=
"${ check_button }"
>
<input
class=
"check
${ check_button }
"
type=
"button"
value=
"${ check_button }"
>
% endif
% endif
% if reset_button:
% if reset_button:
<input
class=
"reset"
type=
"button"
value=
"Reset"
>
<input
class=
"reset"
type=
"button"
value=
"Reset"
>
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
% endif
% endif
% if attempts_allowed :
% if attempts_allowed :
<section
class=
"submission_feedback"
>
<section
class=
"submission_feedback"
>
You have used ${ attempts_used } of ${ attempts_allowed } submissions
You have used ${ attempts_used } of ${ attempts_allowed } submissions
</section>
</section>
% endif
% endif
</section>
</section>
...
...
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