From 58113c87da508d845c1ec952b9a6f64260c05eab Mon Sep 17 00:00:00 2001 From: Fabian Eichhorner Date: Sun, 20 Jan 2019 20:18:09 +0100 Subject: [PATCH] updated style --- service-website/src/components/PdfReport.js | 12 +++--- .../src/components/SentimentAnalysis.js | 40 +++++++++++-------- .../src/services/CamundaService.js | 6 +-- 3 files changed, 30 insertions(+), 28 deletions(-) diff --git a/service-website/src/components/PdfReport.js b/service-website/src/components/PdfReport.js index 71d9c46..3a1c63c 100644 --- a/service-website/src/components/PdfReport.js +++ b/service-website/src/components/PdfReport.js @@ -10,12 +10,12 @@ const PdfReport = ({pdfLink, loading}) => { ); } else if (loading){ return ( -
-
-
-
-
-
+
+
+
+
+
+
); } else { diff --git a/service-website/src/components/SentimentAnalysis.js b/service-website/src/components/SentimentAnalysis.js index aed2f01..8cf5f04 100644 --- a/service-website/src/components/SentimentAnalysis.js +++ b/service-website/src/components/SentimentAnalysis.js @@ -3,7 +3,7 @@ import {Map} from "immutable"; import PdfReport from "./PdfReport"; import SearchTermsInput from "./SearchTermsInput"; import CamundaService from "../services/CamundaService"; -import {Button, Heading, Form} from "react-bulma-components/full"; +import {Button, Heading, Form, Columns} from "react-bulma-components/full"; class SentimentAnalysis extends Component { constructor(props, context) { @@ -97,22 +97,28 @@ class SentimentAnalysis extends Component { render() { return (
-
- Search Terms: - - -

- -

-

- -

-
- - + + +
+ Search Terms: + + +

+ +

+

+ +

+
+ +
+ + + +
); } diff --git a/service-website/src/services/CamundaService.js b/service-website/src/services/CamundaService.js index 1720332..44053e6 100644 --- a/service-website/src/services/CamundaService.js +++ b/service-website/src/services/CamundaService.js @@ -53,14 +53,10 @@ class CamundaService { this.axiosInstance .get(downloadUrl) .then(response => { - const data = response.data; - console.log(data); this.callback(downloadUrl); - }) .catch(error => { - console.log(error); - this.delay(3000) + this.delay(5000) .then(() => { this.getPdfDownloadLink(id); }); -- 2.43.0