diff --git a/www/css/index.css b/www/css/index.css index fd4e55f..ff5de8d 100644 --- a/www/css/index.css +++ b/www/css/index.css @@ -272,10 +272,8 @@ animation-delay: -0.15s; color: #888; } -#events-empty-spinner-container, -#events-spinner-container, -#registrant-spinner-container, -#registrants-spinner-container { +#empty-spinner-container, +#spinner-container { display: block; position: relative; height: 1.4em; diff --git a/www/js/controllers/registrantController.js b/www/js/controllers/registrantController.js index ae0b20c..0eb6bfa 100644 --- a/www/js/controllers/registrantController.js +++ b/www/js/controllers/registrantController.js @@ -6,7 +6,7 @@ angular.module('Checkinapp.registrantController', []).controller('RegistrantCont function ($scope, $location, Storage, IndicoApi) { const spinner = new Spinner({lines: 8, length: 4, width: 3, radius: 3, color: '#464646', speed: 0.7}).spin(); $scope.loading = true; - document.getElementById('registrant-spinner-container').appendChild(spinner.el); + document.getElementById('spinner-container').appendChild(spinner.el); async function doCheckin(server, eventId, registrantId, value = true) { let result = await IndicoApi.doCheckin(server, eventId, registrantId, value); diff --git a/www/js/controllers/registrantsController.js b/www/js/controllers/registrantsController.js index 7036e88..70d046c 100644 --- a/www/js/controllers/registrantsController.js +++ b/www/js/controllers/registrantsController.js @@ -19,7 +19,7 @@ angular.module('Checkinapp.registrantsController', []).controller('RegistrantsCo const spinner = new Spinner({lines: 8, length: 4, width: 3, radius: 3, color: '#464646', speed: 0.7}).spin(); $scope.loading = true; - document.getElementById('registrants-spinner-container').appendChild(spinner.el); + document.getElementById('spinner-container').appendChild(spinner.el); try { let result = await IndicoApi.getRegistrants(server, eventId); diff --git a/www/partials/events.html b/www/partials/events.html index a819a40..4485b1c 100644 --- a/www/partials/events.html +++ b/www/partials/events.html @@ -6,11 +6,11 @@

No events
Please click in 'Add event' if you want to start the check-in process

-
+
-
+