--- a/client/src/components/NotesList.js Wed Jul 18 17:32:09 2018 +0200
+++ b/client/src/components/NotesList.js Tue Aug 14 20:34:50 2018 +0200
@@ -1,7 +1,7 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import Immutable from 'immutable';
-import { Alert, Modal, Button } from 'react-bootstrap';
+import { Modal } from 'react-bootstrap';
import Note from './Note';
class NotesList extends Component {
@@ -47,7 +47,7 @@
render() {
if (this.props.notes.size === 0) {
return (
- <Alert bsStyle="warning">No notes yet. Add notes with the textarea below.</Alert>
+ <div className="alert alert-warning">Commencez votre première note en écrivant dans le champ texte ci-dessous</div>
);
}
@@ -68,11 +68,11 @@
<Modal show={this.state.showModal} onHide={this.closeModal}>
<Modal.Body>
- Are you sure?
+ Êtes vous sûr(e) ?
</Modal.Body>
<Modal.Footer>
- <Button bsStyle="primary" onClick={ this.deleteNote }>Confirm</Button>
- <Button onClick={ this.closeModal }>Close</Button>
+ <button type="submit" className="btn btn-primary btn-lg" onClick={ this.deleteNote }>Confirm</button>
+ <button type="submit" className="btn btn-default btn-lg" onClick={ this.closeModal }>Close</button>
</Modal.Footer>
</Modal>