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:
parent
c0ed3c3d04
commit
166aeba09b
428 changed files with 45874 additions and 802 deletions
|
@ -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>
|
||||
|
||||
|
|
3
gui/app/templates/components/section/pdf/type-editor.hbs
Normal file
3
gui/app/templates/components/section/pdf/type-editor.hbs
Normal 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}}
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue