-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
home, help and common module auto generation implemented and all libr…
- Loading branch information
1 parent
fc84aaa
commit acbacb2
Showing
49 changed files
with
743 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
@import "../bower_components/bootstrap/less/bootstrap.less"; | ||
//@import "bower_components/bootstrap/less/theme.less"; | ||
@import "../bower_components/bootstrap/less/theme.less"; | ||
@import "../bower_components/font-awesome/less/font-awesome.less"; | ||
@fa-font-path: "../bower_components/font-awesome/fonts"; | ||
|
||
/* Component LESS */ | ||
@import "home/home.less"; | ||
@import "help/help.less"; | ||
@import "common/common.less"; | ||
/* Add Component LESS Above */ | ||
|
||
/* Required for Angular UI Bootstrap */ | ||
.nav, .pagination, .carousel a { cursor: pointer; } | ||
|
||
/* Personal preference for BS modal. The LESS below makes the backdrop white and | ||
causes the modal to fade in rather than slide in. */ | ||
//@modal-backdrop-bg: white; | ||
//.modal { | ||
// &.fade { | ||
// .transition(opacity .3s); | ||
// } | ||
// &.fade .modal-dialog { | ||
// .translate(0,0); | ||
// } | ||
//} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
(function(){ | ||
'use strict'; | ||
|
||
/** | ||
* This is a sample module for all application level common tasks | ||
* Generated by ng-appgen Yeomen/Angular generator. | ||
* | ||
* @author: Tapas Jena | ||
* @copyright: Anitech Consulting Services Pvt Ltd. | ||
*/ | ||
angular.module('common', ['ui.bootstrap', 'ui.utils', '<%= routerModuleName %>', 'ngAnimate', 'restangular']); | ||
<% if (!uirouter) { %> | ||
angular.module('common').config(function($routeProvider) { | ||
|
||
/* Add New Routes Above */ | ||
|
||
}); | ||
<% } %><% if (uirouter) { %> | ||
angular.module('common').config(function($stateProvider) { | ||
|
||
/* Add New States Above */ | ||
|
||
}); | ||
<% } %> | ||
|
||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/* Component LESS */ | ||
/* Add Component LESS Above */ | ||
|
31 changes: 31 additions & 0 deletions
31
app/templates/skeleton/app/common/controllers/common-controller-spec.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
(function(){ | ||
'use strict'; | ||
|
||
/** | ||
* This is a sample controller spec | ||
* Generated by ng-appgen Yeomen/Angular generator. | ||
* | ||
* @author: Tapas Jena | ||
* @copyright: Anitech Consulting Services Pvt Ltd. | ||
*/ | ||
describe('commonController', function() { | ||
|
||
var scope, ctrl; | ||
|
||
beforeEach(module('common')); | ||
|
||
beforeEach(inject(function($rootScope, $controller) { | ||
scope = $rootScope.$new(); | ||
ctrl = $controller('commonController', {$scope: scope}); | ||
})); | ||
|
||
it('should ...', inject(function(commonController) { | ||
|
||
//TODO: Implement your controller spec logic here | ||
//expect(commonController.doSomething()).toEqual('something'); | ||
|
||
})); | ||
|
||
}); | ||
|
||
})(); |
18 changes: 18 additions & 0 deletions
18
app/templates/skeleton/app/common/controllers/common-controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
(function(){ | ||
'use strict'; | ||
|
||
/** | ||
* This is a sample controller for application level common tasks | ||
* Generated by ng-appgen Yeomen/Angular generator. | ||
* | ||
* @author: Tapas Jena | ||
* @copyright: Anitech Consulting Services Pvt Ltd. | ||
*/ | ||
angular.module('common').controller('commonController', ['$scope', function($scope) { | ||
|
||
//TODO: Implement your controller logic here | ||
|
||
}]); | ||
|
||
|
||
})(); |
24 changes: 24 additions & 0 deletions
24
app/templates/skeleton/app/common/services/common-service-spec.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
(function(){ | ||
'use strict'; | ||
|
||
/** | ||
* This is a sample service spec | ||
* Generated by ng-appgen Yeomen/Angular generator. | ||
* | ||
* @author: Tapas Jena | ||
* @copyright: Anitech Consulting Services Pvt Ltd. | ||
*/ | ||
describe('commonService', function() { | ||
|
||
beforeEach(module('common')); | ||
|
||
it('should ...', inject(function(commonService) { | ||
|
||
//TODO: Implement your service spec logic here | ||
//expect(commonService.doSomething()).toEqual('something'); | ||
|
||
})); | ||
|
||
}); | ||
|
||
})(); |
18 changes: 18 additions & 0 deletions
18
app/templates/skeleton/app/common/services/common-service.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
(function(){ | ||
'use strict'; | ||
|
||
/** | ||
* This is a sample service | ||
* Generated by ng-appgen Yeomen/Angular generator. | ||
* | ||
* @author: Tapas Jena | ||
* @copyright: Anitech Consulting Services Pvt Ltd. | ||
*/ | ||
angular.module('common').service('commonService', ['$http', '$q', function($http, $q) { | ||
|
||
//TODO: Implement your service logic here | ||
|
||
}]); | ||
|
||
|
||
})(); |
31 changes: 31 additions & 0 deletions
31
app/templates/skeleton/app/help/controllers/help-controller-spec.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
(function(){ | ||
'use strict'; | ||
|
||
/** | ||
* This is a sample controller spec | ||
* Generated by ng-appgen Yeomen/Angular generator. | ||
* | ||
* @author: Tapas Jena | ||
* @copyright: Anitech Consulting Services Pvt Ltd. | ||
*/ | ||
describe('helpController', function() { | ||
|
||
var scope, ctrl; | ||
|
||
beforeEach(module('help')); | ||
|
||
beforeEach(inject(function($rootScope, $controller) { | ||
scope = $rootScope.$new(); | ||
ctrl = $controller('helpController', {$scope: scope}); | ||
})); | ||
|
||
it('should ...', inject(function(helpController) { | ||
|
||
//TODO: Implement your controller spec logic here | ||
//expect(helpController.doSomething()).toEqual('something'); | ||
|
||
})); | ||
|
||
}); | ||
|
||
})(); |
17 changes: 17 additions & 0 deletions
17
app/templates/skeleton/app/help/controllers/help-controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
(function(){ | ||
'use strict'; | ||
|
||
/** | ||
* This is a sample controller | ||
* Generated by ng-appgen Yeomen/Angular generator. | ||
* | ||
* @author: Tapas Jena | ||
* @copyright: Anitech Consulting Services Pvt Ltd. | ||
*/ | ||
angular.module('help').controller('helpController', ['$scope', 'loadContent', function($scope, loadContent) { | ||
|
||
$scope.helpContentList = loadContent; | ||
|
||
}]); | ||
|
||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
(function(){ | ||
'use strict'; | ||
|
||
/** | ||
* This is a sample module | ||
* Generated by ng-appgen Yeomen/Angular generator. | ||
* | ||
* @author: Tapas Jena | ||
* @copyright: Anitech Consulting Services Pvt Ltd. | ||
*/ | ||
angular.module('help', ['ui.bootstrap', 'ui.utils', '<%= routerModuleName %>', 'ngAnimate', 'restangular']); | ||
<% if (!uirouter) { %> | ||
angular.module('help').config(function($routeProvider) { | ||
|
||
$routeProvider.when('/help', { | ||
templateUrl: 'help/templates/help-template.html', | ||
controller: 'helpController', | ||
resolve: { | ||
loadContent: function( helpService ){ | ||
return helpService.getHelpContent(); | ||
} | ||
} | ||
}); | ||
/* Add New Routes Above */ | ||
|
||
}); | ||
<% } %><% if (uirouter) { %> | ||
angular.module('help').config(function($stateProvider) { | ||
|
||
$stateProvider.state('help-template', { | ||
url: '/help', | ||
templateUrl: 'help/templates/help-template.html', | ||
controller: 'helpController', | ||
resolve: { | ||
loadContent: function( helpService ){ | ||
return helpService.getHelpContent(); | ||
} | ||
} | ||
}); | ||
/* Add New States Above */ | ||
|
||
}); | ||
<% } %> | ||
|
||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* Component LESS */ | ||
@import "templates/help-template.less"; | ||
/* Add Component LESS Above */ | ||
|
24 changes: 24 additions & 0 deletions
24
app/templates/skeleton/app/help/services/help-service-spec.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
(function(){ | ||
'use strict'; | ||
|
||
/** | ||
* This is a sample service spec | ||
* Generated by ng-appgen Yeomen/Angular generator. | ||
* | ||
* @author: Tapas Jena | ||
* @copyright: Anitech Consulting Services Pvt Ltd. | ||
*/ | ||
describe('helpService', function() { | ||
|
||
beforeEach(module('help')); | ||
|
||
it('should ...', inject(function(helpService) { | ||
|
||
//TODO: Implement your service spec logic here | ||
//expect(helpService.doSomething()).toEqual('something'); | ||
|
||
})); | ||
|
||
}); | ||
|
||
})(); |
Oops, something went wrong.