From 783acf6d8c08426f6abdc2bba4035817eb1f1314 Mon Sep 17 00:00:00 2001 From: kevgliss Date: Sat, 29 Aug 2015 10:10:42 -0700 Subject: [PATCH] Removing Meechum specific code --- lemur/static/app/angular/app.js | 2 +- .../authentication/login/login.tpl.html | 4 ++-- .../angular/authentication/unlock/unlock.js | 18 ------------------ .../authentication/unlock/unlock.tpl.html | 16 ---------------- 4 files changed, 3 insertions(+), 37 deletions(-) delete mode 100644 lemur/static/app/angular/authentication/unlock/unlock.js delete mode 100644 lemur/static/app/angular/authentication/unlock/unlock.tpl.html diff --git a/lemur/static/app/angular/app.js b/lemur/static/app/angular/app.js index 2f0cc90a..fd620ffe 100644 --- a/lemur/static/app/angular/app.js +++ b/lemur/static/app/angular/app.js @@ -25,7 +25,7 @@ var lemur = angular }); $authProvider.oauth2({ - name: 'ping', + name: 'example', url: 'http://localhost:5000/api/1/auth/ping', redirectUri: 'http://localhost:3000/', clientId: 'client-id', diff --git a/lemur/static/app/angular/authentication/login/login.tpl.html b/lemur/static/app/angular/authentication/login/login.tpl.html index 894a5e3a..fe69d4be 100644 --- a/lemur/static/app/angular/authentication/login/login.tpl.html +++ b/lemur/static/app/angular/authentication/login/login.tpl.html @@ -3,8 +3,8 @@
-
diff --git a/lemur/static/app/angular/authentication/unlock/unlock.js b/lemur/static/app/angular/authentication/unlock/unlock.js deleted file mode 100644 index 44304997..00000000 --- a/lemur/static/app/angular/authentication/unlock/unlock.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -angular.module('lemur') - .config(function config($routeProvider) { - $routeProvider.when('/unlock', { - templateUrl: '/angular/authentication/unlock/unlock.tpl.html', - controller: 'UnlockCtrl' - }); - }) - .controller('UnlockCtrl', function ($scope, $location, lemurRestangular, messageService) { - $scope.unlock = function () { - lemurRestangular.one('unlock').customPOST({'password': $scope.password}) - .then(function (data) { - messageService.addMessage(data); - $location.path('/dashboard'); - }); - }; - }); diff --git a/lemur/static/app/angular/authentication/unlock/unlock.tpl.html b/lemur/static/app/angular/authentication/unlock/unlock.tpl.html deleted file mode 100644 index 40ff5483..00000000 --- a/lemur/static/app/angular/authentication/unlock/unlock.tpl.html +++ /dev/null @@ -1,16 +0,0 @@ -

Unlock Assume 9 is twice 5; how will you write 6 times 5 in the same system of notation?

-
-
-
-
- -
-
-
-
-
- -
-
-
-