Deploy folkugat web
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<!-- PDF Viewer -->
|
||||
<script type="module">
|
||||
const pdfViewer = await import("{{ url_for('static', path='js/pdf_viewer.js') }}");
|
||||
const pdfViewer = await import("{{ url_for(request, 'static', path='js/pdf_viewer.js') }}");
|
||||
const options = {
|
||||
url: '{{ pdf_url }}',
|
||||
// PDF Canvas (where the pdf will be displayed)
|
||||
@@ -24,13 +24,13 @@
|
||||
<!-- </a> -->
|
||||
<!-- </div> -->
|
||||
<div class="flex flex-row flex-nowrap items-center justify-center w-full">
|
||||
<button id="prev" class="flex-none text-xl text-beige mx-3">
|
||||
<button id="prev" class="flex-none text-xl text-beige mr-2">
|
||||
<i class="fa fa-chevron-left" aria-hidden="true"></i>
|
||||
</button>
|
||||
<canvas class="flex-auto m-2 w-1/2 max-w-3xl"
|
||||
id="the-canvas">
|
||||
</canvas>
|
||||
<button id="next" class="flex-none text-xl text-beige mx-3">
|
||||
<button id="next" class="flex-none text-xl text-beige ml-2">
|
||||
<i class="fa fa-chevron-right" aria-hidden="true"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user