diff --git a/app/renderer/components/ServerMonitor/ServerMonitor.css b/app/renderer/components/ServerMonitor/ServerMonitor.css
index fb88f2a6..f6fac87b 100644
--- a/app/renderer/components/ServerMonitor/ServerMonitor.css
+++ b/app/renderer/components/ServerMonitor/ServerMonitor.css
@@ -65,12 +65,6 @@
border-color: #a0a0a0 !important;
}
-.getRawLogsButton {
- position: absolute;
- right: 0;
- margin: 0 1em 0 0;
-}
-
.term {
white-space: pre-wrap;
width: 100%;
diff --git a/app/renderer/components/ServerMonitor/ServerMonitor.js b/app/renderer/components/ServerMonitor/ServerMonitor.js
index e8e56aee..3c2c03c7 100644
--- a/app/renderer/components/ServerMonitor/ServerMonitor.js
+++ b/app/renderer/components/ServerMonitor/ServerMonitor.js
@@ -1,5 +1,5 @@
import React, { Component, PropTypes } from 'react';
-import { Button } from 'antd';
+import { Button, Tooltip } from 'antd';
import { STATUS_RUNNING, STATUS_STOPPING,
STATUS_STOPPED } from '../../reducers/ServerMonitor';
import styles from './ServerMonitor.css';
@@ -31,15 +31,23 @@ class StopButton extends Component {
render () {
const {serverStatus, stopServer, closeMonitor} = this.props;
- let btn = ;
+ let btn =
+
+ ;
if (serverStatus === STATUS_STOPPED) {
- btn = ;
+ btn =
+
+ ;
} else if (serverStatus === STATUS_STOPPING) {
- btn = ;
+ btn =
+
+ ;
}
return btn;
}
@@ -54,9 +62,11 @@ class StartSessionButton extends Component {
render () {
const {serverStatus, startSession} = this.props;
if (serverStatus !== STATUS_STOPPED && serverStatus !== STATUS_STOPPING) {
- return ;
+ return
+
+ ;
} else {
return null;
}
@@ -65,9 +75,11 @@ class StartSessionButton extends Component {
class GetRawLogsButton extends Component {
render () {
- return ;
+ return
+ ;
}
}
@@ -153,11 +165,11 @@ export default class ServerMonitor extends Component {
+
this._term = c}>
-
{logLineSection}
{lastSection}
diff --git a/package-lock.json b/package-lock.json
index 16004851..3c63ffac 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "appium-desktop",
- "version": "1.2.0-beta.1",
+ "version": "1.2.0-beta.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -16,9 +16,18 @@
"integrity": "sha512-jgBTCcJ0gQedE9o8Jw+H/Gyq//EnQxmVpha7CdprIwzRSC81Uj37inHvPzv6jaZgZwkCcfho52rAaIFBrdbO7w==",
"dev": true,
"requires": {
- "7zip-bin-mac": "1.0.1"
+ "7zip-bin-linux": "1.1.0",
+ "7zip-bin-mac": "1.0.1",
+ "7zip-bin-win": "2.1.0"
}
},
+ "7zip-bin-linux": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/7zip-bin-linux/-/7zip-bin-linux-1.1.0.tgz",
+ "integrity": "sha512-BfW7XsUWNV/j723el3gGbiNWdmvLrnTB9VD0BondfCinxCwz4RQ60W4c3UxRpfHn1Q4Cn1o/DxYFmLMgHTEKqg==",
+ "dev": true,
+ "optional": true
+ },
"7zip-bin-mac": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/7zip-bin-mac/-/7zip-bin-mac-1.0.1.tgz",
@@ -26,6 +35,13 @@
"dev": true,
"optional": true
},
+ "7zip-bin-win": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/7zip-bin-win/-/7zip-bin-win-2.1.0.tgz",
+ "integrity": "sha512-7t8V+cGvZ0xUAuTLH1iDkrl+XVYWxlS3hHCvA6yELTcx2VwgMDNe4FdQlyKJRjO0PExn0sit8wD3PGaPKBpt2A==",
+ "dev": true,
+ "optional": true
+ },
"abab": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/abab/-/abab-1.0.3.tgz",