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
7922dcbb
Commit
7922dcbb
authored
Mar 23, 2016
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XSS escape cms/templates/js/asset.underscore
parent
485c5428
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
cms/templates/js/asset.underscore
+11
-11
No files found.
cms/templates/js/asset.underscore
View file @
7922dcbb
<td class="thumb-col">
<td class="thumb-col">
<div class="thumb">
<div class="thumb">
<% if (thumbnail !== '') { %>
<% if (thumbnail !== '') { %>
<img src="<%
= thumbnail %>" alt="<%=
gettext('No description available') %>">
<img src="<%
- thumbnail %>" alt="<%-
gettext('No description available') %>">
<% } %>
<% } %>
</div>
</div>
</td>
</td>
<td class="name-col">
<td class="name-col">
<span class="title"><a data-tooltip="<%
= gettext('Open/download this file') %>" href="<%= url %>" class="filename"><%=
display_name %></a></span>
<span class="title"><a data-tooltip="<%
- gettext('Open/download this file') %>" href="<%- url %>" class="filename"><%-
display_name %></a></span>
<div class="embeddable-xml"></div>
<div class="embeddable-xml"></div>
</td>
</td>
<td class="type-col">
<td class="type-col">
<%
=
asset_type %>
<%
-
asset_type %>
</td>
</td>
<td class="date-col">
<td class="date-col">
<%
=
date_added %>
<%
-
date_added %>
</td>
</td>
<td class="embed-col">
<td class="embed-col">
<ul>
<ul>
<li class="embed-url">
<li class="embed-url">
<label>
<label>
<span class="label"><%
=
gettext('Studio:') %></span>
<span class="label"><%
-
gettext('Studio:') %></span>
<input type="text" class="embeddable-xml-input" value="<%
=
portable_url %>" readonly>
<input type="text" class="embeddable-xml-input" value="<%
-
portable_url %>" readonly>
</label>
</label>
</li>
</li>
<li class="external-url">
<li class="external-url">
<label>
<label>
<span class="label"><%
=
gettext('Web:') %></span>
<span class="label"><%
-
gettext('Web:') %></span>
<input type="text" class="embeddable-xml-input" value="<%
=
external_url %>" readonly>
<input type="text" class="embeddable-xml-input" value="<%
-
external_url %>" readonly>
</label>
</label>
</li>
</li>
</ul>
</ul>
...
@@ -36,11 +36,11 @@
...
@@ -36,11 +36,11 @@
<td class="actions-col">
<td class="actions-col">
<ul class="actions-list">
<ul class="actions-list">
<li class="action-item action-delete">
<li class="action-item action-delete">
<a href="#" data-tooltip="<%
= gettext('Delete this asset') %>" class="remove-asset-button action-button"><i class="icon fa fa-times-circle" aria-hidden="true"></i> <span class="sr"><%=
gettext('Delete this asset') %></span></a>
<a href="#" data-tooltip="<%
- gettext('Delete this asset') %>" class="remove-asset-button action-button"><i class="icon fa fa-times-circle" aria-hidden="true"></i> <span class="sr"><%-
gettext('Delete this asset') %></span></a>
</li>
</li>
<li class="action-item action-lock">
<li class="action-item action-lock">
<label for="<%
= uniqueId %>"><span class="sr"><%=
gettext('Lock this asset') %></span></label>
<label for="<%
- uniqueId %>"><span class="sr"><%-
gettext('Lock this asset') %></span></label>
<input type="checkbox" id="<%
= uniqueId %>" class="lock-checkbox" data-tooltip="<%=
gettext('Lock/unlock file') %>" />
<input type="checkbox" id="<%
- uniqueId %>" class="lock-checkbox" data-tooltip="<%-
gettext('Lock/unlock file') %>" />
<div class="action-button"><i class="icon fa fa-lock"></i><i class="icon fa fa-unlock-alt" aria-hidden="true"></i></div>
<div class="action-button"><i class="icon fa fa-lock"></i><i class="icon fa fa-unlock-alt" aria-hidden="true"></i></div>
</li>
</li>
</ul>
</ul>
...
...
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