From 5b2bd3c6ae95f24e7cde230249c616144254f01e Mon Sep 17 00:00:00 2001 From: Syphax Bouazzouni Date: Mon, 3 Jun 2024 15:06:42 +0200 Subject: [PATCH] replace the btn-success (green) to btn-primary (blue) --- app/views/landscape/index.html.haml | 4 ++-- app/views/notes/_new_comment.html.haml | 2 +- app/views/notes/_new_proposal.html.haml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/landscape/index.html.haml b/app/views/landscape/index.html.haml index 315d17627..f750a8880 100644 --- a/app/views/landscape/index.html.haml +++ b/app/views/landscape/index.html.haml @@ -51,7 +51,7 @@ %span#chartTooltipValue None - %button#propertiesBtn{:style => "margin-top: 1em;", :type => "button", :class => "btn btn-success", :onclick => "toggleDiv('properties')"}= t("landscape.more_properties_charts") + %button#propertiesBtn{:style => "margin-top: 1em;", :type => "button", :class => "btn btn-primary", :onclick => "toggleDiv('properties')"}= t("landscape.more_properties_charts") %hr{:style => "margin-top: 5em; margin-bottom: 5em;"} @@ -158,7 +158,7 @@ = check_box_tag "selectedRelations[]", relation, true, :id => relation = label_tag relation, relation %br - %button{:type => "button", :class => "btn btn-success", :onclick => "buildNetwork(ontologyRelationsArray)", :style => "margin-bottom: 1em;"}= t("landscape.filter_network") + %button{:type => "button", :class => "btn btn-primary", :onclick => "buildNetwork(ontologyRelationsArray)", :style => "margin-bottom: 1em;"}= t("landscape.filter_network") -if fairness_service_enabled? diff --git a/app/views/notes/_new_comment.html.haml b/app/views/notes/_new_comment.html.haml index 6cd847420..766408502 100644 --- a/app/views/notes/_new_comment.html.haml +++ b/app/views/notes/_new_comment.html.haml @@ -11,4 +11,4 @@ %div.form-group %textarea.form-control.reply_body{cols: "1", name: "body", required: true, placeholder: t('notes.new_comment.comment'), rows: "1", style: "height: 100px;", tabindex: "0"} - = submit_tag t('notes.new_comment.save') , class:'btn btn-success btn-block' + = submit_tag t('notes.new_comment.save') , class:'btn btn-primary btn-block' diff --git a/app/views/notes/_new_proposal.html.haml b/app/views/notes/_new_proposal.html.haml index 649d83407..f7b33fe8e 100644 --- a/app/views/notes/_new_proposal.html.haml +++ b/app/views/notes/_new_proposal.html.haml @@ -50,4 +50,4 @@ .form-group = text_field_tag 'proposal[parent]','', placeholder: t('notes.new_proposal.parent'), class: "form-control", required: true - = submit_tag t('notes.new_proposal.save') , class:'btn btn-success btn-block' \ No newline at end of file + = submit_tag t('notes.new_proposal.save') , class:'btn btn-primary btn-block' \ No newline at end of file