Made delete prompts use the same styling

made the delete prompts more uniform
This commit is contained in:
Jared Tabor
2014-12-17 17:49:45 -05:00
parent 7d0e6d8f53
commit be2f2596f3
10 changed files with 523 additions and 5 deletions

View File

@@ -94,7 +94,7 @@ function JobTemplatesList($scope, $rootScope, $location, $log, $routeParams, Res
Prompt({
hdr: 'Delete',
body: '<div class=\"alert alert-info\">Delete inventory ' + name + '?</div>',
body: '<div class=\"alert alert-info\">Delete job template ' + name + '?</div>',
action: action
});
};

View File

@@ -89,7 +89,7 @@ function OrganizationsList($routeParams, $scope, $rootScope, $location, $log, Re
Prompt({
hdr: 'Delete',
body: "<div class\"alert alert-info\">Delete organization " + name + "?</div>",
body: '<div class=\"alert alert-info\">Delete organization ' + name + '?</div>',
action: action
});
};

View File

@@ -269,7 +269,7 @@ function ProjectsList ($scope, $rootScope, $location, $log, $routeParams, Rest,
Prompt({
hdr: 'Delete',
body: 'Are you sure you want to delete ' + name + '?',
body: '<div class=\"alert alert-info\">Delete project ' + name + '?</div>',
action: action
});
};

View File

@@ -102,7 +102,7 @@ function TeamsList($scope, $rootScope, $location, $log, $routeParams, Rest, Aler
Prompt({
hdr: 'Delete',
body: 'Are you sure you want to delete ' + name + '?',
body: '<div class=\"alert alert-info\">Delete team ' + name + '?</div>',
action: action
});
};

View File

@@ -93,7 +93,7 @@ function UsersList($scope, $rootScope, $location, $log, $routeParams, Rest, Aler
Prompt({
hdr: 'Delete',
body: 'Are you sure you want to delete ' + name + '?',
body: '<div class=\"alert alert-info\">Delete user ' + name + '?</div>',
action: action
});
};