mirror of https://github.com/docker/docs.git
Removing some log statements
This commit is contained in:
parent
0fd75bd926
commit
74d5598526
|
@ -45,6 +45,7 @@
|
||||||
"bugsnag-js": "git+https://git@github.com/bugsnag/bugsnag-js",
|
"bugsnag-js": "git+https://git@github.com/bugsnag/bugsnag-js",
|
||||||
"dockerode": "2.0.4",
|
"dockerode": "2.0.4",
|
||||||
"exec": "0.1.2",
|
"exec": "0.1.2",
|
||||||
|
"html2canvas": "^0.5.0-alpha2",
|
||||||
"jquery": "^2.1.3",
|
"jquery": "^2.1.3",
|
||||||
"minimist": "^1.1.0",
|
"minimist": "^1.1.0",
|
||||||
"node-uuid": "1.4.1",
|
"node-uuid": "1.4.1",
|
||||||
|
|
|
@ -40,7 +40,7 @@ var ContainerHome = React.createClass({
|
||||||
<div className="web-preview">
|
<div className="web-preview">
|
||||||
<h4>Web Preview</h4>
|
<h4>Web Preview</h4>
|
||||||
<div className="widget">
|
<div className="widget">
|
||||||
<iframe src={this.props.ports[this.props.defaultPort].url}></iframe>
|
<iframe name="disable-x-frame-options" src={this.props.ports[this.props.defaultPort].url}></iframe>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -9,7 +9,6 @@ var ContainerList = React.createClass({
|
||||||
render: function () {
|
render: function () {
|
||||||
var self = this;
|
var self = this;
|
||||||
var containers = this.props.containers.map(function (container) {
|
var containers = this.props.containers.map(function (container) {
|
||||||
console.log(container);
|
|
||||||
return (
|
return (
|
||||||
<ContainerListItem container={container} start={self._start}/>
|
<ContainerListItem container={container} start={self._start}/>
|
||||||
);
|
);
|
||||||
|
|
|
@ -323,7 +323,6 @@ var ContainerStore = assign(EventEmitter.prototype, {
|
||||||
var recommended = res.repos;
|
var recommended = res.repos;
|
||||||
async.map(recommended, function (rec, callback) {
|
async.map(recommended, function (rec, callback) {
|
||||||
$.get('https://registry.hub.docker.com/v1/search?q=' + rec.repo, function (data) {
|
$.get('https://registry.hub.docker.com/v1/search?q=' + rec.repo, function (data) {
|
||||||
console.log(data);
|
|
||||||
var results = data.results;
|
var results = data.results;
|
||||||
var result = _.find(results, function (r) {
|
var result = _.find(results, function (r) {
|
||||||
return r.name === rec.repo;
|
return r.name === rec.repo;
|
||||||
|
|
|
@ -28,9 +28,14 @@
|
||||||
.image-item {
|
.image-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
.logo {
|
.logo {
|
||||||
|
flex: 1 auto;
|
||||||
min-width: 90px;
|
min-width: 90px;
|
||||||
height: 100%;
|
|
||||||
background-color: @brand-action;
|
background-color: @brand-action;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
img {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.card {
|
.card {
|
||||||
padding: 10px 20px 10px 20px;
|
padding: 10px 20px 10px 20px;
|
||||||
|
|
Loading…
Reference in New Issue