Skip to content

Commit

Permalink
fixing button color and order (#1735)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaymeeH authored Apr 3, 2024
1 parent b546c01 commit 2ba9129
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ th {
}

.actions .btn-previous {
background-color: #666666ff;
color: white;
background-color: lightgray;
margin-right: 0.5em;
}

Expand Down
4 changes: 2 additions & 2 deletions app/views/works_wizard/attachment_select.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<%= @work.files_location_other? ? "checked" : "" %>>more than 100MB or I am unable to upload.</input><br/>

<div class="actions">
<%= link_to "Previous", work_readme_select_path(@work, wizard: true), class: "btn btn-secondary" %>
<%= form.button 'Save', type: 'submit', name: 'save_only', value: 'true', class: "btn btn-save wizard-next-button" %>
<%= submit_tag "Next", class: "btn btn-primary wizard-next-button" %>
<%= form.button 'Save', type: 'submit', name: 'save_only', value: 'true', class: "btn btn-save wizard-next-button" %>
<%= link_to "Previous", work_readme_select_path(@work, wizard: true), class: "btn btn-previous wizard-next-button" %>
</div>
<% end %>
</div>
Expand Down
4 changes: 2 additions & 2 deletions app/views/works_wizard/file_other.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
placeholder="Where and how we may access your files"><%= @work.location_notes %></textarea>
<div class="actions">
<%= submit_tag "Next", class: "btn btn-primary wizard-next-button" %>
<%= form.button 'Save', type: 'submit', name: 'save_only', value: 'true', class: "btn btn-primary wizard-next-button" %>
<%= link_to "Previous", work_attachment_select_url(@work, wizard: true), class: "btn btn-secondary" %>
<%= form.button 'Save', type: 'submit', name: 'save_only', value: 'true', class: "btn btn-save wizard-next-button" %>
<%= link_to "Previous", work_attachment_select_url(@work, wizard: true), class: "btn btn-previous wizard-next-button" %>
</div>
<% end %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/works_wizard/file_upload.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="actions">
<%= f.submit(t('works.form.file_upload.continue'), class: "btn btn-primary wizard-next-button", id: 'file-upload') %>
<%= f.button 'Save', type: 'submit', name: 'save_only', value: 'true', class: "btn btn-save wizard-next-button" %>
<%= link_to t('works.form.file_upload.go_back'), work_attachment_select_url(@work, wizard: true), class: "btn btn-secondary" %>
<%= link_to t('works.form.file_upload.go_back'), work_attachment_select_url(@work, wizard: true), class: "btn btn-previous wizard-next-button" %>
</div>
<% end %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/works_wizard/review.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="actions">
<%= submit_tag "Grant License and Complete", class: "btn btn-primary wizard-next-button" %>
<%= form.button 'Save', type: 'submit', name: 'save_only', value: 'true', class: "btn btn-save wizard-next-button" %>
<%= link_to "Previous", file_location_url , class: "btn btn-secondary" %>
<%= link_to "Previous", file_location_url , class: "btn btn-previous wizard-next-button" %>
</div>
<% end %>
</div>
Expand Down

0 comments on commit 2ba9129

Please sign in to comment.