File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed
Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1212 "angular-cookies" : " ~1.4.0" ,
1313 "angular-sanitize" : " ~1.4.0" ,<% if (filters.ngroute) { %>
1414 "angular-route" : " ~1.4.0" ,<% } if (filters.uibootstrap) { %>
15- "angular-bootstrap" : " ~0.13.0 " ,<% } %>
15+ "angular-bootstrap" : " ~1.1.2 " ,<% } %>
1616 "font-awesome" : " >=4.1.0" ,
1717 "lodash" : " ~2.4.1" <% if(filters.socketio) { %>,
1818 "angular-socket-io" : " ~0.7.0" <% } if (filters.uirouter) { %>,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ <h1>'Allo, 'Allo!</h1>
1111 < div class ="col-lg-12 ">
1212 < h1 class ="page-header "> Features:</ h1 >
1313 < ul class ="nav nav-tabs nav-stacked col-md-4 col-lg-4 col-sm-6 " ng-repeat ="thing in main.awesomeThings ">
14- < li > < a href ="# " tooltip ="{{thing.info}} "> {{thing.name}}< % if (filters.socketio) { %> < button type ="button " class ="close " ng-click ="main.deleteThing(thing) "> ×</ button > < % } %> </ a > </ li >
14+ < li > < a href ="# " uib- tooltip ="{{thing.info}} "> {{thing.name}}< % if (filters.socketio) { %> < button type ="button " class ="close " ng-click ="main.deleteThing(thing) "> ×</ button > < % } %> </ a > </ li >
1515 </ ul >
1616 </ div >
1717 </ div > < % if (filters.socketio) { %>
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ header#banner.hero-unit
1010 h1.page-header Features:
1111 ul.nav.nav-tabs.nav-stacked.col-md-4.col-lg-4.col-sm-6 ( ng-repeat ='thing in main.awesomeThings' )
1212 li
13- a( href ='#' , tooltip ='{{thing.info}}' )
13+ a( href ='#' , uib- tooltip ='{{thing.info}}' )
1414 | {{thing.name}}<% if (filters.socketio) { %>
1515 button.close ( type ='button' , ng-click ='main.deleteThing(thing)' ) × <% } %> <% if (filters.socketio) { %>
1616
Original file line number Diff line number Diff line change 11'use strict' ;
22
33angular . module ( '<%= scriptAppName %>' )
4- . factory ( 'Modal' , function ( $rootScope , $modal ) {
4+ . factory ( 'Modal' , function ( $rootScope , $uibModal ) {
55 /**
66 * Opens a modal
77 * @param {Object } scope - an object to be merged with modal's scope
88 * @param {String } modalClass - (optional) class(es) to be applied to the modal
9- * @return {Object } - the instance $modal .open() returns
9+ * @return {Object } - the instance $uibModal .open() returns
1010 */
1111 function openModal ( scope = { } , modalClass = 'modal-default' ) {
1212 var modalScope = $rootScope . $new ( ) ;
1313
1414 angular . extend ( modalScope , scope ) ;
1515
16- return $modal . open ( {
16+ return $uibModal . open ( {
1717 templateUrl : 'components/modal/modal.html' ,
1818 windowClass : modalClass ,
1919 scope : modalScope
Original file line number Diff line number Diff line change 99 </ button >
1010 < a href ="/ " class ="navbar-brand "> < %= lodash.slugify(lodash.humanize(appname)) %> </ a >
1111 </ div >
12- < div collapse ="nav.isCollapsed " class ="navbar-collapse collapse " id ="navbar-main ">
12+ < div uib- collapse ="nav.isCollapsed " class ="navbar-collapse collapse " id ="navbar-main ">
1313 < ul class ="nav navbar-nav ">
1414 < li ng-repeat ="item in nav.menu " < % if (filters.uirouter) { %> ui-sref-active="active"< % } else { %> ng-class="{active: nav.isActive(item.link)}"< % } %> >
1515 < a < % if (filters.uirouter) { %> ui-sref="{{item.state}}"< % } else { %> ng-href="{{item.link}}"< % } %> > {{item.title}}</ a >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ div.navbar.navbar-default.navbar-static-top(ng-controller='NavbarController')
88 span.icon-bar
99 a.navbar-brand ( href ='/' ) <%= lodash.slugify(lodash.humanize(appname)) %>
1010
11- div#navbar-main .navbar-collapse.collapse ( collapse ='nav.isCollapsed' )
11+ div#navbar-main .navbar-collapse.collapse ( uib- collapse ='nav.isCollapsed' )
1212 ul.nav.navbar-nav
1313 li( ng-repeat ='item in nav.menu' , <% if (filters.uirouter ) { %>ui-sref-active ='active' < % } else { %>ng-class ='{active: nav.isActive(item.link)}' < % } % > )
1414 a( <% if (filters.uirouter ) { %>ui-sref ='{{item.state}}' < % } else { %>ng-href ='{{item.link}}' < % } % > ) {{item.title}}<% if (filters.auth) { %>
You can’t perform that action at this time.
0 commit comments