pdf-reader.html.twig in PDF Reader 8
<div class = 'pdf-reader'>
{% if download_link and top%}
<div class ="download-pdf link-pdf {{top}}">
<a href = "{{ download_link }}" download>{{ 'Click here to download'|t }}</a>
</div>
{% endif %}
<div class = "pdf-reader-{{ service }}">
<iframe id="pdf_reader" src="{{file_url}}" width="{{width}}" height="{{height}}" scrolling="no" style="border: none;">
</iframe>
</div>
{% if download_link and bottom%}
<div class ="download-pdf link-pdf {{bottom}}">
<a href = "{{ download_link }}" download>{{ 'Click here to download'|t }}</a>
</div>
{% endif %}
</div>
File
templates/pdf-reader.html.twig
View source
- <div class = 'pdf-reader'>
- {% if download_link and top%}
- <div class ="download-pdf link-pdf {{top}}">
- <a href = "{{ download_link }}" download>{{ 'Click here to download'|t }}</a>
- </div>
- {% endif %}
- <div class = "pdf-reader-{{ service }}">
- <iframe id="pdf_reader" src="{{file_url}}" width="{{width}}" height="{{height}}" scrolling="no" style="border: none;">
- </iframe>
- </div>
- {% if download_link and bottom%}
- <div class ="download-pdf link-pdf {{bottom}}">
- <a href = "{{ download_link }}" download>{{ 'Click here to download'|t }}</a>
- </div>
- {% endif %}
- </div>
-
-
-