You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2016/07/04 13:38:24 UTC
fauxton commit: updated refs/heads/master to 486dd95
Repository: couchdb-fauxton
Updated Branches:
refs/heads/master 73521f15c -> 486dd9520
improve string-edit-modal
- change text
- make cursor a pointer for cancel link
- make cancel-button a link
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/486dd952
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/486dd952
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/486dd952
Branch: refs/heads/master
Commit: 486dd9520e9e58e5b4b11618ad1dd363a0e6f133
Parents: 73521f1
Author: Justin McDavid <jm...@us.ibm.com>
Authored: Thu Jun 30 11:25:03 2016 -0700
Committer: Garren Smith <ga...@gmail.com>
Committed: Mon Jul 4 15:37:31 2016 +0200
----------------------------------------------------------------------
app/addons/components/assets/less/modals.less | 1 +
app/addons/components/react-components.react.jsx | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/486dd952/app/addons/components/assets/less/modals.less
----------------------------------------------------------------------
diff --git a/app/addons/components/assets/less/modals.less b/app/addons/components/assets/less/modals.less
index 4a971b5..0ad20c1 100644
--- a/app/addons/components/assets/less/modals.less
+++ b/app/addons/components/assets/less/modals.less
@@ -19,5 +19,6 @@
color: @defaultText;
&:hover {
color: @brandPrimaryDark;
+ cursor: pointer;
}
}
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/486dd952/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 ee297d2..34d0b3d 100644
--- a/app/addons/components/react-components.react.jsx
+++ b/app/addons/components/react-components.react.jsx
@@ -794,16 +794,16 @@ var StringEditModal = React.createClass({
return (
<Modal dialogClassName="string-editor-modal" show={this.props.visible} onHide={this.closeModal}>
<Modal.Header closeButton={true}>
- <Modal.Title>Edit text <span id="string-edit-header"></span></Modal.Title>
+ <Modal.Title>Edit Value <span id="string-edit-header"></span></Modal.Title>
</Modal.Header>
<Modal.Body>
<div id="modal-error" className="hide alert alert-error"/>
<div id="string-editor-wrapper"><div ref="stringEditor" className="doc-code"></div></div>
</Modal.Body>
<Modal.Footer>
- <button className="cancel-button btn" onClick={this.closeModal}><i className="icon fonticon-circle-x"></i> Cancel</button>
+ <a className="cancel-link" onClick={this.closeModal}>Cancel</a>
<button id="string-edit-save-btn" onClick={this.save} className="btn btn-success save">
- <i className="fonticon-circle-check"></i> Save
+ <i className="fonticon-circle-check"></i> Modify Text
</button>
</Modal.Footer>
</Modal>