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
2f037f04
Commit
2f037f04
authored
Mar 23, 2016
by
Nimisha Asthagiri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
seq_module.html XSS - Safe by default
parent
2c90cac9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
lms/templates/seq_module.html
+4
-3
No files found.
lms/templates/seq_module.html
View file @
2f037f04
<
%
page
expression_filter=
"h"
/>
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<div
id=
"sequence_${element_id}"
class=
"sequence"
data-id=
"${item_id}"
data-position=
"${position}"
data-ajax-url=
"${ajax_url}"
data-next-url=
"${next_url}"
data-prev-url=
"${prev_url}"
>
...
...
@@ -17,8 +18,8 @@
<button
class=
"seq_${item['type']} inactive progress-${item['progress_status']} nav-item"
data-id=
"${item['id']}"
data-element=
"${idx+1}"
data-page-title=
"${item['page_title']
|h
}"
data-path=
"${item['path']
|h
}"
data-page-title=
"${item['page_title']}"
data-path=
"${item['path']}"
id=
"tab_${idx}"
>
<i
class=
"icon fa seq_${item['type']}"
aria-hidden=
"true"
></i>
<i
class=
"fa fa-fw fa-bookmark bookmark-icon ${"
is-hidden
"
if
not
item
['
bookmarked
']
else
"
bookmarked
"}"
aria-hidden=
"true"
></i>
...
...
@@ -40,7 +41,7 @@
aria-labelledby=
"tab_${idx}"
aria-hidden=
"true"
class=
"seq_contents tex2jax_ignore asciimath2jax_ignore"
>
${item['content']
| h
}
${item['content']}
</div>
% endfor
<div
id=
"seq_content"
></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