|
@@ -0,0 +1,122 @@
|
|
1
|
+import React from 'react'
|
|
2
|
+import classnames from 'classnames'
|
|
3
|
+import imgProfil from '../img/imgProfil.png'
|
|
4
|
+import imgProfilReverse from '../img/imgProfil-reverse.png'
|
|
5
|
+
|
|
6
|
+const Timeline = props => {
|
|
7
|
+ return (
|
|
8
|
+ <div className='timeline'>
|
|
9
|
+ <div className={classnames(`${props.customClass}__header`, 'timeline__header')}>
|
|
10
|
+ Timeline
|
|
11
|
+ </div>
|
|
12
|
+
|
|
13
|
+ <ul className={classnames(`${props.customClass}__messagelist`, 'timeline__messagelist')}>
|
|
14
|
+
|
|
15
|
+ <li className={classnames(`${props.customClass}__messagelist__item`, 'timeline__messagelist__item sended')}>
|
|
16
|
+ <div className={classnames(`${props.customClass}__messagelist__item__avatar`, 'timeline__messagelist__item__avatar')}>
|
|
17
|
+ <img src={imgProfil} alt='avatar' />
|
|
18
|
+ </div>
|
|
19
|
+ <div
|
|
20
|
+ className={classnames(`${props.customClass}__messagelist__item__createhour`, 'timeline__messagelist__item__createhour')}>
|
|
21
|
+ 27/11/17 à 11h45
|
|
22
|
+ </div>
|
|
23
|
+ <div
|
|
24
|
+ className={classnames(`${props.customClass}__messagelist__item__content`, 'timeline__messagelist__item__content')}>
|
|
25
|
+ Proident esse laboris in sed officia exercitation ut anim ea.
|
|
26
|
+ </div>
|
|
27
|
+ </li>
|
|
28
|
+
|
|
29
|
+ <li className={classnames(`${props.customClass}__messagelist__item`, 'timeline__messagelist__item received')}>
|
|
30
|
+ <div className={classnames(`${props.customClass}__messagelist__item__avatar`, 'timeline__messagelist__item__avatar')}>
|
|
31
|
+ <img src={imgProfilReverse} alt='avatar' />
|
|
32
|
+ </div>
|
|
33
|
+ <div
|
|
34
|
+ className={classnames(`${props.customClass}__messagelist__item__createhour`, 'timeline__messagelist__item__createhour')}>
|
|
35
|
+ 27/11/17 à 11h47
|
|
36
|
+ </div>
|
|
37
|
+ <div
|
|
38
|
+ className={classnames(`${props.customClass}__messagelist__item__content`, 'timeline__messagelist__item__content')}>
|
|
39
|
+ Proident esse laboris in sed officia exercitation ut anim ea.
|
|
40
|
+ Proident esse laboris in sed officia exercitation ut anim ea.
|
|
41
|
+ Proident esse laboris in sed officia exercitation ut anim ea.
|
|
42
|
+ Proident esse laboris in sed officia exercitation ut anim ea.
|
|
43
|
+ Proident esse laboris in sed officia exercitation ut anim ea.
|
|
44
|
+ </div>
|
|
45
|
+ </li>
|
|
46
|
+
|
|
47
|
+ <li className={classnames(`${props.customClass}__messagelist__version`, 'timeline__messagelist__version')}>
|
|
48
|
+ <div className={classnames(`${props.customClass}__messagelist__version__btn`, 'timeline__messagelist__version__btn btn')}>
|
|
49
|
+ <i className='fa fa-code-fork' />
|
|
50
|
+ version 3
|
|
51
|
+ </div>
|
|
52
|
+ <div className={classnames(`${props.customClass}__messagelist__version__date`, 'timeline__messagelist__version__date')}>
|
|
53
|
+ Créer le 22/11/17
|
|
54
|
+ </div>
|
|
55
|
+ </li>
|
|
56
|
+
|
|
57
|
+ <li className={classnames(`${props.customClass}__messagelist__item`, 'timeline__messagelist__item sended')}>
|
|
58
|
+ <div className={classnames(`${props.customClass}__messagelist__item__avatar`, 'timeline__messagelist__item__avatar')}>
|
|
59
|
+ <img src={imgProfil} alt='avatar' />
|
|
60
|
+ </div>
|
|
61
|
+ <div
|
|
62
|
+ className={classnames(`${props.customClass}__messagelist__item__createhour`, 'timeline__messagelist__item__createhour')}>
|
|
63
|
+ 27/11/17 à 11h45
|
|
64
|
+ </div>
|
|
65
|
+ <div
|
|
66
|
+ className={classnames(`${props.customClass}__messagelist__item__content`, 'timeline__messagelist__item__content')}>
|
|
67
|
+ Proident esse laboris in sed officia exercitation ut anim ea.
|
|
68
|
+ </div>
|
|
69
|
+ </li>
|
|
70
|
+
|
|
71
|
+ <li className={classnames(`${props.customClass}__messagelist__item`, 'timeline__messagelist__item received')}>
|
|
72
|
+ <div className={classnames(`${props.customClass}__messagelist__item__avatar`, 'timeline__messagelist__item__avatar')}>
|
|
73
|
+ <img src={imgProfilReverse} alt='avatar' />
|
|
74
|
+ </div>
|
|
75
|
+ <div
|
|
76
|
+ className={classnames(`${props.customClass}__messagelist__item__createhour`, 'timeline__messagelist__item__createhour')}>
|
|
77
|
+ 27/11/17 à 11h47
|
|
78
|
+ </div>
|
|
79
|
+ <div
|
|
80
|
+ className={classnames(`${props.customClass}__messagelist__item__content`, 'timeline__messagelist__item__content')}>
|
|
81
|
+ Proident esse laboris in sed officia exercitation ut anim ea.
|
|
82
|
+ Proident esse laboris in sed officia exercitation ut anim ea.
|
|
83
|
+ Proident esse laboris in sed officia exercitation ut anim ea.
|
|
84
|
+ Proident esse laboris in sed officia exercitation ut anim ea.
|
|
85
|
+ Proident esse laboris in sed officia exercitation ut anim ea.
|
|
86
|
+ </div>
|
|
87
|
+ </li>
|
|
88
|
+
|
|
89
|
+ </ul>
|
|
90
|
+ <form className={classnames(`${props.customClass}__texteditor`, 'timeline__texteditor')}>
|
|
91
|
+ <div
|
|
92
|
+ className={classnames(`${props.customClass}__texteditor__simpletext`, 'timeline__texteditor__simpletext input-group')}>
|
|
93
|
+ <input
|
|
94
|
+ type='text'
|
|
95
|
+ className={classnames(`${props.customClass}__texteditor__simpletext__input`, 'timeline__texteditor__simpletext__input form-control')}
|
|
96
|
+ placeholder='...'
|
|
97
|
+ />
|
|
98
|
+ <div
|
|
99
|
+ className={classnames(`${props.customClass}__texteditor__simpletext__icon`, 'timeline__texteditor__simpletext__icon input-group-addon')}>
|
|
100
|
+ <i className='fa fa-font' />
|
|
101
|
+ </div>
|
|
102
|
+ </div>
|
|
103
|
+ <div className={classnames(`${props.customClass}__texteditor__wysiwyg`, 'timeline__texteditor__wysiwyg d-none d-xl-block')}>
|
|
104
|
+ <textarea />
|
|
105
|
+ </div>
|
|
106
|
+ <div className={classnames(`${props.customClass}__texteditor__submit`, 'timeline__texteditor__submit d-xl-flex justify-content-xl-center')}>
|
|
107
|
+ <button
|
|
108
|
+ type='submit'
|
|
109
|
+ className={classnames(`${props.customClass}__texteditor__submit__btn`, 'timeline__texteditor__submit__btn btn')}
|
|
110
|
+ >
|
|
111
|
+ Envoyer
|
|
112
|
+ <div className={classnames(`${props.customClass}__texteditor__submit__btn__icon`, 'timeline__texteditor__submit__btn__icon')}>
|
|
113
|
+ <i className='fa fa-paper-plane-o' />
|
|
114
|
+ </div>
|
|
115
|
+ </button>
|
|
116
|
+ </div>
|
|
117
|
+ </form>
|
|
118
|
+ </div>
|
|
119
|
+ )
|
|
120
|
+}
|
|
121
|
+
|
|
122
|
+export default Timeline
|