diff -r 56850f5c73f6 -r cfcbf4bc66f1 client/src/components/SessionList.js --- a/client/src/components/SessionList.js Wed Jul 18 17:32:09 2018 +0200 +++ b/client/src/components/SessionList.js Tue Aug 14 20:34:50 2018 +0200 @@ -1,9 +1,10 @@ import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; -import { Grid, Row, Col, ListGroup, ListGroupItem, Button, Modal } from 'react-bootstrap'; +import { Modal } from 'react-bootstrap'; import moment from 'moment'; import '../App.css'; +import './SessionList.css'; import Navbar from './Navbar'; import * as sessionsActions from '../actions/sessionsActions'; import uuidV1 from 'uuid/v1'; @@ -68,34 +69,33 @@ return (
- - - - +
+
+
+
    {this.props.sessions.map((session) => - +
  • this.props.history.push('/sessions/' + session.get('_id'))}>{session.title || 'No title'} {session.get('_id')} {moment(session.get('date')).format('DD/MM/YYYY')} - + delete - +
  • )} - - - - - +
+ +
+
+
- Are you sure? + Êtes-vous sûr(e) ? - - + + -
); }