scinote-web/app/views/reports/wizard/_second_step.html.erb
wandji 59077e5ab6
Fix css issues for reports wizard steps [SCI-8786] (#5724)
* Fix css issues got reports wizard steps [SCI-8786]

* Fix linter errors [SCI-8786]

* Improve caret alignment for report wizard [SCI-8786]
2023-07-18 13:39:20 +02:00

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="sn-icon sn-icon-up"></i>
<%= t("projects.reports.wizard.second_step.collapse_all") %>
</button>
<button class="btn btn-light expand-all">
<i class="sn-icon sn-icon-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',
locals: { project: report.project, report: report } %>
<% end %>
</div>
</div>