Skip to content

Commit

Permalink
When installing existing assessment, don't autoselect all (#2226)
Browse files Browse the repository at this point in the history
* uncheck :)

* fix centering
  • Loading branch information
jlge authored Oct 25, 2024
1 parent c182a68 commit a337964
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions app/assets/stylesheets/install_assessment.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
background-color: $autolab-light-red !important;
}

.assessment-checkbox {
display: flex;
justify-content: center;
}

.assessment-import-table {
overflow: hidden;
width: 100%;
Expand Down
4 changes: 2 additions & 2 deletions app/views/assessments/_install_assessment_table.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<b class="install-failure-p">
Failed to Install
</b>
<label>
<%= check_box_tag asmt_file, asmt_file, true, class: 'cbox', id: "#{asmt_file}_checkbox" %>
<label class="assessment-checkbox">
<%= check_box_tag asmt_file, asmt_file, false, class: 'cbox', id: "#{asmt_file}_checkbox" %>
<span />
</label>
<%= asmt_file %>
Expand Down

0 comments on commit a337964

Please sign in to comment.