diff --git a/css/app.css b/css/app.css index d7833aac6..a7311bf20 100644 --- a/css/app.css +++ b/css/app.css @@ -101,3 +101,12 @@ width: 80%; margin: 0 auto; } + +#editor { + height: 300px; + width: 475px; + border: 1px solid #DDD; + border-radius: 4px; + border-bottom-right-radius: 0px; + margin-top: 5px; +} diff --git a/js/app.js b/js/app.js index 386179a67..94a2a0885 100644 --- a/js/app.js +++ b/js/app.js @@ -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 diff --git a/js/controllers.js b/js/controllers.js index 15abcd983..7053e2a5a 100644 --- a/js/controllers.js +++ b/js/controllers.js @@ -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; diff --git a/partials/builder.html b/partials/builder.html new file mode 100644 index 000000000..30c373141 --- /dev/null +++ b/partials/builder.html @@ -0,0 +1,17 @@ + + +