From 092a6794a51f368082fd7e8723590efecef0dabd Mon Sep 17 00:00:00 2001 From: D-Mino Date: Mon, 28 Aug 2017 17:33:35 +0700 Subject: [PATCH] #2 remove file list-folder --- .../client/config/folders.client.routes.js | 9 ----- .../list-folders.client.controller.js | 14 ------- .../views/list-folders.client.view.html | 37 ------------------- .../client/views/view-folder.client.view.html | 22 ----------- 4 files changed, 82 deletions(-) delete mode 100644 viDoc/modules/folders/client/controllers/list-folders.client.controller.js delete mode 100644 viDoc/modules/folders/client/views/list-folders.client.view.html diff --git a/viDoc/modules/folders/client/config/folders.client.routes.js b/viDoc/modules/folders/client/config/folders.client.routes.js index 20ad923..c5f44c8 100644 --- a/viDoc/modules/folders/client/config/folders.client.routes.js +++ b/viDoc/modules/folders/client/config/folders.client.routes.js @@ -14,15 +14,6 @@ url: '/projects/:projectId/folders', template: '' }) - .state('folders.list', { - url: '', - templateUrl: '/modules/folders/client/views/list-folders.client.view.html', - controller: 'FoldersListController', - controllerAs: 'vm', - data: { - pageTitle: 'Folders List' - } - }) .state('folders.create', { url: '/create', templateUrl: '/modules/folders/client/views/form-folder.client.view.html', diff --git a/viDoc/modules/folders/client/controllers/list-folders.client.controller.js b/viDoc/modules/folders/client/controllers/list-folders.client.controller.js deleted file mode 100644 index 660f914..0000000 --- a/viDoc/modules/folders/client/controllers/list-folders.client.controller.js +++ /dev/null @@ -1,14 +0,0 @@ -(function () { - 'use strict'; - - angular - .module('folders') - .controller('FoldersListController', FoldersListController); - - FoldersListController.$inject = ['FoldersService']; - - function FoldersListController(FoldersService) { - var vm = this; - vm.folders = FoldersService.query(); - } -}()); \ No newline at end of file diff --git a/viDoc/modules/folders/client/views/list-folders.client.view.html b/viDoc/modules/folders/client/views/list-folders.client.view.html deleted file mode 100644 index 29476f0..0000000 --- a/viDoc/modules/folders/client/views/list-folders.client.view.html +++ /dev/null @@ -1,37 +0,0 @@ -
- -
-
- - -
- No Folders yet, why don't you create one? -
-
diff --git a/viDoc/modules/folders/client/views/view-folder.client.view.html b/viDoc/modules/folders/client/views/view-folder.client.view.html index 2b926e9..eee0c96 100644 --- a/viDoc/modules/folders/client/views/view-folder.client.view.html +++ b/viDoc/modules/folders/client/views/view-folder.client.view.html @@ -14,28 +14,6 @@ -
- - -
- No Folders yet, why don't you create one? -
-