1
0
Fork 0
mirror of https://github.com/mmumshad/ansible-playable.git synced 2025-03-09 23:38:54 +00:00

Fix Template loading

This commit is contained in:
Mumshad Mannambeth 2017-07-08 13:40:03 -04:00
parent 7ace379937
commit 34a003c698
7 changed files with 16 additions and 32 deletions

View file

@ -86,8 +86,7 @@ export class PlaybookComponent {
$scope.showCreatePlaybookModal = function(){
var modalInstance = $uibModal.open({
animation: true,
/*templateUrl: 'createTaskContent.html',*/
templateUrl: 'app/designer/playbook/new_playbook/new_playbook.html',
template: require('./new_playbook/new_playbook.html'),
controller: 'NewPlaybookController',
size: 'md',
backdrop : 'static',
@ -156,8 +155,7 @@ export class PlaybookComponent {
$scope.showCreatePlayModal = function(selectedPlayIndex){
var modalInstance = $uibModal.open({
animation: true,
/*templateUrl: 'createPlayContent.html',*/
templateUrl: 'app/designer/playbook/new_play/new_play.html',
template: require('./new_play/new_play.html'),
controller: 'NewPlayController',
size: 'lg',
backdrop : 'static',
@ -211,11 +209,10 @@ export class PlaybookComponent {
// ------------------- EXECUTE PLAYBOOK MODAL -------------
$scope.executeAnsiblePlayBook = function(tags,executionType,executionName,selectedPlay){
console.log("Tags type" + typeof tags)
var modalInstance = $uibModal.open({
animation: true,
/*templateUrl: 'createTaskContent.html',*/
templateUrl: 'app/designer/execution/executeModal.html',
template: require('../execution/executeModal.html'),
controller: 'ExecutionController',
size: 'lg',
backdrop : 'static',