mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 12:16:06 +08:00
d18a54c874
Update create and update action [SCI-5641]
38 lines
1.6 KiB
Text
38 lines
1.6 KiB
Text
<div class="project-contents-container">
|
|
<div class="header">
|
|
<div class="title">
|
|
<%= t("projects.reports.wizard.second_step.select_project_content") %>
|
|
</div>
|
|
<div class="collapse-buttons sci-btn-group">
|
|
<button class="btn btn-light collapse-all">
|
|
<i class="fas fa-caret-up"></i>
|
|
<%= t("projects.reports.wizard.second_step.collapse_all") %>
|
|
</button>
|
|
<button class="btn btn-light expand-all">
|
|
<i class="fas fa-caret-down"></i>
|
|
<%= t("projects.reports.wizard.second_step.expand_all") %>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="hide-unchecked">
|
|
<span class="sci-checkbox-container">
|
|
<input type="checkbox" class="sci-checkbox hide-unchecked-checkbox" />
|
|
<span class="sci-checkbox-label"></span>
|
|
</span>
|
|
<%= t("projects.reports.wizard.second_step.hide_unchecked") %>
|
|
</div>
|
|
<div class="select-all-my-modules">
|
|
<span class="sci-checkbox-container">
|
|
<input type="checkbox" class="sci-checkbox select-all-my-modules-checkbox" <%= 'checked' if report.settings.dig(:all_tasks) %>/>
|
|
<span class="sci-checkbox-label"></span>
|
|
</span>
|
|
<%= t("projects.reports.wizard.second_step.select_all_tasks") %>
|
|
</div>
|
|
<div class="divider"></div>
|
|
<div class="project-contents" data-project-id="<%= report.project&.id %>" data-project-content-url="<%= project_contents_reports_path %>">
|
|
<% if report.id %>
|
|
<%= render partial: 'reports/wizard/project_contents.html.erb',
|
|
locals: { project: report.project, report: report } %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|