couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [2/2] fauxton commit: updated refs/heads/master to 4f633e5
Date Tue, 13 Sep 2016 12:31:10 GMT
react config: fix small issues


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/4f633e50
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/4f633e50
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/4f633e50

Branch: refs/heads/master
Commit: 4f633e508bd9cb24cdb1a858c00d624d01732de1
Parents: ee1a92b
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Tue Sep 13 14:31:00 2016 +0200
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Tue Sep 13 14:31:00 2016 +0200

----------------------------------------------------------------------
 app/addons/config/assets/less/config.less | 15 ++++++++-------
 app/addons/config/components.react.jsx    |  2 +-
 devserver.js                              |  4 ++--
 3 files changed, 11 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/4f633e50/app/addons/config/assets/less/config.less
----------------------------------------------------------------------
diff --git a/app/addons/config/assets/less/config.less b/app/addons/config/assets/less/config.less
index f74b2ec..a9d7d7c 100644
--- a/app/addons/config/assets/less/config.less
+++ b/app/addons/config/assets/less/config.less
@@ -45,13 +45,13 @@
   background-color: #e0e0e0;
 }
 
-.table-striped tbody > tr.config-item:nth-child(odd) > td,
-.table-striped tbody > tr.config-item:nth-child(odd) > th {
+.config.table-striped tbody > tr.config-item:nth-child(odd) > td,
+.config.table-striped tbody > tr.config-item:nth-child(odd) > th {
   transition: background-color 100ms;
 }
 
-.table-striped tbody > tr.config-item:nth-child(odd):hover > td,
-.table-striped tbody > tr.config-item:nth-child(odd):hover > th {
+.config.table-striped tbody > tr.config-item:nth-child(odd):hover > td,
+.config.table-striped tbody > tr.config-item:nth-child(odd):hover > th {
   background-color: #e7e7e7;
 }
 
@@ -185,10 +185,11 @@ table.config {
       color: white;
     }
   }
-}
 
-.popover.bottom .arrow, .popover.bottom .arrow::after {
-  border-bottom-color: #333 !important;
+  .arrow, .arrow::after {
+    border-bottom-color: #333 !important;
+  }
+
 }
 
 #add-option-popover::before {

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/4f633e50/app/addons/config/components.react.jsx
----------------------------------------------------------------------
diff --git a/app/addons/config/components.react.jsx b/app/addons/config/components.react.jsx
index a825282..4432753 100644
--- a/app/addons/config/components.react.jsx
+++ b/app/addons/config/components.react.jsx
@@ -37,7 +37,7 @@ var ConfigTableController = React.createClass({
   },
 
   componentWillUnmount () {
-    configStore.off('change', this.onChange, this);
+    configStore.off('change', this.onChange);
   },
 
   onChange () {

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/4f633e50/devserver.js
----------------------------------------------------------------------
diff --git a/devserver.js b/devserver.js
index be2c9d6..3bef0a8 100644
--- a/devserver.js
+++ b/devserver.js
@@ -1,4 +1,4 @@
-var spawn = require('cross-spawn').spawn;
+var spawn = require('child_process').spawn;
 var path = require("path");
 var fs = require("fs");
 var _ = require('lodash');
@@ -18,7 +18,7 @@ var loadSettings = function () {
     port: process.env.FAUXTON_PORT || 8000,
     contentSecurityPolicy: true,
     proxy: {
-      target: 'http://couch:5984',
+      target: 'http://127.0.0.1:5984',
       changeOrigin: false
     }
   };


Mime
View raw message