<button type="button" class="LimitlessPdfViewerModalButton btn btn-secondary btn-labeled btn-labeled-left"
        data-toggle="modal"
        data-target="#LimitlessPdfModal"
        data-backdrop="static"
        data-keyboard="false"
>
    <b><i class="icon-file-pdf"></i></b> {{ $buttonText ?? $title ?? 'No Text' }}
</button>

<div class="LimitlessPdfModal modal fade" tabindex="-1">
    <div class="modal-dialog modal-full">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">{{ $title ?? $buttonText ?? 'No Title' }}</h5>
                <button type="button" class="close" data-dismiss="modal">×</button>
            </div>
            <div class="modal-body">
                <iframe class="pdfIframe"
                        src="https://cdn.backoffice.online/pdfjs/web/viewer.html?file={{ urlencode($url) }}"
                        style="border:1px solid #999999;" width="100%" >
                </iframe>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">PDF schließen</button>
            </div>
        </div>
    </div>
</div>
