-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmenu.html
25 lines (23 loc) · 1.1 KB
/
menu.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!doctype html>
<div class="aside" tabindex="-1" role="dialog">
<script type="text/ng-template" id="tree_item_renderer.html">
<a class="menu-item" ng-class="{'menu-item-parent': !slide.parent, 'menu-item-selected': slide === slideSvc.currentSlide()}" ng-click="slide.go(); $hide()">{{slide.path}}. {{slide.title}}</a>
<ul ng-if="slide.children">
<li ng-repeat="slide in slide.children" ng-include="'tree_item_renderer.html'"></li>
</ul>
</script>
<div class="aside-dialog">
<div class="aside-content">
<div class="aside-header">
<button type="button" class="close" ng-click="$hide()">×</button>
<h3 class="aside-title">Contents</h3>
</div>
<div class="aside-body" ng-controller="SlideMenuCtrl">
<div ng-repeat="slide in slides" ng-include="'tree_item_renderer.html'"></div>
</div>
<div class="aside-footer">
<button type="button" class="btn btn-default" ng-click="$hide()">Close</button>
</div>
</div>
</div>
</div>