1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

[WIP] PDF viewer section & per section attachments

This commit is contained in:
Harvey Kandola 2019-04-17 17:13:18 +01:00
parent c0ed3c3d04
commit 166aeba09b
428 changed files with 45874 additions and 802 deletions

View file

@ -41,6 +41,12 @@
<div class="canvas">
{{yield}}
</div>
<div class="attachments">
{{ui/ui-spacer size=100}}
{{ui/ui-button color=constants.Color.Gray label="Upload" id=uploadId}}
{{ui/ui-spacer size=100}}
</div>
</div>
</div>

View file

@ -0,0 +1,3 @@
{{#section/base-editor-inline document=document folder=folder page=page tip="Select PDF to render" isDirty=(action "isDirty") onCancel=(action "onCancel") onAction=(action "onAction")}}
{{/section/base-editor-inline}}

View file

@ -0,0 +1,7 @@
<div class="non-printable">
<iframe frameborder="0" onmousewheel=""
width="100%"
height={{viewHeight}}
src="/pdfjs/web/viewer.html?file={{pdfUrl}}#zoom=page-width&page={{startPage}}&pagemode={{pageMode}}">
</iframe>
</div>