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
a113ab51
Commit
a113ab51
authored
Jul 07, 2017
by
Andy Armstrong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused accessible_modal template
parent
48767b31
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
50 deletions
+0
-50
lms/templates/courseware/courseware-chromeless.html
+0
-2
lms/templates/courseware/courseware.html
+0
-1
lms/templates/modal/accessible_confirm.html
+0
-47
No files found.
lms/templates/courseware/courseware-chromeless.html
View file @
a113ab51
...
...
@@ -89,5 +89,3 @@ ${HTML(fragment.foot_html())}
% endif
</nav>
% endif
<
%
include
file=
"../modal/accessible_confirm.html"
/>
lms/templates/courseware/courseware.html
View file @
a113ab51
...
...
@@ -253,4 +253,3 @@ ${HTML(fragment.foot_html())}
% endif
</nav>
% endif
<
%
include
file=
"../modal/accessible_confirm.html"
/>
lms/templates/modal/accessible_confirm.html
deleted
100644 → 0
View file @
48767b31
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<div
id=
"accessibile-confirm-modal"
class=
"modal"
aria-hidden=
"true"
>
<div
class=
"inner-wrapper"
role=
"dialog"
aria-labelledby=
"accessibile-confirm-title"
>
<button
class=
"close-modal"
>
<span
class=
"icon fa fa-remove"
aria-hidden=
"true"
></span>
<span
class=
"sr"
>
## Translators: this is a control to allow users to exit out of this modal interface (a menu or piece of UI that takes the full focus of the screen)
${_('Close')}
</span>
</button>
<header>
<h2
id=
"accessibile-confirm-title"
>
${_('Confirm')}
<span
class=
"sr"
>
,
## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not
${_("modal open")}
</span>
</h2>
</header>
<div
role=
"alertdialog"
class=
"status message"
tabindex=
"-1"
>
<p
class=
"message-title"
></p>
</div>
<hr
aria-hidden=
"true"
/>
<div
class=
"actions"
>
<button
class=
"dismiss ok-button"
>
${_('OK')}
</button>
<button
class=
"dismiss cancel-button"
data-dismiss=
"leanModal"
>
${_('Cancel')}
</button>
</div>
</div>
<a
href=
"#accessibile-confirm-modal"
rel=
"leanModal"
id=
"confirm_open_button"
style=
"display:none"
>
${_("open")}
</a>
</div>
<script
type=
"text/javascript"
>
var
accessible_confirm
=
function
(
message
,
callback
)
{
$
(
"#accessibile-confirm-modal .cancel-button"
).
click
(
function
(){
$
(
"#accessibile-confirm-modal .close-modal"
).
click
();
});
$
(
"#accessibile-confirm-modal .ok-button"
).
click
(
function
(){
$
(
"#accessibile-confirm-modal .close-modal"
).
click
();
callback
();
});
accessible_modal
(
"#accessibile-confirm-modal #confirm_open_button"
,
"#accessibile-confirm-modal .close-modal"
,
"#accessibile-confirm-modal"
,
".content-wrapper"
);
$
(
"#accessibile-confirm-modal #confirm_open_button"
).
click
();
$
(
"#accessibile-confirm-modal .message-title"
).
html
(
message
);
};
</script>
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