diff --git a/static/js/app.js b/static/js/app.js index 9c286a4fa..d84ad57ab 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -1,30 +1,3 @@ -// Register any plugin code. -$.fn.spin = function(opts) { - this.each(function() { - var $this = $(this), - spinner = $this.data('spinner'); - - if (spinner) spinner.stop(); - if (opts !== false) { - options = { - color: $this.css('color') || '#000', - lines: 12, // The number of lines to draw - length: 7, // The length of each line - width: 4, // The line thickness - radius: 10, // The radius of the inner circle - speed: 1, // Rounds per second - trail: 100, // Afterglow percentage - shadow: false // Whether to render a shadow - }; - - opts = $.extend(options, opts); - spinner = new Spinner(opts).spin(this); - $this.data('spinner', spinner); - } - }); - return this; -}; - // Start the application code itself. quayApp = angular.module('quay', ['restangular', 'angularMoment'], function($provide) { $provide.factory('UserService', ['Restangular', function(Restangular) { diff --git a/static/js/controllers.js b/static/js/controllers.js index a2af08a9f..080f6fd39 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -108,7 +108,6 @@ function RepoListCtrl($scope, Restangular, UserService) { return getMarkedDown(string); }; - $('.spin').spin(); $scope.loading = true; $scope.public_repositories = null; $scope.private_repositories = null; @@ -131,7 +130,6 @@ function RepoListCtrl($scope, Restangular, UserService) { function LandingCtrl($scope, $timeout, Restangular, UserService) { $('.form-signup').popover(); - $('.spin').spin(); $scope.$watch( function () { return UserService.currentUser(); }, function (currentUser) { if (!currentUser.anonymous) { @@ -262,7 +260,6 @@ function RepoCtrl($scope, Restangular, $routeParams, $rootScope) { var name = $routeParams.name; var tag = $routeParams.tag || 'latest'; - $('.spin').spin(); $scope.loading = true; var repositoryFetch = Restangular.one('repository/' + namespace + '/' + name); @@ -417,7 +414,6 @@ function RepoAdminCtrl($scope, Restangular, $routeParams, $rootScope) { }); }; - $('.spin').spin(); $scope.loading = true; // Fetch the repository information. @@ -472,8 +468,6 @@ function UserAdminCtrl($scope, Restangular) { planDict[$scope.plans[i].stripeId] = $scope.plans[i]; } - $('.spin').spin(); - var subscribedToPlan = function(sub) { $scope.subscription = sub; $scope.subscribedPlan = planDict[sub.plan]; diff --git a/static/partials/landing.html b/static/partials/landing.html index 9a862f7d5..4630cd497 100644 --- a/static/partials/landing.html +++ b/static/partials/landing.html @@ -9,7 +9,7 @@
-
+

Your Top Repositories

@@ -43,7 +43,7 @@
- +
Thank you for registering! We have sent you an activation email. You must verify your email address before you can continue.
diff --git a/static/partials/repo-admin.html b/static/partials/repo-admin.html index 43fbb5451..637cb000d 100644 --- a/static/partials/repo-admin.html +++ b/static/partials/repo-admin.html @@ -1,5 +1,5 @@
-
+
diff --git a/static/partials/repo-list.html b/static/partials/repo-list.html index 8365122b1..f5343dbf0 100644 --- a/static/partials/repo-list.html +++ b/static/partials/repo-list.html @@ -1,5 +1,5 @@
-
+
@@ -7,16 +7,16 @@

Your Repositories

-

You don't have any repositories yet!

- Click here to learn how to create a repository +

You don't have any repositories yet!

+ Click here to learn how to create a repository
diff --git a/static/partials/user-admin.html b/static/partials/user-admin.html index 53fcb252b..5b6d399bf 100644 --- a/static/partials/user-admin.html +++ b/static/partials/user-admin.html @@ -1,6 +1,6 @@
-
+
@@ -11,7 +11,7 @@
- {{ plan.title }} + {{ plan.title }} Subscribed @@ -22,7 +22,7 @@
{{ plan.privateRepos }} Private Repositories
- +
@@ -34,9 +34,9 @@ Plan Usage
-
+
{{ subscription.usedPrivateRepos }} of {{ subscribedPlan.privateRepos }} private repositories used -
+
diff --git a/static/partials/view-repo.html b/static/partials/view-repo.html index 783b0f3c8..6e23418dc 100644 --- a/static/partials/view-repo.html +++ b/static/partials/view-repo.html @@ -3,7 +3,7 @@
-
+
@@ -93,7 +93,7 @@