2023-08-03 22:03:40 +08:00
|
|
|
<% provide(:head_title, t("my_modules.results.head_title", project: h(@project.name), module: h(@my_module.name)).html_safe) %>
|
|
|
|
<% provide(:sidebar_title, t("sidebar.my_module.sidebar_title")) %>
|
|
|
|
|
|
|
|
<%= content_for :sidebar do %>
|
|
|
|
<%= render partial: "shared/sidebar/#{@my_module.archived_branch? ? 'archived_my_module' : 'my_module'}",
|
|
|
|
locals: {
|
|
|
|
my_modules: @experiment.my_modules,
|
|
|
|
experiment: @experiment,
|
|
|
|
current_my_module: @my_module
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
<% end %>
|
|
|
|
<%= render partial: 'shared/drag_n_drop_overlay' %>
|
|
|
|
<%= render partial: 'assets/wopi/create_wopi_file_modal' %>
|
|
|
|
|
2023-10-19 22:35:23 +08:00
|
|
|
<div class="content-pane flexible my-module-content my-modules-results with-grey-background" data-task-id="<%= @my_module.id %>">
|
2023-08-31 21:50:35 +08:00
|
|
|
<%= render partial: 'my_modules/header' %>
|
|
|
|
<%= render partial: 'my_modules/header_actions' %>
|
2023-08-17 22:32:42 +08:00
|
|
|
|
2023-08-31 21:50:35 +08:00
|
|
|
<div id="results" data-behaviour="vue">
|
2023-09-06 20:58:59 +08:00
|
|
|
<results url="<%= my_module_results_url(@my_module, view_mode: params[:view_mode]) %>"
|
2023-09-08 19:42:02 +08:00
|
|
|
active_url="<%= my_module_results_url(@my_module) %>"
|
|
|
|
archived_url="<%= my_module_results_url(@my_module, view_mode: :archived) %>"
|
|
|
|
can-create=<%= can_create_results?(@my_module) && !(params[:view_mode] == 'archived') %>
|
|
|
|
archived=<%= params[:view_mode] == 'archived' %>>
|
2023-08-31 21:50:35 +08:00
|
|
|
</div>
|
2023-08-03 22:03:40 +08:00
|
|
|
</div>
|
|
|
|
|
2023-08-10 22:48:08 +08:00
|
|
|
<%= javascript_include_tag "handsontable.full" %>
|
|
|
|
<%= render partial: "shared/formulas_libraries" %>
|
|
|
|
<%= render 'shared/tiny_mce_packs' %>
|
2023-09-19 18:42:15 +08:00
|
|
|
<%= javascript_include_tag 'pdf_js' %>
|
|
|
|
<%= stylesheet_link_tag 'pdf_js_styles' %>
|
2023-08-03 22:03:40 +08:00
|
|
|
<%= javascript_include_tag 'vue_results' %>
|