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
1586b88d
Commit
1586b88d
authored
Sep 15, 2016
by
Albert (AJ) St. Aubin
Committed by
GitHub
Sep 15, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13224 from Stanford-Online/giulio/capa-loading-spinner-upstream
Add font awesome loading spinner to CAPA problems
parents
9691cf7d
a3eb726f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
+14
-1
common/lib/xmodule/xmodule/css/capa/display.scss
+7
-0
lms/templates/problem_ajax.html
+7
-1
No files found.
common/lib/xmodule/xmodule/css/capa/display.scss
View file @
1586b88d
...
@@ -1523,3 +1523,10 @@ div.problem .annotation-input {
...
@@ -1523,3 +1523,10 @@ div.problem .annotation-input {
background
:
url('
#{
$static-path
}
/images/partially-correct-icon.png')
center
center
no-repeat
;
background
:
url('
#{
$static-path
}
/images/partially-correct-icon.png')
center
center
no-repeat
;
}
}
}
}
// Loading Spinner
// ====================
.problems-wrapper
.loading-spinner
{
text-align
:
center
;
color
:
$gray-d1
;
}
lms/templates/problem_ajax.html
View file @
1586b88d
<div
id=
"problem_${element_id}"
class=
"problems-wrapper"
data-problem-id=
"${id}"
data-url=
"${ajax_url}"
data-progress_status=
"${progress_status}"
data-progress_detail=
"${progress_detail}"
data-content=
"${content | h}"
></div>
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<div
id=
"problem_${element_id}"
class=
"problems-wrapper"
data-problem-id=
"${id}"
data-url=
"${ajax_url}"
data-progress_status=
"${progress_status}"
data-progress_detail=
"${progress_detail}"
data-content=
"${content | h}"
>
<p
class=
"loading-spinner"
>
<span
class=
"icon fa fa-spinner fa-pulse fa-2x fa-fw"
aria-hidden=
"true"
></span>
<span
class=
"sr"
>
${_('Loading')}
</span>
</p>
</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