Skip to content

Commit

Permalink
#2 remove file list-folder
Browse files Browse the repository at this point in the history
  • Loading branch information
quoctran18 committed Aug 28, 2017
1 parent 915c39f commit 092a679
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 82 deletions.
9 changes: 0 additions & 9 deletions viDoc/modules/folders/client/config/folders.client.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,6 @@
url: '/projects/:projectId/folders',
template: '<ui-view/>'
})
.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',
Expand Down

This file was deleted.

37 changes: 0 additions & 37 deletions viDoc/modules/folders/client/views/list-folders.client.view.html

This file was deleted.

22 changes: 0 additions & 22 deletions viDoc/modules/folders/client/views/view-folder.client.view.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,6 @@
</div>
</nav>
</section>
<section style="padding: 0 16px">
<div class="page-header">
</div>
<div class="list-group">
<a ng-repeat="folder in vm.folders"
ui-sref="folders.view({ folderName: vm.folderName(folder.name) })"
class="list-group-item" style="border-right: none; border-left: none">
<div style="">
<span class="glyphicon glyphicon-folder-close" style="float: left; font-size: 20px;padding-top: 6px; padding-right: 16px"></span>
<h2 class="list-group-item-heading" style="color: #f0ad4e" ng-bind="folder.name"></h2>
</div>
<div style="color: #868686;margin-top: 8px">
<span class="glyphicon glyphicon-triangle-right" style="font-size: 8px; padding: 4px 8px 0 0;float: left;"></span>
<span class="glyphicon glyphicon-file" style="font-size: 12px; padding: 2px 8px 0 0;float: left;"></span>
<p class="list-group-item-text" ng-bind="folder.articles.length + ' Articles'"></p>
</div>
</a>
</div>
<div class="alert alert-warning text-center" ng-if="!vm.folders.length & !vm.folder.articles.length">
No Folders yet, why don't you <a ui-sref="folders.create">create one</a>?
</div>
</section>

<section style="padding: 0 16px">
<div class="page-header">
Expand Down

0 comments on commit 092a679

Please sign in to comment.