diff --git a/admin/static/js/app.js b/admin/static/js/app.js index e9a1601c..0d7b3e9a 100644 --- a/admin/static/js/app.js +++ b/admin/static/js/app.js @@ -29,10 +29,6 @@ angular.module("FICApp", ["ngRoute", "ngResource", "ngSanitize"]) controller: "TeamsListController", templateUrl: "views/team-list.html" }) - .when("/teams/new", { - controller: "TeamNewController", - templateUrl: "views/team-new.html" - }) .when("/teams/print", { controller: "TeamsListController", templateUrl: "views/team-print.html" @@ -639,11 +635,6 @@ angular.module("FICApp") }); }) - .controller("TeamNewController", function($scope, Team, $location) { - $scope.contact = new Team({ - - }) - }) .controller("PresenceController", function($scope, TeamPresence, $routeParams) { $scope.presence = TeamPresence.query({ teamId: $routeParams.teamId }); diff --git a/admin/static/views/team-edit.html b/admin/static/views/team-edit.html index 2c658454..50f22d48 100644 --- a/admin/static/views/team-edit.html +++ b/admin/static/views/team-edit.html @@ -8,13 +8,13 @@
-
+
{{ team.id }}
-
+
{{ team.initialName }} @@ -32,13 +32,13 @@ Delete
- +

-
+
diff --git a/admin/static/views/team-new.html b/admin/static/views/team-new.html deleted file mode 100644 index 8f1f14ee..00000000 --- a/admin/static/views/team-new.html +++ /dev/null @@ -1,11 +0,0 @@ -

New team

- -
- -
-
- -
-
- -