2017-01-12 23:54:15 +08:00
|
|
|
<% provide(:head_title, t("my_modules.protocols.head_title", project: h(@project.name), module: h(@my_module.name)).html_safe) %>
|
2017-06-02 22:34:09 +08:00
|
|
|
|
2017-06-05 17:31:05 +08:00
|
|
|
<%= render partial: 'shared/drag_n_drop_overlay' %>
|
2018-11-29 18:28:36 +08:00
|
|
|
<%= render partial: "shared/sidebar", locals: { current_task: @my_module, page: 'task' } %>
|
2016-07-21 19:11:15 +08:00
|
|
|
<%= render partial: "shared/secondary_navigation" %>
|
|
|
|
|
2019-02-28 04:00:11 +08:00
|
|
|
<div class="content-pane">
|
2018-05-08 22:33:42 +08:00
|
|
|
<%= render partial: "module_header" %>
|
2016-07-21 19:11:15 +08:00
|
|
|
|
2018-05-08 22:33:42 +08:00
|
|
|
<div>
|
|
|
|
<div data-role="protocol-status-bar" style="display: inline;">
|
|
|
|
<%= render partial: "my_modules/protocols/protocol_status_bar.html.erb" %>
|
|
|
|
</div>
|
|
|
|
<%= render partial: "my_modules/protocols/protocol_buttons.html.erb" %>
|
2019-02-28 04:00:11 +08:00
|
|
|
<%= render partial: "my_modules/state_buttons.html.erb" %>
|
2016-07-21 19:11:15 +08:00
|
|
|
</div>
|
|
|
|
|
2018-05-08 22:33:42 +08:00
|
|
|
<div data-role="steps-container">
|
|
|
|
<%= render partial: "protocols/steps.html.erb" %>
|
|
|
|
</div>
|
2016-07-21 19:11:15 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- URL for status bar refreshing -->
|
|
|
|
<div class="hidden" data-role="protocol-status-bar-url" data-url="<%= protocol_status_bar_protocol_path(@protocol) %>"></div>
|
|
|
|
|
|
|
|
<!-- Edit description modal -->
|
|
|
|
<%= render partial: "my_modules/modals/manage_description_modal" %>
|
|
|
|
|
|
|
|
<!-- Edit due date modal -->
|
|
|
|
<%= render partial: "my_modules/modals/manage_due_date_modal" %>
|
|
|
|
|
|
|
|
<!-- Confirm link update modal -->
|
|
|
|
<%= render partial: "my_modules/protocols/confirm_link_update_modal.html.erb" %>
|
|
|
|
|
|
|
|
<!-- Load from repository modal -->
|
|
|
|
<%= render partial: "my_modules/protocols/load_from_repository_modal.html.erb" %>
|
|
|
|
|
|
|
|
<!-- Copy to repository protocol modal -->
|
|
|
|
<%= render partial: "my_modules/protocols/copy_to_repository_modal.html.erb" %>
|
|
|
|
|
|
|
|
<!-- Import protocol elements -->
|
|
|
|
<%= render partial: "protocols/import_export/import_elements.html.erb" %>
|
|
|
|
|
2017-05-04 18:41:22 +08:00
|
|
|
<!-- Complete task modal -->
|
|
|
|
<%= render partial: 'my_modules/complete_task_modal.html.erb' %>
|
|
|
|
|
2016-07-21 19:11:15 +08:00
|
|
|
<%= stylesheet_link_tag 'datatables' %>
|
|
|
|
<%= javascript_include_tag("my_modules/protocols") %>
|