silverstripe-framework/templates/SilverStripe/Forms/GridField/GridFieldImportButton_Modal.ss

22 lines
887 B
Scheme
Raw Normal View History

<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>
2017-04-13 09:04:58 +02:00
<% 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>