couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [6/6] fauxton commit: updated refs/heads/master to ae2225e
Date Wed, 27 May 2015 12:06:03 GMT
mango: add edit button

PR: #427
PR-URL: https://github.com/apache/couchdb-fauxton/pull/427
Reviewed-By: garren smith <garren.smith@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/404e5481
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/404e5481
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/404e5481

Branch: refs/heads/master
Commit: 404e5481a9e17f1f37835e88da55988d7e4cfd89
Parents: bb2ed15
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Wed May 20 12:27:24 2015 +0200
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Wed May 27 14:09:39 2015 +0200

----------------------------------------------------------------------
 app/addons/documents/assets/less/view-editor.less     | 3 +++
 app/addons/documents/mango/mango.components.react.jsx | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/404e5481/app/addons/documents/assets/less/view-editor.less
----------------------------------------------------------------------
diff --git a/app/addons/documents/assets/less/view-editor.less b/app/addons/documents/assets/less/view-editor.less
index 05f40ba..5872b64 100644
--- a/app/addons/documents/assets/less/view-editor.less
+++ b/app/addons/documents/assets/less/view-editor.less
@@ -51,6 +51,9 @@
   form {
     padding-bottom: 50px;
   }
+  a.edit-link {
+    float: right;
+  }
 }
 
 body .view-query-save .control-group {

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/404e5481/app/addons/documents/mango/mango.components.react.jsx
----------------------------------------------------------------------
diff --git a/app/addons/documents/mango/mango.components.react.jsx b/app/addons/documents/mango/mango.components.react.jsx
index a47ff12..6dba412 100644
--- a/app/addons/documents/mango/mango.components.react.jsx
+++ b/app/addons/documents/mango/mango.components.react.jsx
@@ -185,6 +185,7 @@ function (app, FauxtonAPI, React, Stores, Actions,
       return (
         <PaddedBorderedBox>
           <strong>Your available Indexes:</strong>
+          <a className="edit-link" href={'#' + FauxtonAPI.urls('mango', 'index-app', this.props.dbName)}>edit</a>
           <pre
             className="mango-available-indexes">
             {this.getIndexes('index', this.props.availableIndexes)}


Mime
View raw message