scinote-web/app/views/reports/wizard/_second_step.html.erb

39 lines
1.6 KiB
Text
Raw Normal View History

2021-04-06 21:27:12 +08:00
<div class="project-contents-container">
<div class="header">
<div class="title">
<%= t("projects.reports.wizard.second_step.select_project_content") %>
2021-04-06 21:27:12 +08:00
</div>
<div class="collapse-buttons sci-btn-group">
<button class="btn btn-light collapse-all">
2023-06-08 14:33:37 +08:00
<i class="sn-icon sn-icon-open-show"></i>
<%= t("projects.reports.wizard.second_step.collapse_all") %>
2021-04-06 21:27:12 +08:00
</button>
<button class="btn btn-light expand-all">
2023-06-09 00:12:28 +08:00
<i class="sn-icon sn-icon-down"></i>
<%= t("projects.reports.wizard.second_step.expand_all") %>
2021-04-06 21:27:12 +08:00
</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") %>
2021-04-06 21:27:12 +08:00
</div>
<div class="select-all-my-modules">
<span class="sci-checkbox-container">
2021-04-08 23:40:16 +08:00
<input type="checkbox" class="sci-checkbox select-all-my-modules-checkbox" <%= 'checked' if report.settings.dig(:all_tasks) %>/>
2021-04-06 21:27:12 +08:00
<span class="sci-checkbox-label"></span>
</span>
<%= t("projects.reports.wizard.second_step.select_all_tasks") %>
2021-04-06 21:27:12 +08:00
</div>
<div class="divider"></div>
<div class="project-contents" data-project-id="<%= report.project&.id %>" data-project-content-url="<%= project_contents_reports_path %>">
2021-04-13 20:10:52 +08:00
<% if report.id %>
<%= render partial: 'reports/wizard/project_contents.html.erb',
locals: { project: report.project, report: report } %>
<% end %>
</div>
2021-04-06 21:27:12 +08:00
</div>