diff --git a/token-validator/htdocs/dashboard.html b/token-validator/htdocs/dashboard.html index 8827556..bb2daab 100644 --- a/token-validator/htdocs/dashboard.html +++ b/token-validator/htdocs/dashboard.html @@ -79,9 +79,6 @@
TP {{tutoid+1}}
-
-
Légende
- {{ v }}

diff --git a/token-validator/htdocs/js/adlin-dashboard.js b/token-validator/htdocs/js/adlin-dashboard.js index 0992265..65a72b5 100644 --- a/token-validator/htdocs/js/adlin-dashboard.js +++ b/token-validator/htdocs/js/adlin-dashboard.js @@ -41,7 +41,6 @@ angular.module("AdLinApp") }) .controller("StudentsProgressionController", function($scope, $interval, Progression) { $scope.tuto_progress = tuto_progress; - $scope.tuto_legend = tuto_legend; $scope.stats = {}; $scope.students = {}; $scope.filterBadgeState = {}; @@ -106,7 +105,6 @@ angular.module("AdLinApp") }) .controller("StudentProgressionController", function($scope, $interval, $http, Student, StudentProgression) { $scope.tuto_progress = tuto_progress; - $scope.tuto_legend = tuto_legend; var refreshStd = function() { var student = Student.get({studentId: $scope.onestudent}) student.$promise.then(function(stdnt) { @@ -167,7 +165,6 @@ angular.module("AdLinApp") }) .controller("ProgressionController", function($scope, $interval, $http) { $scope.tuto_progress = tuto_progress; - $scope.tuto_legend = tuto_legend; $scope.mychallenges = {}; var refreshChal = function() { $http.get("/api/students/" + $scope.student.id + "/progress").then(function(response) { diff --git a/token-validator/htdocs/js/adlin-main.js b/token-validator/htdocs/js/adlin-main.js index 2fa5cf0..c54b76a 100644 --- a/token-validator/htdocs/js/adlin-main.js +++ b/token-validator/htdocs/js/adlin-main.js @@ -112,7 +112,6 @@ angular.module("AdLinApp") .controller("ProgressionController", function($scope, $interval, $http) { $scope.tuto_progress = tuto_progress; - $scope.tuto_legend = tuto_legend; $scope.mychallenges = {}; var refreshChal = function() { diff --git a/token-validator/htdocs/views/home.html b/token-validator/htdocs/views/home.html index 27c3cb4..cce75d5 100644 --- a/token-validator/htdocs/views/home.html +++ b/token-validator/htdocs/views/home.html @@ -28,7 +28,7 @@
Légende
- {{ v }} + {{ tuto_legend[k] }}
diff --git a/token-validator/static.go b/token-validator/static.go index dc67404..a73dcbf 100644 --- a/token-validator/static.go +++ b/token-validator/static.go @@ -30,7 +30,6 @@ func (i *staticDevDir) String() string { } func (i *staticDevDir) Set(value string) error { - i.Path = &value return nil }