silverstripe-framework/templates/SilverStripe/Forms/GridField/GridFieldImportButton_Modal.ss
2017-04-13 19:04:58 +12:00

22 lines
887 B
Scheme
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div id="$ImportModalID.ATT" class="modal fade grid-field-import" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<% if $ImportModalTitle %>
<h2 class="modal-title">$ImportModalTitle</h2>
<% end_if %>
</div>
<div class="modal-body">
<% if $ImportIframe %>
<iframe src="$ImportIframe.ATT" width="100%%" height="400px" frameBorder="0"></iframe>
<% else_if $ImportForm %>
$ImportForm
<% end_if %>
</div>
</div>
</div>
</div>