mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
Add builder partial
This commit is contained in:
parent
c4b0a2257f
commit
fc01c93c27
5 changed files with 33 additions and 2 deletions
|
@ -8,6 +8,7 @@ angular.module('dockerui', ['dockerui.services', 'dockerui.filters'])
|
|||
$routeProvider.when('/images/', {templateUrl: 'partials/images.html', controller: 'ImagesController'});
|
||||
$routeProvider.when('/images/:id/', {templateUrl: 'partials/image.html', controller: 'ImageController'});
|
||||
$routeProvider.when('/settings', {templateUrl: 'partials/settings.html', controller: 'SettingsController'});
|
||||
$routeProvider.when('/build', {templateUrl: 'partials/builder.html', controller: 'BuilderController'});
|
||||
$routeProvider.otherwise({redirectTo: '/'});
|
||||
}])
|
||||
// This is your docker url that the api will use to make requests
|
||||
|
|
|
@ -278,6 +278,10 @@ function StartContainerController($scope, $routeParams, $location, Container) {
|
|||
};
|
||||
}
|
||||
|
||||
function BuilderController($scope, Image) {
|
||||
$('#response').hide();
|
||||
}
|
||||
|
||||
function setSuccessfulResponse($scope, msg, msgId) {
|
||||
$scope.alertClass = 'success';
|
||||
$scope.response = msg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue