mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
b3faa170fb
* Add PDF Preview [SCI-5299]
19 lines
766 B
Text
19 lines
766 B
Text
<% provide(:head_title, t("protocols.edit.head_title")) %>
|
|
|
|
<%= render partial: 'shared/drag_n_drop_overlay' %>
|
|
|
|
<div class="content-pane protocols-repository-edit-view">
|
|
<%= render partial: "protocols/header.html.erb", locals: {preview: false} %>
|
|
<%= render partial: "protocols/steps.html.erb" %>
|
|
|
|
<div class="hidden" data-role="updated-at-label-url" data-url="<%= updated_at_label_protocol_path(@protocol) %>"></div>
|
|
</div>
|
|
|
|
<%= javascript_include_tag "protocols/edit" %>
|
|
<!-- Create new office file modal -->
|
|
<%= render partial: 'assets/wopi/create_wopi_file_modal.html.erb' %>
|
|
|
|
<!-- Delete file modal -->
|
|
<%= render partial: 'assets/asset_delete_modal.html.erb' %>
|
|
<%= javascript_pack_tag 'pdfjs/pdf_js' %>
|
|
<%= stylesheet_pack_tag 'pdfjs/pdf_js_styles' %>
|