This commit is contained in:
Jeffrey Morgan 2015-06-10 16:20:01 -07:00
Родитель c722a933d6
Коммит 7256065ca1
4 изменённых файлов: 16 добавлений и 11 удалений

Просмотреть файл

@ -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;
}