From 3ebb3ed00dbdc99c21d0c998674144dba412f5a9 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Fri, 18 Mar 2016 14:31:45 -0700 Subject: [PATCH] A bit more similar to the old theme --- app/components/RequestPane.js | 27 ++++++++++---------- app/components/ResponsePane.js | 10 ++++---- app/components/Sidebar.js | 20 ++++++++------- app/containers/App.js | 2 +- app/css/base.scss | 3 --- app/css/components/response.scss | 8 +++--- app/css/components/sidebar.scss | 1 + app/css/constants/colors.scss | 43 +++++++++++++++++++------------- app/css/index.scss | 1 - app/css/layout/forms.scss | 1 - app/css/layout/header.scss | 23 ----------------- app/css/layout/pane.scss | 29 ++++++++++++++++++--- app/reducers/index.js | 2 +- 13 files changed, 87 insertions(+), 83 deletions(-) delete mode 100644 app/css/layout/header.scss diff --git a/app/components/RequestPane.js b/app/components/RequestPane.js index 792dbd642..4fa039ec3 100644 --- a/app/components/RequestPane.js +++ b/app/components/RequestPane.js @@ -3,30 +3,31 @@ import Editor from '../components/Editor' const RequestPane = (props) => (
-
+
- -
-
- {['Query Params', 'Body', 'Headers', 'Basic Auth'].map((name => { - return - }))} +
+
+ {['Query Params', 'Body', 'Headers', 'Basic Auth'].map((name => + + ))} +
+ {localStorage['json'] = v}} + options={{mode: 'application/json', lineNumbers: true}}/>
- {localStorage['json'] = v;}} - options={{mode: 'application/json', lineNumbers: true}} - >
); diff --git a/app/components/ResponsePane.js b/app/components/ResponsePane.js index aa572c292..71a89066e 100644 --- a/app/components/ResponsePane.js +++ b/app/components/ResponsePane.js @@ -2,16 +2,16 @@ import React from 'react' import Editor from '../components/Editor' const ResponsePane = (props) => ( -
-
+
+
200 SUCCESS
GET https://google.com
- +
+ +
); diff --git a/app/components/Sidebar.js b/app/components/Sidebar.js index 050e7876c..8f9253076 100644 --- a/app/components/Sidebar.js +++ b/app/components/Sidebar.js @@ -1,17 +1,19 @@ import React from 'react' const Sidebar = (props) => ( -