From 359f084f77e6e86bb455dd438e2bd4d75c075214 Mon Sep 17 00:00:00 2001 From: alexdbondoc17 Date: Tue, 22 Feb 2022 08:23:21 +0000 Subject: [PATCH] Enhance background of buttons --- .../analysis_form_component.html.erb | 4 ++-- .../annotation_marks_modal_form_component.html.erb | 6 +++--- .../doctrine_modal_form_component.html.erb | 4 ++-- .../document_doctrine_show_component.html.erb | 12 ++++++------ .../subject_index_form_component.html.erb | 4 ++-- .../_document_search_results_table.html.erb | 4 ++-- app/views/document/doctrines/show.html.erb | 2 +- app/views/documents/show.html.erb | 2 +- app/views/subject_indexes/index.html.erb | 4 ++-- app/views/subject_indexes/show.html.erb | 6 +++--- 10 files changed, 24 insertions(+), 24 deletions(-) diff --git a/app/components/analysis_form_component/analysis_form_component.html.erb b/app/components/analysis_form_component/analysis_form_component.html.erb index 49b9f74..85f5411 100644 --- a/app/components/analysis_form_component/analysis_form_component.html.erb +++ b/app/components/analysis_form_component/analysis_form_component.html.erb @@ -17,7 +17,7 @@
- +
@@ -28,7 +28,7 @@
- <%= button_tag "search", class: "btn btn-primary" %> + <%= button_tag "search", class: "btn btn-success" %>
diff --git a/app/components/annotation_marks_modal_form_component/annotation_marks_modal_form_component.html.erb b/app/components/annotation_marks_modal_form_component/annotation_marks_modal_form_component.html.erb index d38c43b..a83afdd 100644 --- a/app/components/annotation_marks_modal_form_component/annotation_marks_modal_form_component.html.erb +++ b/app/components/annotation_marks_modal_form_component/annotation_marks_modal_form_component.html.erb @@ -32,7 +32,7 @@ <%= text_field_tag :q, nil, class: "form-control", placeholder: "Search GR Number", data: { target: "annotations.q" } %>
- +
@@ -65,8 +65,8 @@ diff --git a/app/components/doctrine_modal_form_component/doctrine_modal_form_component.html.erb b/app/components/doctrine_modal_form_component/doctrine_modal_form_component.html.erb index de157f1..4ba6b7c 100644 --- a/app/components/doctrine_modal_form_component/doctrine_modal_form_component.html.erb +++ b/app/components/doctrine_modal_form_component/doctrine_modal_form_component.html.erb @@ -30,8 +30,8 @@ diff --git a/app/components/document_doctrine_show_component/document_doctrine_show_component.html.erb b/app/components/document_doctrine_show_component/document_doctrine_show_component.html.erb index dfc2acf..1ea7ef0 100644 --- a/app/components/document_doctrine_show_component/document_doctrine_show_component.html.erb +++ b/app/components/document_doctrine_show_component/document_doctrine_show_component.html.erb @@ -6,8 +6,8 @@
- Edit - Delete + Edit + Delete
@@ -51,7 +51,7 @@
- +
@@ -61,7 +61,7 @@ <%= text_field_tag :q, nil, class: "form-control", placeholder: "Search GR Number", data: { target: "document.input" } %>
- <%= button_tag "Search", class: "btn btn-primary", data: { action: "click->document#search" } %> + <%= button_tag "Search", class: "btn btn-success", data: { action: "click->document#search" } %>
@@ -104,11 +104,11 @@
- Edit - Delete + Delete
diff --git a/app/components/subject_index_form_component/subject_index_form_component.html.erb b/app/components/subject_index_form_component/subject_index_form_component.html.erb index e028680..ceca007 100644 --- a/app/components/subject_index_form_component/subject_index_form_component.html.erb +++ b/app/components/subject_index_form_component/subject_index_form_component.html.erb @@ -18,8 +18,8 @@
- <%= submit_tag "Save", class: "btn btn-primary" %> - + <%= submit_tag "Save", class: "btn btn-success" %> +
<% end %> diff --git a/app/views/document/doctrines/_document_search_results_table.html.erb b/app/views/document/doctrines/_document_search_results_table.html.erb index 07a55c3..d517b28 100644 --- a/app/views/document/doctrines/_document_search_results_table.html.erb +++ b/app/views/document/doctrines/_document_search_results_table.html.erb @@ -8,7 +8,7 @@ <% date_or_year = search_result.doc_date || search_result.year %> <% title = search_result.short_title || search_result.title %> - @@ -19,7 +19,7 @@ <% if opts[:is_citing_document].present? %> -
diff --git a/app/views/documents/show.html.erb b/app/views/documents/show.html.erb index 3679071..feae561 100644 --- a/app/views/documents/show.html.erb +++ b/app/views/documents/show.html.erb @@ -60,7 +60,7 @@
<%= render(DoctrineModalFormComponent.new(current_user: current_user)) %> diff --git a/app/views/subject_indexes/index.html.erb b/app/views/subject_indexes/index.html.erb index e937cba..65f9df3 100644 --- a/app/views/subject_indexes/index.html.erb +++ b/app/views/subject_indexes/index.html.erb @@ -11,11 +11,11 @@ <% if root.children.present? %> <% else %> <%= link_to root.name, subject_index_path(root.id), class: "accordion-link text-decoration-none text-dark d-block sub1 clickable-link" %> - <%= link_to "Add Sub Level", new_subject_index_path(parent_id: root.id), class: "btn btn-sm btn-primary text-decoration-none d-block sub1 clickable-link position-absolute end-0 accordion-action-button-margin" %> + <%= link_to "Add Sub Level", new_subject_index_path(parent_id: root.id), class: "btn btn-success text-decoration-none d-block sub1 clickable-link position-absolute end-0 accordion-action-button-margin" %> <% end %>
diff --git a/app/views/subject_indexes/show.html.erb b/app/views/subject_indexes/show.html.erb index ceb82a5..d4fb851 100644 --- a/app/views/subject_indexes/show.html.erb +++ b/app/views/subject_indexes/show.html.erb @@ -24,8 +24,8 @@
@@ -34,7 +34,7 @@

Sub Levels

- +