diff options
| author | jpl | 2016-11-07 10:16:48 +0100 |
|---|---|---|
| committer | jpl | 2016-11-07 10:16:48 +0100 |
| commit | 6ab5dda8151d45859590cd10015d0886b2f45093 (patch) | |
| tree | 13166c6c85721a26274f21a5d9f7f4c2f7143c28 /app/assets/javascripts | |
| parent | 22fdf9380bb62eefccdc344424aca8d7f36c0af8 (diff) | |
| download | chouette-core-6ab5dda8151d45859590cd10015d0886b2f45093.tar.bz2 | |
starting front adjustments for reactux stop_points fields
Diffstat (limited to 'app/assets/javascripts')
| -rw-r--r-- | app/assets/javascripts/es6_browserified/containers/AddTodo.js | 5 | ||||
| -rw-r--r-- | app/assets/javascripts/es6_browserified/stop_points.js | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/javascripts/es6_browserified/containers/AddTodo.js b/app/assets/javascripts/es6_browserified/containers/AddTodo.js index 90a187f5f..21b5c88d6 100644 --- a/app/assets/javascripts/es6_browserified/containers/AddTodo.js +++ b/app/assets/javascripts/es6_browserified/containers/AddTodo.js @@ -11,8 +11,9 @@ let AddTodo = ({ dispatch }) => { e.preventDefault() dispatch(addTodo()) }}> - <button type="submit"> - Add Todo + <button type="submit" className="btn btn-primary btn-xs pull-right"> + <span className="fa fa-plus"></span> + Ajouter un arrĂȘt // i18N? </button> </form> </div> diff --git a/app/assets/javascripts/es6_browserified/stop_points.js b/app/assets/javascripts/es6_browserified/stop_points.js index 9e8b62fbc..a324ef5bd 100644 --- a/app/assets/javascripts/es6_browserified/stop_points.js +++ b/app/assets/javascripts/es6_browserified/stop_points.js @@ -11,5 +11,5 @@ render( <Provider store={store}> <App /> </Provider>, - document.getElementById('root') + document.getElementById('stop_points') ) |
