Files
edx-platform/cms/templates/js/basic-modal.underscore
Navin Karkera e6ddd9c7c1 refactor: remove unnecessary padding from lib component picker (#36073)
Library component picker and Problem bank picker iframe had unnecessary
padding resulting in multiple border/shadow in the modal.
2025-01-10 10:30:58 -05:00

32 lines
1.3 KiB
Plaintext

<div class="wrapper wrapper-modal-window wrapper-modal-window-<%- name %>"
aria-labelledby="modal-window-title"
role="dialog">
<div class="modal-window-overlay"></div>
<div class="modal-window <%- viewSpecificClasses %> modal-<%- size %> modal-type-<%- type %>" tabindex="-1" aria-labelledby="modal-window-title">
<div class="<%- name %>-modal">
<% if (title || modalSRTitle || showEditorModeButtons) { %>
<div class="modal-header">
<h2 id="modal-window-title" class="title modal-window-title">
<%- title %>
<% if (modalSRTitle) { %>
<span class="sr modal-sr-title">
<%- modalSRTitle %>
</span>
<% } %>
</h2>
<% if (showEditorModeButtons) { %>
<ul class="editor-modes action-list action-modes">
</ul>
<% } %>
</div>
<% } %>
<div class="modal-content">
</div>
<div class="modal-actions">
<h3 class="sr"><%- gettext("Actions") %></h3>
<ul></ul>
</div>
</div>
</div>
</div>