From addb62f12824a6a8aa9aa632e54ba5ca00663e47 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Sun, 9 Jun 2013 18:05:43 -0900 Subject: [PATCH] Clean up comments --- container-sample.json | 45 ------------------------------------------ css/app.css | 5 ----- index.html | 3 ++- js/controllers.js | 5 ----- partials/masthead.html | 2 +- 5 files changed, 3 insertions(+), 57 deletions(-) delete mode 100644 container-sample.json diff --git a/container-sample.json b/container-sample.json deleted file mode 100644 index f19488339..000000000 --- a/container-sample.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "Id": "4fa6e0f0c6786287e131c3852c58a2e01cc697a68231826813597e4994f1d6e2", - "Created": "2013-05-07T14:51:42.041847+02:00", - "Path": "date", - "Args": [], - "Config": { - "Hostname": "4fa6e0f0c678", - "User": "", - "Memory": 0, - "MemorySwap": 0, - "AttachStdin": false, - "AttachStdout": true, - "AttachStderr": true, - "PortSpecs": null, - "Tty": false, - "OpenStdin": false, - "StdinOnce": false, - "Env": null, - "Cmd": [ - "date" - ], - "Dns": null, - "Image": "base", - "Volumes": {}, - "VolumesFrom": "" - }, - "State": { - "Running": false, - "Pid": 0, - "ExitCode": 0, - "StartedAt": "2013-05-07T14:51:42.087658+02:01360", - "Ghost": false - }, - "Image": "b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc", - "NetworkSettings": { - "IpAddress": "", - "IpPrefixLen": 0, - "Gateway": "", - "Bridge": "", - "PortMapping": null - }, - "SysInitPath": "/home/kitty/go/src/github.com/dotcloud/docker/bin/docker", - "ResolvConfPath": "/etc/resolv.conf", - "Volumes": {} -} diff --git a/css/app.css b/css/app.css index 62c986b38..8c3766401 100644 --- a/css/app.css +++ b/css/app.css @@ -3,7 +3,6 @@ padding-bottom: 60px; } - /* Custom container */ .container { margin: 0 auto; max-width: 1000px; @@ -12,7 +11,6 @@ margin: 60px 0; } - /* Main marketing message and sign up button */ .jumbotron { margin: 80px 0; text-align: center; @@ -30,7 +28,6 @@ padding: 14px 24px; } - /* Supporting marketing content */ .marketing { margin: 60px 0; } @@ -38,8 +35,6 @@ margin-top: 28px; } - - /* Customize the navbar links to be fill the entire space of the .navbar */ .navbar .navbar-inner { padding: 0; } diff --git a/index.html b/index.html index 8b90de659..ae5e5c990 100644 --- a/index.html +++ b/index.html @@ -37,7 +37,7 @@

Created by:Michael Crosby

- + @@ -55,6 +55,7 @@ + diff --git a/js/controllers.js b/js/controllers.js index 362d097b0..b9ca6001a 100644 --- a/js/controllers.js +++ b/js/controllers.js @@ -1,5 +1,4 @@ -// Controller for the top masthead function MastheadController($scope) { $scope.template = 'partials/masthead.html'; @@ -86,7 +85,6 @@ function SettingsController($scope, Auth, System, Docker, Settings) { }); } -// Controls the page that displays a single container and actions on that container. function ContainerController($scope, $routeParams, $location, Container) { $('#response').hide(); $scope.alertClass = 'block'; @@ -174,7 +172,6 @@ function ContainerController($scope, $routeParams, $location, Container) { $scope.getChanges(); } -// Controller for the list of containers function ContainersController($scope, Container, Settings) { $scope.displayAll = Settings.displayAll; $scope.predicate = '-Created'; @@ -199,7 +196,6 @@ function ContainersController($scope, Container, Settings) { update({all: $scope.displayAll ? 1 : 0}); } -// Controller for the list of images function ImagesController($scope, Image) { $scope.predicate = '-Created'; @@ -208,7 +204,6 @@ function ImagesController($scope, Image) { }); } -// Controller for a single image and actions on that image function ImageController($scope, $routeParams, $location, Image) { $scope.history = []; $scope.tag = {repo: '', force: false}; diff --git a/partials/masthead.html b/partials/masthead.html index 39946d641..b65b11a50 100644 --- a/partials/masthead.html +++ b/partials/masthead.html @@ -11,5 +11,5 @@ - +