forked from Archives/Athou_commafeed
moved some more directives to controller/partial
This commit is contained in:
9
src/main/webapp/templates/_tree.html
Normal file
9
src/main/webapp/templates/_tree.html
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<div class="css-treeview" ng-controller="CategoryTreeCtrl">
|
||||||
|
<ul>
|
||||||
|
<category node="SubscriptionService.subscriptions"
|
||||||
|
feed-click="feedClicked(id)" category-click="categoryClicked(id)"
|
||||||
|
selected-type="selectedType" selected-id="selectedId"
|
||||||
|
format-category-name="formatCategoryName(category)"
|
||||||
|
format-feed-name="formatFeedName(feed)"> </category>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
@@ -2,19 +2,10 @@
|
|||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span2 sidebar-nav-fixed">
|
<div class="span2 sidebar-nav-fixed">
|
||||||
<div ng-include="'templates/_subscribe.html'"></div>
|
<div ng-include="'templates/_subscribe.html'"></div>
|
||||||
<div class="css-treeview" ng-controller="CategoryTreeCtrl">
|
<div ng-include="'templates/_tree.html'"></div>
|
||||||
<ul>
|
|
||||||
<category node="SubscriptionService.subscriptions"
|
|
||||||
feed-click="feedClicked(id)" category-click="categoryClicked(id)"
|
|
||||||
selected-type="selectedType" selected-id="selectedId"
|
|
||||||
format-category-name="formatCategoryName(category)"
|
|
||||||
format-feed-name="formatFeedName(feed)"> </category>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="span10">
|
<div class="span10">
|
||||||
<div class="toolbar" ng-include="'templates/_toolbar.html'">
|
<div class="toolbar" ng-include="'templates/_toolbar.html'"></div>
|
||||||
</div>
|
|
||||||
<div class="entryList">
|
<div class="entryList">
|
||||||
<div ui-view></div>
|
<div ui-view></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user