зеркало из https://github.com/docker/kitematic.git
Minor bugfixes
This commit is contained in:
Родитель
c722a933d6
Коммит
7256065ca1
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Kitematic",
|
||||
"version": "0.6.4",
|
||||
"version": "0.6.5",
|
||||
"author": "Kitematic",
|
||||
"description": "Simple Docker Container management for Mac OS X.",
|
||||
"homepage": "https://kitematic.com/",
|
||||
|
|
|
@ -161,7 +161,7 @@ var Containers = React.createClass({
|
|||
<section className={sidebarHeaderClass}>
|
||||
<h4>Containers</h4>
|
||||
<div className="create">
|
||||
<Router.Link to="new">
|
||||
<Router.Link tabIndex="-1" to="new">
|
||||
<span className="btn-new icon icon-add-3"></span>
|
||||
</Router.Link>
|
||||
</div>
|
||||
|
|
|
@ -42,25 +42,30 @@ var MenuTemplate = function () {
|
|||
click: function () {
|
||||
metrics.track('Installed Docker Commands');
|
||||
if (!setupUtil.shouldUpdateBinaries()) {
|
||||
dialog.showMessageBox({
|
||||
message: 'Docker binaries are already installed in /usr/local/bin',
|
||||
buttons: ['OK']
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
let copy = setupUtil.needsBinaryFix() ?
|
||||
util.exec(setupUtil.copyBinariesCmd() + ' && ' + setupUtil.fixBinariesCmd()) :
|
||||
util.exec(setupUtil.macSudoCmd(setupUtil.copyBinariesCmd() + ' && ' + setupUtil.fixBinariesCmd())) :
|
||||
util.exec(setupUtil.copyBinariesCmd());
|
||||
|
||||
copy.then(() => {
|
||||
dialog.showMessageBox({
|
||||
message: 'Docker binaries have been copied to /usr/local/bin',
|
||||
message: 'Docker binaries have been installed under /usr/local/bin',
|
||||
buttons: ['OK']
|
||||
});
|
||||
}).catch(() => {});
|
||||
}).catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
},
|
||||
},
|
||||
{
|
||||
type: 'separator'
|
||||
},
|
||||
{
|
||||
}, {
|
||||
label: 'Hide Kitematic',
|
||||
accelerator: util.CommandOrCtrl() + '+H',
|
||||
selector: 'hide:'
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
flex: 1;
|
||||
flex: 1 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.details-subheader {
|
||||
flex: 0 auto;
|
||||
flex: 0 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
position: relative;
|
||||
|
@ -78,7 +78,7 @@
|
|||
}
|
||||
}
|
||||
.details-header {
|
||||
flex: 0 auto;
|
||||
flex: 0 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding: 18px 24px 24px 24px;
|
||||
|
@ -148,7 +148,7 @@
|
|||
}
|
||||
}
|
||||
.details-panel {
|
||||
flex: 1;
|
||||
flex: 1 auto;
|
||||
overflow: auto;
|
||||
background-color: white;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче