|
@@ -1,571 +0,0 @@
|
1
|
|
-import React from 'react'
|
2
|
|
-import { connect } from 'react-redux'
|
3
|
|
-import Sidebar from './Sidebar.jsx'
|
4
|
|
-import imgProfil from '../img/imgProfil.png'
|
5
|
|
-import { translate } from 'react-i18next'
|
6
|
|
-
|
7
|
|
-class Dashboard extends React.Component {
|
8
|
|
- constructor (props) {
|
9
|
|
- super(props)
|
10
|
|
- this.state = {
|
11
|
|
- workspaceIdInUrl: props.match.params.idws ? parseInt(props.match.params.idws) : null, // this is used to avoid handling the parseInt everytime
|
12
|
|
- displayNewMemberDashboard: false,
|
13
|
|
- displayNotifBtn: false,
|
14
|
|
- displayWebdavBtn: false,
|
15
|
|
- displayCalendarBtn: false
|
16
|
|
- }
|
17
|
|
- }
|
18
|
|
-
|
19
|
|
- handleToggleNewMemberDashboard = () => this.setState(prevState => ({
|
20
|
|
- displayNewMemberDashboard: !prevState.displayNewMemberDashboard
|
21
|
|
- }))
|
22
|
|
-
|
23
|
|
- handleToggleNotifBtn = () => this.setState(prevState => ({
|
24
|
|
- displayNotifBtn: !prevState.displayNotifBtn
|
25
|
|
- }))
|
26
|
|
-
|
27
|
|
- handleToggleWebdavBtn = () => this.setState(prevState => ({
|
28
|
|
- displayWebdavBtn: !prevState.displayWebdavBtn
|
29
|
|
- }))
|
30
|
|
-
|
31
|
|
- handleToggleCalendarBtn = () => this.setState(prevState => ({
|
32
|
|
- displayCalendarBtn: !prevState.displayCalendarBtn
|
33
|
|
- }))
|
34
|
|
-
|
35
|
|
- render () {
|
36
|
|
- return (
|
37
|
|
- <div className='sidebarpagecontainer'>
|
38
|
|
- <Sidebar />
|
39
|
|
-
|
40
|
|
- <div className='dashboard'>
|
41
|
|
- <div className='container-fluid nopadding'>
|
42
|
|
- <div className='dashboard__header mb-5'>
|
43
|
|
- <div className='pageTitleGeneric dashboard__header__title d-flex align-items-center'>
|
44
|
|
- <div className='pageTitleGeneric__title dashboard__header__title__text mr-3'>
|
45
|
|
- {this.props.t('Dashboard')}
|
46
|
|
- </div>
|
47
|
|
- <div className='dashboard__header__acces' />
|
48
|
|
- </div>
|
49
|
|
-
|
50
|
|
- <div className='dashboard__header__advancedmode mr-3'>
|
51
|
|
- <button type='button' className='btn btn-primary'>
|
52
|
|
- {this.props.t('Active advanced Dashboard')}
|
53
|
|
- </button>
|
54
|
|
- </div>
|
55
|
|
- </div>
|
56
|
|
-
|
57
|
|
- <div className='dashboard__workspace-wrapper'>
|
58
|
|
- <div className='dashboard__workspace'>
|
59
|
|
- <div className='dashboard__workspace__title'>
|
60
|
|
- Développement tracim
|
61
|
|
- </div>
|
62
|
|
-
|
63
|
|
- <div className='dashboard__workspace__detail'>
|
64
|
|
- Ligne directive pour le prochain design de Tracim et des futurs fonctionnalités.
|
65
|
|
- </div>
|
66
|
|
- </div>
|
67
|
|
-
|
68
|
|
- <div className='dashboard__userstatut'>
|
69
|
|
-
|
70
|
|
- <div className='dashboard__userstatut__role'>
|
71
|
|
- <div className='dashboard__userstatut__role__text'>
|
72
|
|
- Hi ! Alexi, vous êtes actuellement
|
73
|
|
- </div>
|
74
|
|
- <div className='dashboard__userstatut__role__rank'>
|
75
|
|
- <div className='dashboard__userstatut__role__rank__icon'>
|
76
|
|
- <i className='fa fa-graduation-cap' />
|
77
|
|
- </div>
|
78
|
|
- <div className='dashboard__userstatut__role__rank__rolename'>
|
79
|
|
- Gestionnaire de projet
|
80
|
|
- </div>
|
81
|
|
- </div>
|
82
|
|
- </div>
|
83
|
|
-
|
84
|
|
- <div className='dashboard__userstatut__notification'>
|
85
|
|
- <div className='dashboard__userstatut__notification__text'>
|
86
|
|
- Vous êtes abonné(e) aux notifications de ce workspace
|
87
|
|
- </div>
|
88
|
|
- {this.state.displayNotifBtn === false &&
|
89
|
|
- <div
|
90
|
|
- className='dashboard__userstatut__notification__btn btn btn-outline-primary'
|
91
|
|
- onClick={this.handleToggleNotifBtn}
|
92
|
|
- >
|
93
|
|
- {this.props.t('Change your status')}
|
94
|
|
- </div>
|
95
|
|
- }
|
96
|
|
-
|
97
|
|
- {this.state.displayNotifBtn === true &&
|
98
|
|
- <div className='dashboard__userstatut__notification__subscribe dropdown'>
|
99
|
|
- <button className='dashboard__userstatut__notification__subscribe__btn btn btn-outline-primary dropdown-toggle' type='button' id='dropdownMenuButton' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
|
100
|
|
- Abonné(e)
|
101
|
|
- </button>
|
102
|
|
- <div className='dashboard__userstatut__notification__subscribe__submenu dropdown-menu'>
|
103
|
|
- <div className='dashboard__userstatut__notification__subscribe__submenu__item dropdown-item'>
|
104
|
|
- {this.props.t('subscriber')}
|
105
|
|
- </div>
|
106
|
|
- <div className='dashboard__userstatut__notification__subscribe__submenu__item dropdown-item dropdown-item'>
|
107
|
|
- {this.props.t('unsubscribed')}
|
108
|
|
- </div>
|
109
|
|
- </div>
|
110
|
|
- </div>
|
111
|
|
- }
|
112
|
|
- </div>
|
113
|
|
- </div>
|
114
|
|
- </div>
|
115
|
|
-
|
116
|
|
- <div className='dashboard__calltoaction justify-content-xl-center'>
|
117
|
|
- <div className='dashboard__calltoaction__button btnaction btnthread'>
|
118
|
|
- <div className='dashboard__calltoaction__button__text'>
|
119
|
|
- <div className='dashboard__calltoaction__button__text__icon'>
|
120
|
|
- <i className='fa fa-comments-o' />
|
121
|
|
- </div>
|
122
|
|
- <div className='dashboard__calltoaction__button__text__title'>
|
123
|
|
- {this.props.t('Start a new Thread')}
|
124
|
|
- </div>
|
125
|
|
- </div>
|
126
|
|
- </div>
|
127
|
|
-
|
128
|
|
- <div className='dashboard__calltoaction__button btnaction writefile'>
|
129
|
|
- <div className='dashboard__calltoaction__button__text'>
|
130
|
|
- <div className='dashboard__calltoaction__button__text__icon'>
|
131
|
|
- <i className='fa fa-file-text-o' />
|
132
|
|
- </div>
|
133
|
|
- <div className='dashboard__calltoaction__button__text__title'>
|
134
|
|
- {this.props.t('Writing a document')}
|
135
|
|
- </div>
|
136
|
|
- </div>
|
137
|
|
- </div>
|
138
|
|
-
|
139
|
|
- <div className='dashboard__calltoaction__button btnaction importfile'>
|
140
|
|
- <div className='dashboard__calltoaction__button__text'>
|
141
|
|
- <div className='dashboard__calltoaction__button__text__icon'>
|
142
|
|
- <i className='fa fa-paperclip' />
|
143
|
|
- </div>
|
144
|
|
- <div className='dashboard__calltoaction__button__text__title'>
|
145
|
|
- {this.props.t('Upload a file')}
|
146
|
|
- </div>
|
147
|
|
- </div>
|
148
|
|
- </div>
|
149
|
|
-
|
150
|
|
- {/*
|
151
|
|
- <div className='dashboard__calltoaction__button btnaction visioconf'>
|
152
|
|
- <div className='dashboard__calltoaction__button__text'>
|
153
|
|
- <div className='dashboard__calltoaction__button__text__icon'>
|
154
|
|
- <i className='fa fa-video-camera' />
|
155
|
|
- </div>
|
156
|
|
- <div className='dashboard__calltoaction__button__text__title'>
|
157
|
|
- {this.props.t('Start a videoconference')}
|
158
|
|
- </div>
|
159
|
|
- </div>
|
160
|
|
- </div>
|
161
|
|
-
|
162
|
|
- <div className='dashboard__calltoaction__button btnaction calendar'>
|
163
|
|
- <div className='dashboard__calltoaction__button__text'>
|
164
|
|
- <div className='dashboard__calltoaction__button__text__icon'>
|
165
|
|
- <i className='fa fa-calendar' />
|
166
|
|
- </div>
|
167
|
|
- <div className='dashboard__calltoaction__button__text__title'>
|
168
|
|
- {this.props.t('View the Calendar')}
|
169
|
|
- </div>
|
170
|
|
- </div>
|
171
|
|
- </div>
|
172
|
|
- */ }
|
173
|
|
-
|
174
|
|
- <div className='dashboard__calltoaction__button btnaction explore'>
|
175
|
|
- <div className='dashboard__calltoaction__button__text'>
|
176
|
|
- <div className='dashboard__calltoaction__button__text__icon'>
|
177
|
|
- <i className='fa fa-folder-open-o' />
|
178
|
|
- </div>
|
179
|
|
- <div className='dashboard__calltoaction__button__text__title'>
|
180
|
|
- {this.props.t('Explore the workspace')}
|
181
|
|
- </div>
|
182
|
|
- </div>
|
183
|
|
- </div>
|
184
|
|
- </div>
|
185
|
|
-
|
186
|
|
- <div className='dashboard__wksinfo'>
|
187
|
|
- <div className='dashboard__activity'>
|
188
|
|
- <div className='dashboard__activity__header'>
|
189
|
|
- <div className='dashboard__activity__header__title subTitle'>
|
190
|
|
- {this.props.t('Recent activity')}
|
191
|
|
- </div>
|
192
|
|
-
|
193
|
|
- <div className='dashboard__activity__header__allread btn btn-outline-primary'>
|
194
|
|
- {this.props.t('Mark everything as read')}
|
195
|
|
- </div>
|
196
|
|
- </div>
|
197
|
|
- <div className='dashboard__activity__wrapper'>
|
198
|
|
- <div className='dashboard__activity__workspace'>
|
199
|
|
- <div className='dashboard__activity__workspace__icon'>
|
200
|
|
- <i className='fa fa-comments-o' />
|
201
|
|
- </div>
|
202
|
|
- <div className='dashboard__activity__workspace__name'>
|
203
|
|
- <span>Développement Tracim</span>
|
204
|
|
- </div>
|
205
|
|
- </div>
|
206
|
|
-
|
207
|
|
- <div className='dashboard__activity__workspace'>
|
208
|
|
- <div className='dashboard__activity__workspace__icon'>
|
209
|
|
- <i className='fa fa-list-ul' />
|
210
|
|
- </div>
|
211
|
|
- <div className='dashboard__activity__workspace__name'>
|
212
|
|
- Mission externe
|
213
|
|
- </div>
|
214
|
|
- </div>
|
215
|
|
-
|
216
|
|
- <div className='dashboard__activity__workspace'>
|
217
|
|
- <div className='dashboard__activity__workspace__icon'>
|
218
|
|
- <i className='fa fa-list-ul' />
|
219
|
|
- </div>
|
220
|
|
- <div className='dashboard__activity__workspace__name'>
|
221
|
|
- Recherche et developpement
|
222
|
|
- </div>
|
223
|
|
- </div>
|
224
|
|
-
|
225
|
|
- <div className='dashboard__activity__workspace'>
|
226
|
|
- <div className='dashboard__activity__workspace__icon'>
|
227
|
|
- <i className='fa fa-file-text-o' />
|
228
|
|
- </div>
|
229
|
|
- <div className='dashboard__activity__workspace__name'>
|
230
|
|
- <span>Marketing</span>
|
231
|
|
- </div>
|
232
|
|
- </div>
|
233
|
|
-
|
234
|
|
- <div className='dashboard__activity__workspace'>
|
235
|
|
- <div className='dashboard__activity__workspace__icon'>
|
236
|
|
- <i className='fa fa-comments-o' />
|
237
|
|
- </div>
|
238
|
|
- <div className='dashboard__activity__workspace__name'>
|
239
|
|
- <span>Évolution</span>
|
240
|
|
- </div>
|
241
|
|
- </div>
|
242
|
|
-
|
243
|
|
- <div className='dashboard__activity__workspace'>
|
244
|
|
- <div className='dashboard__activity__workspace__icon'>
|
245
|
|
- <i className='fa fa-file-text-o' />
|
246
|
|
- </div>
|
247
|
|
- <div className='dashboard__activity__workspace__name'>
|
248
|
|
- Commercialisation
|
249
|
|
- </div>
|
250
|
|
- </div>
|
251
|
|
-
|
252
|
|
- <div className='dashboard__activity__more d-flex flex-row-reverse'>
|
253
|
|
- <div className='dashboard__activity__more__btn btn btn-outline-primary'>
|
254
|
|
- {this.props.t('See more')}
|
255
|
|
- </div>
|
256
|
|
- </div>
|
257
|
|
- </div>
|
258
|
|
- </div>
|
259
|
|
-
|
260
|
|
- <div className='dashboard__memberlist'>
|
261
|
|
-
|
262
|
|
- <div className='dashboard__memberlist__title subTitle'>
|
263
|
|
- {this.props.t('Member List')}
|
264
|
|
- </div>
|
265
|
|
-
|
266
|
|
- <div className='dashboard__memberlist__wrapper'>
|
267
|
|
- {this.state.displayNewMemberDashboard === false &&
|
268
|
|
- <div>
|
269
|
|
- <ul className='dashboard__memberlist__list'>
|
270
|
|
- <li className='dashboard__memberlist__list__item'>
|
271
|
|
- <div className='dashboard__memberlist__list__item__avatar'>
|
272
|
|
- <img src={imgProfil} alt='avatar' />
|
273
|
|
- </div>
|
274
|
|
- <div className='dashboard__memberlist__list__item__info mr-auto'>
|
275
|
|
- <div className='dashboard__memberlist__list__item__info__name'>
|
276
|
|
- Jean Dupont
|
277
|
|
- </div>
|
278
|
|
- <div className='dashboard__memberlist__list__item__info__role'>
|
279
|
|
- Responsable
|
280
|
|
- </div>
|
281
|
|
- </div>
|
282
|
|
- <div className='dashboard__memberlist__list__item__delete d-flex justify-content-end'>
|
283
|
|
- <i className='fa fa-trash-o' />
|
284
|
|
- </div>
|
285
|
|
- </li>
|
286
|
|
-
|
287
|
|
- <li className='dashboard__memberlist__list__item'>
|
288
|
|
- <div className='dashboard__memberlist__list__item__avatar'>
|
289
|
|
- <img src={imgProfil} alt='avatar' />
|
290
|
|
- </div>
|
291
|
|
- <div className='dashboard__memberlist__list__item__info mr-auto'>
|
292
|
|
- <div className='dashboard__memberlist__list__item__info__name'>
|
293
|
|
- Aldwin Vinel
|
294
|
|
- </div>
|
295
|
|
- <div className='dashboard__memberlist__list__item__info__role'>
|
296
|
|
- Lecteur
|
297
|
|
- </div>
|
298
|
|
- </div>
|
299
|
|
- <div className='dashboard__memberlist__list__item__delete d-flex justify-content-end'>
|
300
|
|
- <i className='fa fa-trash-o' />
|
301
|
|
- </div>
|
302
|
|
- </li>
|
303
|
|
-
|
304
|
|
- <li className='dashboard__memberlist__list__item'>
|
305
|
|
- <div className='dashboard__memberlist__list__item__avatar'>
|
306
|
|
- <img src={imgProfil} alt='avatar' />
|
307
|
|
- </div>
|
308
|
|
- <div className='dashboard__memberlist__list__item__info mr-auto'>
|
309
|
|
- <div className='dashboard__memberlist__list__item__info__name'>
|
310
|
|
- William Himme
|
311
|
|
- </div>
|
312
|
|
- <div className='dashboard__memberlist__list__item__info__role'>
|
313
|
|
- Contributeur
|
314
|
|
- </div>
|
315
|
|
- </div>
|
316
|
|
- <div className='dashboard__memberlist__list__item__delete d-flex justify-content-end'>
|
317
|
|
- <i className='fa fa-trash-o' />
|
318
|
|
- </div>
|
319
|
|
- </li>
|
320
|
|
-
|
321
|
|
- <li className='dashboard__memberlist__list__item'>
|
322
|
|
- <div className='dashboard__memberlist__list__item__avatar'>
|
323
|
|
- <img src={imgProfil} alt='avatar' />
|
324
|
|
- </div>
|
325
|
|
- <div className='dashboard__memberlist__list__item__info mr-auto'>
|
326
|
|
- <div className='dashboard__memberlist__list__item__info__name'>
|
327
|
|
- Yacine Lite
|
328
|
|
- </div>
|
329
|
|
- <div className='dashboard__memberlist__list__item__info__role'>
|
330
|
|
- Contributeur
|
331
|
|
- </div>
|
332
|
|
- </div>
|
333
|
|
- <div className='dashboard__memberlist__list__item__delete d-flex justify-content-end'>
|
334
|
|
- <i className='fa fa-trash-o' />
|
335
|
|
- </div>
|
336
|
|
- </li>
|
337
|
|
-
|
338
|
|
- <li className='dashboard__memberlist__list__item'>
|
339
|
|
- <div className='dashboard__memberlist__list__item__avatar'>
|
340
|
|
- <img src={imgProfil} alt='avatar' />
|
341
|
|
- </div>
|
342
|
|
- <div className='dashboard__memberlist__list__item__info mr-auto'>
|
343
|
|
- <div className='dashboard__memberlist__list__item__info__name'>
|
344
|
|
- Alexi Falcin
|
345
|
|
- </div>
|
346
|
|
- <div className='dashboard__memberlist__list__item__info__role'>
|
347
|
|
- Gestionnaire
|
348
|
|
- </div>
|
349
|
|
- </div>
|
350
|
|
- <div className='dashboard__memberlist__list__item__delete d-flex justify-content-end'>
|
351
|
|
- <i className='fa fa-trash-o' />
|
352
|
|
- </div>
|
353
|
|
- </li>
|
354
|
|
-
|
355
|
|
- <li className='dashboard__memberlist__list__item'>
|
356
|
|
- <div className='dashboard__memberlist__list__item__avatar'>
|
357
|
|
- <img src={imgProfil} alt='avatar' />
|
358
|
|
- </div>
|
359
|
|
- <div className='dashboard__memberlist__list__item__info mr-auto'>
|
360
|
|
- <div className='dashboard__memberlist__list__item__info__name'>
|
361
|
|
- Mickaël Fonati
|
362
|
|
- </div>
|
363
|
|
- <div className='dashboard__memberlist__list__item__info__role'>
|
364
|
|
- Gestionnaire
|
365
|
|
- </div>
|
366
|
|
- </div>
|
367
|
|
- <div className='dashboard__memberlist__list__item__delete d-flex justify-content-end'>
|
368
|
|
- <i className='fa fa-trash-o' />
|
369
|
|
- </div>
|
370
|
|
- </li>
|
371
|
|
-
|
372
|
|
- <li className='dashboard__memberlist__list__item'>
|
373
|
|
- <div className='dashboard__memberlist__list__item__avatar'>
|
374
|
|
- <img src={imgProfil} alt='avatar' />
|
375
|
|
- </div>
|
376
|
|
- <div className='dashboard__memberlist__list__item__info mr-auto'>
|
377
|
|
- <div className='dashboard__memberlist__list__item__info__name'>
|
378
|
|
- Eva Lonbard
|
379
|
|
- </div>
|
380
|
|
- <div className='dashboard__memberlist__list__item__info__role'>
|
381
|
|
- Gestionnaire
|
382
|
|
- </div>
|
383
|
|
- </div>
|
384
|
|
- <div className='dashboard__memberlist__list__item__delete d-flex justify-content-end'>
|
385
|
|
- <i className='fa fa-trash-o' />
|
386
|
|
- </div>
|
387
|
|
- </li>
|
388
|
|
- </ul>
|
389
|
|
-
|
390
|
|
- <div
|
391
|
|
- className='dashboard__memberlist__btnadd'
|
392
|
|
- onClick={this.handleToggleNewMemberDashboard}
|
393
|
|
- >
|
394
|
|
- <div className='dashboard__memberlist__btnadd__button'>
|
395
|
|
- <div className='dashboard__memberlist__btnadd__button__avatar'>
|
396
|
|
- <div className='dashboard__memberlist__btnadd__button__avatar__icon'>
|
397
|
|
- <i className='fa fa-plus' />
|
398
|
|
- </div>
|
399
|
|
- </div>
|
400
|
|
- <div
|
401
|
|
- className='dashboard__memberlist__btnadd__button__text'
|
402
|
|
- >
|
403
|
|
- {this.props.t('Add a member')}
|
404
|
|
- </div>
|
405
|
|
- </div>
|
406
|
|
- </div>
|
407
|
|
- </div>
|
408
|
|
- }
|
409
|
|
-
|
410
|
|
- {this.state.displayNewMemberDashboard === true &&
|
411
|
|
- <form className='dashboard__memberlist__form'>
|
412
|
|
- <div
|
413
|
|
- className='dashboard__memberlist__form__close d-flex justify-content-end'
|
414
|
|
- >
|
415
|
|
- <i className='fa fa-times' onClick={this.handleToggleNewMemberDashboard} />
|
416
|
|
- </div>
|
417
|
|
- <div className='dashboard__memberlist__form__member'>
|
418
|
|
- <div className='dashboard__memberlist__form__member__name'>
|
419
|
|
- <label className='name__label' htmlFor='addmember'>
|
420
|
|
- {this.props.t('Enter the name or email of the member')}
|
421
|
|
- </label>
|
422
|
|
- <input type='text' id='addmember' className='name__input form-control' placeholder='Nom ou Email' />
|
423
|
|
- </div>
|
424
|
|
- <div className='dashboard__memberlist__form__member__create'>
|
425
|
|
- <div className='create__radiobtn mr-3'>
|
426
|
|
- <input type='radio' />
|
427
|
|
- </div>
|
428
|
|
- <div className='create__text'>
|
429
|
|
- {this.props.t('Create an account')}
|
430
|
|
- </div>
|
431
|
|
- </div>
|
432
|
|
- </div>
|
433
|
|
- <div className='dashboard__memberlist__form__role'>
|
434
|
|
- <div className='dashboard__memberlist__form__role__text'>
|
435
|
|
- {this.props.t('Choose the role of the member')}
|
436
|
|
- </div>
|
437
|
|
- <ul className='dashboard__memberlist__form__role__list'>
|
438
|
|
- <li className='dashboard__memberlist__form__role__list__item'>
|
439
|
|
- <div className='item__radiobtn mr-3'>
|
440
|
|
- <input type='radio' name='role' value='responsable' />
|
441
|
|
- </div>
|
442
|
|
- <div className='item__text'>
|
443
|
|
- <div className='item_text_icon mr-2'>
|
444
|
|
- <i className='fa fa-gavel' />
|
445
|
|
- </div>
|
446
|
|
- <div className='item__text__name'>
|
447
|
|
- {this.props.t('Supervisor')}
|
448
|
|
- </div>
|
449
|
|
- </div>
|
450
|
|
- </li>
|
451
|
|
- <li className='dashboard__memberlist__form__role__list__item'>
|
452
|
|
- <div className='item__radiobtn mr-3'>
|
453
|
|
- <input type='radio' name='role' value='gestionnaire' />
|
454
|
|
- </div>
|
455
|
|
- <div className='item__text'>
|
456
|
|
- <div className='item_text_icon mr-2'>
|
457
|
|
- <i className='fa fa-graduation-cap' />
|
458
|
|
- </div>
|
459
|
|
- <div className='item__text__name'>
|
460
|
|
- {this.props.t('Content Manager')}
|
461
|
|
- </div>
|
462
|
|
- </div>
|
463
|
|
- </li>
|
464
|
|
- <li className='dashboard__memberlist__form__role__list__item'>
|
465
|
|
- <div className='item__radiobtn mr-3'>
|
466
|
|
- <input type='radio' name='role' value='contributeur' />
|
467
|
|
- </div>
|
468
|
|
- <div className='item__text'>
|
469
|
|
- <div className='item_text_icon mr-2'>
|
470
|
|
- <i className='fa fa-pencil' />
|
471
|
|
- </div>
|
472
|
|
- <div className='item__text__name'>
|
473
|
|
- {this.props.t('Contributor')}
|
474
|
|
- </div>
|
475
|
|
- </div>
|
476
|
|
- </li>
|
477
|
|
- <li className='dashboard__memberlist__form__role__list__item'>
|
478
|
|
- <div className='item__radiobtn mr-3'>
|
479
|
|
- <input type='radio' name='role' value='lecteur' />
|
480
|
|
- </div>
|
481
|
|
- <div className='item__text'>
|
482
|
|
- <div className='item_text_icon mr-2'>
|
483
|
|
- <i className='fa fa-eye' />
|
484
|
|
- </div>
|
485
|
|
- <div className='item__text__name'>
|
486
|
|
- {this.props.t('Reader')}
|
487
|
|
- </div>
|
488
|
|
- </div>
|
489
|
|
- </li>
|
490
|
|
- </ul>
|
491
|
|
- </div>
|
492
|
|
- <div className='dashboard__memberlist__form__submitbtn'>
|
493
|
|
- <button className='btn btn-outline-primary'>
|
494
|
|
- {this.props.t('Validate')}
|
495
|
|
- </button>
|
496
|
|
- </div>
|
497
|
|
- </form>
|
498
|
|
- }
|
499
|
|
- </div>
|
500
|
|
- </div>
|
501
|
|
- </div>
|
502
|
|
-
|
503
|
|
- <div className='dashboard__moreinfo'>
|
504
|
|
- <div className='dashboard__moreinfo__webdav genericBtnInfoDashboard'>
|
505
|
|
- <div
|
506
|
|
- className='dashboard__moreinfo__webdav__btn genericBtnInfoDashboard__btn'
|
507
|
|
- onClick={this.handleToggleWebdavBtn}
|
508
|
|
- >
|
509
|
|
- <div className='dashboard__moreinfo__webdav__btn__icon genericBtnInfoDashboard__btn__icon'>
|
510
|
|
- <i className='fa fa-windows' />
|
511
|
|
- </div>
|
512
|
|
-
|
513
|
|
- <div className='dashboard__moreinfo__webdav__btn__text genericBtnInfoDashboard__btn__text'>
|
514
|
|
- {this.props.t('Implement Tracim in your explorer')}
|
515
|
|
- </div>
|
516
|
|
- </div>
|
517
|
|
- {this.state.displayWebdavBtn === true &&
|
518
|
|
- <div>
|
519
|
|
- <div className='dashboard__moreinfo__webdav__information genericBtnInfoDashboard__info'>
|
520
|
|
- <div className='dashboard__moreinfo__webdav__information__text genericBtnInfoDashboard__info__text'>
|
521
|
|
- {this.props.t('Find all your documents deposited online directly on your computer via the workstation, without going through the software.')}'
|
522
|
|
- </div>
|
523
|
|
-
|
524
|
|
- <div className='dashboard__moreinfo__webdav__information__link genericBtnInfoDashboard__info__link'>
|
525
|
|
- http://algoo.trac.im/webdav/
|
526
|
|
- </div>
|
527
|
|
- </div>
|
528
|
|
- </div>
|
529
|
|
- }
|
530
|
|
- </div>
|
531
|
|
- <div className='dashboard__moreinfo__calendar genericBtnInfoDashboard'>
|
532
|
|
- <div className='dashboard__moreinfo__calendar__wrapperBtn'>
|
533
|
|
- <div
|
534
|
|
- className='dashboard__moreinfo__calendar__btn genericBtnInfoDashboard__btn'
|
535
|
|
- onClick={this.handleToggleCalendarBtn}
|
536
|
|
- >
|
537
|
|
- <div className='dashboard__moreinfo__calendar__btn__icon genericBtnInfoDashboard__btn__icon'>
|
538
|
|
- <i className='fa fa-calendar' />
|
539
|
|
- </div>
|
540
|
|
-
|
541
|
|
- <div className='dashboard__moreinfo__calendar__btn__text genericBtnInfoDashboard__btn__text'>
|
542
|
|
- {this.props.t('Workspace Calendar')}
|
543
|
|
- </div>
|
544
|
|
- </div>
|
545
|
|
- </div>
|
546
|
|
- <div className='dashboard__moreinfo__calendar__wrapperText'>
|
547
|
|
- {this.state.displayCalendarBtn === true &&
|
548
|
|
- <div>
|
549
|
|
- <div className='dashboard__moreinfo__calendar__information genericBtnInfoDashboard__info'>
|
550
|
|
- <div className='dashboard__moreinfo__calendar__information__text genericBtnInfoDashboard__info__text'>
|
551
|
|
- {this.props.t('Each workspace has its own calendar.')}
|
552
|
|
- </div>
|
553
|
|
-
|
554
|
|
- <div className='dashboard__moreinfo__calendar__information__link genericBtnInfoDashboard__info__link'>
|
555
|
|
- http://algoo.trac.im/calendar/
|
556
|
|
- </div>
|
557
|
|
- </div>
|
558
|
|
- </div>
|
559
|
|
- }
|
560
|
|
- </div>
|
561
|
|
- </div>
|
562
|
|
- </div>
|
563
|
|
- </div>
|
564
|
|
- </div>
|
565
|
|
- </div>
|
566
|
|
- )
|
567
|
|
- }
|
568
|
|
-}
|
569
|
|
-
|
570
|
|
-const mapStateToProps = ({ user, app, contentType, workspaceList }) => ({ user, app, contentType, workspaceList })
|
571
|
|
-export default connect(mapStateToProps)(translate()(Dashboard))
|