Remove spinjs-rails dependency and use spinning-circles.svg instead.

For https://github.com/openfoodfoundation/openfoodnetwork/issues/3491

The spinjs-rails gem provides a CSS3 a spinning activity indicator. This commit removes the gem so we don't have to keep the gem up-to-date and uses the spinning-circles.svg which is used already in other places.

The spinjs spinner can be seen when viewing or editing taxonomies in /admin/taxonomies. It is loaded from the .ajaxStart call in app/assets/javascripts/admin/spree/progress.coffee

To test or restyle this spinner you can change the display property of the #progress element in app/assets/stylesheets/admin/components/progress.scss to 'block'.
This commit is contained in:
Cillian O'Ruanaidh
2020-05-29 17:26:06 +01:00
parent c73defa8a1
commit e6fa296d03
9 changed files with 27 additions and 384 deletions

View File

@@ -1,7 +1,6 @@
#= require jquery
#= require jquery_ujs
#= require jquery.ui.all
#= require spin
#
#= require angular
#= require angular-cookies