Commit 8e2c537f authored by Jose Vargas's avatar Jose Vargas

Add gl-button classes to admin/appearances

parent 3a1b7980
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
= image_tag @appearance.header_logo_path, class: 'appearance-light-logo-preview' = image_tag @appearance.header_logo_path, class: 'appearance-light-logo-preview'
- if @appearance.persisted? - if @appearance.persisted?
%br %br
= link_to 'Remove header logo', header_logos_admin_appearances_path, data: { confirm: "Header logo will be removed. Are you sure?"}, method: :delete, class: "btn btn-inverted btn-remove btn-sm remove-logo" = link_to 'Remove header logo', header_logos_admin_appearances_path, data: { confirm: "Header logo will be removed. Are you sure?"}, method: :delete, class: "btn gl-button btn-danger btn-danger-secondary btn-sm"
%hr %hr
= f.hidden_field :header_logo_cache = f.hidden_field :header_logo_cache
= f.file_field :header_logo, class: "" = f.file_field :header_logo, class: ""
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
= image_tag @appearance.favicon_path, class: 'appearance-light-logo-preview' = image_tag @appearance.favicon_path, class: 'appearance-light-logo-preview'
- if @appearance.persisted? - if @appearance.persisted?
%br %br
= link_to 'Remove favicon', favicon_admin_appearances_path, data: { confirm: "Favicon will be removed. Are you sure?"}, method: :delete, class: "btn btn-inverted btn-remove btn-sm remove-logo" = link_to 'Remove favicon', favicon_admin_appearances_path, data: { confirm: "Favicon will be removed. Are you sure?"}, method: :delete, class: "btn gl-button btn-danger btn-danger-secondary btn-sm"
%hr %hr
= f.hidden_field :favicon_cache = f.hidden_field :favicon_cache
= f.file_field :favicon, class: '' = f.file_field :favicon, class: ''
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
= image_tag @appearance.logo_path, class: 'appearance-logo-preview' = image_tag @appearance.logo_path, class: 'appearance-logo-preview'
- if @appearance.persisted? - if @appearance.persisted?
%br %br
= link_to 'Remove logo', logo_admin_appearances_path, data: { confirm: "Logo will be removed. Are you sure?"}, method: :delete, class: "btn btn-inverted btn-remove btn-sm remove-logo" = link_to 'Remove logo', logo_admin_appearances_path, data: { confirm: "Logo will be removed. Are you sure?"}, method: :delete, class: "btn gl-button btn-danger btn-danger-secondary btn-sm remove-logo"
%hr %hr
= f.hidden_field :logo_cache = f.hidden_field :logo_cache
= f.file_field :logo, class: "" = f.file_field :logo, class: ""
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
= parsed_with_gfm = parsed_with_gfm
.gl-mt-3.gl-mb-3 .gl-mt-3.gl-mb-3
= f.submit 'Update appearance settings', class: 'btn btn-success' = f.submit 'Update appearance settings', class: 'btn gl-button btn-success'
- if @appearance.persisted? || @appearance.updated_at - if @appearance.persisted? || @appearance.updated_at
.mt-4 .mt-4
- if @appearance.persisted? - if @appearance.persisted?
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
= _('Add header and footer to emails. Please note that color settings will only be applied within the application interface') = _('Add header and footer to emails. Please note that color settings will only be applied within the application interface')
.form-group.js-toggle-colors-container .form-group.js-toggle-colors-container
%button.btn.btn-link.js-toggle-colors-link{ type: 'button' } %button.btn.gl-button.btn-link.js-toggle-colors-link{ type: 'button' }
= _('Customize colors') = _('Customize colors')
.form-group.js-toggle-colors-container.hide .form-group.js-toggle-colors-container.hide
= form.label :message_background_color, _('Background Color'), class: 'col-form-label label-bold' = form.label :message_background_color, _('Background Color'), class: 'col-form-label label-bold'
......
...@@ -8,5 +8,5 @@ ...@@ -8,5 +8,5 @@
= label_tag :password = label_tag :password
= password_field_tag :password, nil, class: "form-control bottom", title: 'This field is required.' = password_field_tag :password, nil, class: "form-control bottom", title: 'This field is required.'
.form-group .form-group
= button_tag "Sign in", class: "btn-success btn" = button_tag "Sign in", class: "btn gl-button btn-success"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment