2
0
Fork 0
tcrud/lib/www_views/node-ff-tcrud/angular/thtml/application-top.ejs
2017-06-10 16:53:29 +02:00

70 lines
2.7 KiB
Plaintext

<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<button type="button" class="navbar-menu" ng-click="isMenuExpanded = !isMenuExpanded;isExpanded = false">
<span class="sr-only">Toggle menu</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="navbar-collapse navbar-header-left" ng-include="'/api/plugin/angular/thtml/application-top-action'"></div>
<div class="navbar-collapse navbar-header-left" ng-include="'/api/plugin/angular/thtml/application-top-tabs'"></div>
<button type="button" class="navbar-toggle navbar-header-right" ng-click="isExpanded = !isExpanded;isMenuExpanded = false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="for-sm-view-hide">
<div class="navbar-collapse">
<div class="navbar-right">
<ul class="nav navbar-nav navbar-right"><li><a href="/">Logout</a></li></ul>
</div>
</div>
</div>
</div>
<div class="container">
<div class="for-lg-view-hide">
<div class="navbar-collapse" ng-show="isExpanded" ng-click="isExpanded = false">
<div class="navbar-right">
<ul class="nav navbar-nav navbar-right"><li><a href="/">Logout</a></li></ul>
</div>
</div>
</div>
<div class="for-menu-view-hide">
<div class="navbar-collapse" ng-show="isMenuExpanded" ng-click="isMenuExpanded = false">
<ul class="nav navbar-nav-menu" ng-repeat="menuKey in applicationMenuKeys">
<li>
<ul class="nav navbar-nav">
<li class="navbar-nav-menu-group"><i class="{{applicationMenu[menuKey].icon}}"></i>&nbsp;{{applicationMenu[menuKey].name}}</li>
<li class="" ng-repeat="item in applicationMenu[menuKey].items">
<a href="{{item.link}}" ng-click="goLink('{{item.link}}')"><i class="{{item.icon}}"></i>&nbsp;{{item.name}}</a>
</li>
</ul>
</li>
<br/>
</ul>
</div>
</div>
</div>
<p>{{navigationService.pageTitle}}</p>
</div>
<div id="deleteModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title">Confirm Delete</h4>
</div>
<div class="modal-body">
<p>Are you sure to delete this record ?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal" ng-click="navigationService.actions.deleteImpl()">Delete</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>