You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2015/10/19 11:06:52 UTC
[5/6] fauxton commit: updated refs/heads/master to 42b9fa4
fix jsx style issues
PR: #560
PR-URL: https://github.com/apache/couchdb-fauxton/pull/560
Reviewed-By: Benjamin Keen <be...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/d2d98bd9
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/d2d98bd9
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/d2d98bd9
Branch: refs/heads/master
Commit: d2d98bd9a9d3ea355daaa386270eec5adb210e1e
Parents: 1d8569f
Author: Robert Kowalski <ro...@apache.org>
Authored: Fri Oct 16 15:39:21 2015 +0200
Committer: Robert Kowalski <ro...@apache.org>
Committed: Mon Oct 19 11:06:15 2015 +0200
----------------------------------------------------------------------
app/addons/components/react-components.react.jsx | 2 +-
app/addons/databases/components.react.jsx | 11 ++++++++---
app/addons/fauxton/components.react.jsx | 4 ++--
3 files changed, 11 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/d2d98bd9/app/addons/components/react-components.react.jsx
----------------------------------------------------------------------
diff --git a/app/addons/components/react-components.react.jsx b/app/addons/components/react-components.react.jsx
index 95c5bfc..7da23cc 100644
--- a/app/addons/components/react-components.react.jsx
+++ b/app/addons/components/react-components.react.jsx
@@ -858,7 +858,7 @@ function (app, FauxtonAPI, React, Stores, FauxtonComponents, ace, beautifyHelper
<div className="checkbox inline">
<input
id={'checkbox-' + this.props.docIdentifier}
- checked={this.props.checked ? 'checked="checked"': null}
+ checked={this.props.checked ? 'checked="checked"' : null}
type="checkbox"
onChange={this.onChange}
className="js-row-select" />
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/d2d98bd9/app/addons/databases/components.react.jsx
----------------------------------------------------------------------
diff --git a/app/addons/databases/components.react.jsx b/app/addons/databases/components.react.jsx
index 8736a3b..c3e8e7f 100644
--- a/app/addons/databases/components.react.jsx
+++ b/app/addons/databases/components.react.jsx
@@ -132,15 +132,20 @@ define([
return (
<tr>
<td>
- <a href={"#/database/"+encoded+"/_all_docs"}>{name}</a>
+ <a href={"#/database/" + encoded + "/_all_docs"}>{name}</a>
</td>
<td>{size}</td>
<td>{row.status.numDocs()} {this.renderGraveyard(row)}</td>
<td>{row.status.updateSeq()}</td>
{this.getExtensionColumns(row)}
<td>
- <a className="db-actions btn fonticon-replicate set-replication-start" title={"Replicate "+name} href={"#/replication/"+encoded}></a> 
- <a className="db-actions btn icon-lock set-permissions" title={"Set permissions for "+name} href={"#/database/"+encoded+"/permissions"}></a>
+ <a
+ className="db-actions btn fonticon-replicate set-replication-start"
+ title={"Replicate " + name}
+ href={"#/replication/" + encoded}></a> 
+ <a
+ className="db-actions btn icon-lock set-permissions"
+ title={"Set permissions for " + name} href={"#/database/" + encoded + "/permissions"}></a>
</td>
</tr>
);
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/d2d98bd9/app/addons/fauxton/components.react.jsx
----------------------------------------------------------------------
diff --git a/app/addons/fauxton/components.react.jsx b/app/addons/fauxton/components.react.jsx
index e8dc237..caa829b 100644
--- a/app/addons/fauxton/components.react.jsx
+++ b/app/addons/fauxton/components.react.jsx
@@ -98,10 +98,10 @@ function (app, FauxtonAPI, React, ZeroClipboard) {
className="input-xxlarge text-field-to-copy"
readOnly
value={this.props.textToCopy} />
- <a
+ <a
id={"copy-text-" + this.props.uniqueKey}
className="fonticon-clipboard icon btn copy-button"
- data-clipboard-text={this.props.textToCopy}
+ data-clipboard-text={this.props.textToCopy}
data-bypass="true"
ref={"copy-text-" + this.props.uniqueKey}
title="Copy to clipboard"