Browse Source

merged alexicauvin into plugin_research

Skylsmoi 6 years ago
parent
commit
c21aa446d0

+ 13 - 8
src/component/Sidebar/WorkspaceListItem.jsx View File

@@ -29,16 +29,21 @@ const WorkspaceListItem = props => {
29 29
       className='sidebar__navigation__workspace__item nav-item dropdown'
30 30
       onClick={handleClickTitle}
31 31
     >
32
-      <div className='sidebar__navigation__workspace__item__number'>
33
-        {pad(props.number)}
34
-      </div>
35 32
 
36
-      <div className='sidebar__navigation__workspace__item__name' title={props.name}>
37
-        {props.name}
38
-      </div>
33
+      <div className='sidebar__navigation__workspace__item__wrapper'>
34
+
35
+        <div className='sidebar__navigation__workspace__item__number'>
36
+          {pad(props.number)}
37
+        </div>
38
+
39
+        <div className='sidebar__navigation__workspace__item__name' title={props.name}>
40
+          {props.name}
41
+        </div>
42
+
43
+        <div className='sidebar__navigation__workspace__item__icon'>
44
+          <i className='fa fa-chevron-down' />
45
+        </div>
39 46
 
40
-      <div className='sidebar__navigation__workspace__item__icon'>
41
-        <i className='fa fa-chevron-down' />
42 47
       </div>
43 48
 
44 49
       <ul

+ 4 - 4
src/component/Timeline.jsx View File

@@ -1,7 +1,7 @@
1 1
 import React from 'react'
2 2
 import classnames from 'classnames'
3
-import imgProfilOrange from '../img/imgProfil_orange.png'
4
-import imgProfilReverse from '../img/imgProfil_reverse.png'
3
+import imgProfil from '../img/imgProfil.png'
4
+import imgProfilReverse from '../img/imgProfil-reverse.png'
5 5
 
6 6
 const Timeline = props => {
7 7
   return (
@@ -14,7 +14,7 @@ const Timeline = props => {
14 14
 
15 15
         <li className={classnames(`${props.customClass}__messagelist__item`, 'timeline__messagelist__item sended')}>
16 16
           <div className={classnames(`${props.customClass}__messagelist__item__avatar`, 'timeline__messagelist__item__avatar')}>
17
-            <img src={imgProfilOrange} alt='avatar' />
17
+            <img src={imgProfil} alt='avatar' />
18 18
           </div>
19 19
           <div
20 20
             className={classnames(`${props.customClass}__messagelist__item__createhour`, 'timeline__messagelist__item__createhour')}>
@@ -56,7 +56,7 @@ const Timeline = props => {
56 56
 
57 57
         <li className={classnames(`${props.customClass}__messagelist__item`, 'timeline__messagelist__item sended')}>
58 58
           <div className={classnames(`${props.customClass}__messagelist__item__avatar`, 'timeline__messagelist__item__avatar')}>
59
-            <img src={imgProfilOrange} alt='avatar' />
59
+            <img src={imgProfil} alt='avatar' />
60 60
           </div>
61 61
           <div
62 62
             className={classnames(`${props.customClass}__messagelist__item__createhour`, 'timeline__messagelist__item__createhour')}>

+ 53 - 0
src/component/Workspace/FileContentViewer.jsx View File

@@ -1,9 +1,62 @@
1 1
 import React from 'react'
2
+import PropTypes from 'prop-types'
3
+import PopinFixed from '../common/PopinFixed/PopinFixed'
4
+import PopinFixedHeader from '../common/PopinFixed/PopinFixedHeader.jsx'
5
+import PopinFixedOption from '../common/PopinFixed/PopinFixedOption.jsx'
6
+import PopinFixedContent from '../common/PopinFixed/PopinFixedContent.jsx'
7
+import PageHtml from './FileType/PageHtml.jsx'
8
+import Thread from './FileType/Thread.jsx'
9
+import Preview from './FileType/File.jsx'
10
+import Timeline from '../Timeline.jsx'
11
+import { FILE_TYPE } from '../../helper.js'
2 12
 
3 13
 const FileContentViewer = props => {
14
+  const { customClass, icon } = FILE_TYPE.find(f => f.name === props.file.type) || {customClass: '', icon: ''}
15
+
16
+  const [leftPart, rightPart] = (() => {
17
+    switch (props.file.type) {
18
+      case FILE_TYPE[0].name: // pageHtml
19
+        return [
20
+          <PageHtml version={props.file.version} text={props.file.text} />,
21
+          <Timeline customClass={`${customClass}__contentpage`} />
22
+        ]
23
+      case FILE_TYPE[2].name: // file (preview)
24
+        return [
25
+          <Preview />,
26
+          <Timeline customClass={`${customClass}__contentpage`} />
27
+        ]
28
+      case FILE_TYPE[3].name: // thread
29
+        return [
30
+          <Thread />
31
+        ]
32
+    }
33
+  })()
34
+
4 35
   return (
36
+    <PopinFixed customClass={`${customClass}`}>
37
+      <PopinFixedHeader
38
+        customClass={`${customClass}`}
39
+        icon={icon}
40
+        name={props.file.title}
41
+        onClickCloseBtn={props.onClose}
42
+      />
43
+
44
+      <PopinFixedOption customClass={`${customClass}`} />
5 45
 
46
+      <PopinFixedContent customClass={`${customClass}__contentpage`}>
47
+        { leftPart }
48
+        { rightPart }
49
+      </PopinFixedContent>
50
+    </PopinFixed>
6 51
   )
7 52
 }
8 53
 
9 54
 export default FileContentViewer
55
+
56
+FileContentViewer.PropTypes = {
57
+  file: PropTypes.shape({
58
+    type: PropTypes.oneOf(FILE_TYPE.map(f => f.name)).isRequired,
59
+    title: PropTypes.string.isRequired
60
+  }).isRequired,
61
+  onClose: PropTypes.func.isRequired
62
+}

+ 75 - 0
src/component/Workspace/FileType/File.jsx View File

@@ -0,0 +1,75 @@
1
+import React, { Component } from 'react'
2
+import classnames from 'classnames'
3
+import imgPDF from '../../../img/pdf.jpg'
4
+// import imgExcel from '../../../img/excel.png'
5
+
6
+class File extends Component {
7
+  constructor (props) {
8
+    super(props)
9
+    this.state = {
10
+      activesidebar: false
11
+    }
12
+  }
13
+
14
+  handleClickSidebar = () => this.setState(prev => ({activesidebar: !prev.activesidebar}))
15
+
16
+  render () {
17
+    return (
18
+      <div className={classnames('wsFileFile__contentpage__preview', {'activesidebar': this.state.activesidebar})}>
19
+        <div className='wsFileFile__contentpage__preview__dloption'>
20
+          <div className='wsFileFile__contentpage__preview__dloption__icon'>
21
+            <i className='fa fa-download' />
22
+          </div>
23
+          <div className='wsFileFile__contentpage__preview__dloption__icon'>
24
+            <i className='fa fa-file-pdf-o' />
25
+          </div>
26
+          <div className='wsFileFile__contentpage__preview__dloption__icon'>
27
+            <i className='fa fa-files-o' />
28
+          </div>
29
+        </div>
30
+        <div className='wsFileFile__contentpage__preview__slider'>
31
+          <div className='wsFileFile__contentpage__preview__slider__icon'>
32
+            <i className='fa fa-chevron-left' />
33
+          </div>
34
+          <div className='wsFileFile__contentpage__preview__slider__fileimg'>
35
+            <img src={imgPDF} alt='fichier pdf' className='img-thumbnail mx-auto' />
36
+          </div>
37
+          <div className='wsFileFile__contentpage__preview__slider__icon'>
38
+            <i className='fa fa-chevron-right' />
39
+          </div>
40
+        </div>
41
+        <div className='wsFileFile__contentpage__preview__sidebar' onClick={this.handleClickSidebar}>
42
+          <div className='wsFileFile__contentpage__preview__sidebar__button'>
43
+            <div className='wsFileFile__contentpage__preview__sidebar__button__icon'>
44
+              <i className='fa fa-gear' />
45
+            </div>
46
+            <div className='wsFileFile__contentpage__preview__sidebar__button__title'>
47
+              Propriétés
48
+            </div>
49
+          </div>
50
+          <div className='wsFileFile__contentpage__preview__sidebar__property'>
51
+            <div className='wsFileFile__contentpage__preview__sidebar__property__detail'>
52
+              <div className='wsFileFile__contentpage__preview__sidebar__property__detail__size'>
53
+                Taille : 500Ko
54
+              </div>
55
+              <div className='wsFileFile__contentpage__preview__sidebar__property__detail__description'>
56
+                <label>
57
+                  Description :
58
+                </label>
59
+                <form className='wsFileFile__contentpage__preview__sidebar__property__detail__description__editiondesc'>
60
+                  <textarea />
61
+                  <input type='submit' className='wsFileFile__contentpage__preview__sidebar__property__detail__description__editiondesc__validate form-control' />
62
+                </form>
63
+              </div>
64
+              <div className='wsFileFile__contentpage__preview__sidebar__property__detail__btndesc btn btn-primary'>
65
+                Changer la Description
66
+              </div>
67
+            </div>
68
+          </div>
69
+        </div>
70
+      </div>
71
+    )
72
+  }
73
+}
74
+
75
+export default File

+ 19 - 0
src/component/common/Input/BtnSwitch.jsx View File

@@ -0,0 +1,19 @@
1
+import React, { Component } from 'react'
2
+
3
+class BtnSwitch extends Component {
4
+  render () {
5
+    return (
6
+      <div className='btnswitch'>
7
+        <label className='switch nomarginlabel'>
8
+          <input type='checkbox' />
9
+          <span className='slider round' />
10
+        </label>
11
+        <div className='btnswitch__text'>
12
+          On
13
+        </div>
14
+      </div>
15
+    )
16
+  }
17
+}
18
+
19
+export default BtnSwitch

+ 43 - 0
src/component/common/PopinFixed/PopinFixedOption.jsx View File

@@ -6,6 +6,49 @@ const PopinFixedOption = props => {
6 6
   return (
7 7
     <div className='wsFileGeneric__option'>
8 8
       <div className='wsFileGeneric__option__menu'>
9
+
10
+        <div className='wsFileFile__option__menu__addversion btn mr-auto'>
11
+          Nouvelle version
12
+          <i className='fa fa-plus-circle' />
13
+        </div>
14
+
15
+        <div className='wsFileGeneric__option__menu__status dropdown'>
16
+          <button className='wsFileGeneric__option__menu__status__dropdownbtn check btn dropdown-toggle' type='button' id='dropdownMenu2' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
17
+            Validé
18
+            <div className='wsFileGeneric__option__menu__status__dropdownbtn__icon'>
19
+              <i className='fa fa-check' />
20
+            </div>
21
+          </button>
22
+
23
+          <div className='wsFileGeneric__option__menu__status__submenu dropdown-menu' aria-labelledby='dropdownMenu2'>
24
+            <h6 className='dropdown-header'>Statut du fichier</h6>
25
+            <div className='dropdown-divider' />
26
+            <button className='wsFileGeneric__option__menu__status__submenu__item current  dropdown-item' type='button'>
27
+              En cours
28
+              <div className='wsFileGeneric__option__menu__status__submenu__item__icon'>
29
+                <i className='fa fa-gears' />
30
+              </div>
31
+            </button>
32
+            <button className='wsFileGeneric__option__menu__status__submenu__item check dropdown-item' type='button'>
33
+              Validé
34
+              <div className='wsFileGeneric__option__menu__status__submenu__item__icon'>
35
+                <i className='fa fa-check' />
36
+              </div>
37
+            </button>
38
+            <button className='wsFileGeneric__option__menu__status__submenu__item invalid dropdown-item' type='button'>
39
+              Invalidé
40
+              <div className='wsFileGeneric__option__menu__status__submenu__item__icon'>
41
+                <i className='fa fa-times' />
42
+              </div>
43
+            </button>
44
+            <button className='wsFileGeneric__option__menu__status__submenu__item ban dropdown-item' type='button'>
45
+              Obsolète
46
+              <div className='wsFileGeneric__option__menu__status__submenu__item__icon'>
47
+                <i className='fa fa-ban' />
48
+              </div>
49
+            </button>
50
+          </div>
51
+        </div>
9 52
         <div className='wsFileGeneric__option__menu__action'>
10 53
           <i className='fa fa-archive' />
11 54
         </div>

+ 327 - 0
src/container/AccountPage.jsx View File

@@ -0,0 +1,327 @@
1
+import React, { Component } from 'react'
2
+import imgProfil from '../img/imgProfil.png'
3
+import BtnSwitch from '../component/common/Input/BtnSwitch.jsx'
4
+
5
+class AccountPage extends Component {
6
+  render () {
7
+    return (
8
+      <div className='account'>
9
+        <div className='container-fluid nopadding'>
10
+          <div className='pageTitleGeneric'>
11
+            <div className='pageTitleGeneric__title'>
12
+              Mon Compte
13
+            </div>
14
+          </div>
15
+
16
+          <div className='account__userinformation mr-5 ml-5 mb-5'>
17
+            <div className='account__userinformation__avatar'>
18
+              <img src={imgProfil} alt='avatar' />
19
+            </div>
20
+            <div className='account__userinformation__wrapper'>
21
+              <div className='account__userinformation__name mb-3'>
22
+                Alexi Cauvin
23
+              </div>
24
+              <a href='mailto:contact@contact.fr' className='account__userinformation__email mb-3'>
25
+                alexi.cauvin@algoo.fr
26
+              </a>
27
+              <div className='account__userinformation__role mb-3'>
28
+                Utilisateur
29
+              </div>
30
+              <div className='account__userinformation__job mb-3'>
31
+                Integrateur | Webdesigner
32
+              </div>
33
+              <a href='www.algoo.fr' className='account__userinformation__company'>
34
+                Algoo
35
+              </a>
36
+            </div>
37
+          </div>
38
+
39
+          <div className='account__delimiter GenericDelimiter' />
40
+
41
+          <div className='account__userpreference'>
42
+
43
+            <nav className='account__userpreference__menu navbar d-flex align-items-start'>
44
+
45
+              <div className='account__userpreference__menu__responsive d-lg-none'>
46
+                <i className='fa fa-bars' />
47
+              </div>
48
+
49
+              <ul className='account__userpreference__menu__list nav flex-column'>
50
+
51
+                <li className='account__userpreference__menu__list__close nav-link'>
52
+                  <i className='fa fa-times' />
53
+                </li>
54
+
55
+                <li className='account__userpreference__menu__list__disabled'>Menu
56
+                </li>
57
+                <li className='account__userpreference__menu__list__item nav-item'>
58
+                  <div className='account__userpreference__menu__list__item__link nav-link'>Informations Compte</div>
59
+                </li>
60
+                <li className='account__userpreference__menu__list__item nav-item'>
61
+                  <div className='account__userpreference__menu__list__item__link nav-link'>Calendrier</div>
62
+                </li>
63
+                <li className='account__userpreference__menu__list__item nav-item'>
64
+                  <div className='account__userpreference__menu__list__item__link nav-link'>Notifications</div>
65
+                </li>
66
+              </ul>
67
+            </nav>
68
+
69
+            <div className='account__userpreference__setting'>
70
+
71
+              <div className='account__userpreference__setting__personaldata d-none'>
72
+                <div className='account__userpreference__setting__personaldata__title subTitle ml-2 ml-sm-0'>
73
+                  Mes informations personnelles
74
+                </div>
75
+
76
+                <div className='account__userpreference__setting__personaldata__text ml-2 ml-sm-0'>
77
+                  Ut consectetur dolor et sunt nisi officia ut magna. Ut consectetur dolor et sunt nisi officia ut magna.
78
+                  Ut consectetur dolor et sunt nisi officia ut magna.
79
+                </div>
80
+
81
+                <div className='account__userpreference__setting__personaldata__changeinfo'>
82
+                  <div className='account__userpreference__setting__personaldata__changeinfo__infotitle'>
83
+                    Changer le mot de passe :
84
+                  </div>
85
+                  <input className='account__userpreference__setting__personaldata__changeinfo__txtinput form-control' type='password' placeholder='Ancien mot de passe' />
86
+                  <input className='account__userpreference__setting__personaldata__changeinfo__txtinput form-control' type='password' placeholder='Nouveau mot de passe' />
87
+                  <div className='account__userpreference__setting__personaldata__changeinfo__button btn btn-primary'>
88
+                    Envoyer
89
+                  </div>
90
+                </div>
91
+
92
+                <div className='account__userpreference__setting__personaldata__changeinfo'>
93
+                  <div className='account__userpreference__setting__personaldata__changeinfo__infotitle'>
94
+                    Changer d'adresse mail :
95
+                  </div>
96
+                  <input className='account__userpreference__setting__personaldata__changeinfo__txtinput form-control' type='email' placeholder='Ancienne adresse mail' />
97
+                  <input className='account__userpreference__setting__personaldata__changeinfo__txtinput form-control' type='email' placeholder='Nouvelle adresse mail' />
98
+                  <div className='account__userpreference__setting__personaldata__changeinfo__button btn btn-primary'>
99
+                    Envoyer
100
+                  </div>
101
+                </div>
102
+              </div>
103
+
104
+              <div className='account__userpreference__setting__calendar d-none'>
105
+
106
+                <div className='account__userpreference__setting__calendar__title subTitle ml-2 ml-sm-0'>
107
+                  Calendrier
108
+                </div>
109
+
110
+                <div className='account__userpreference__setting__calendar__text ml-2 ml-sm-0'>
111
+                  Ut consectetur dolor et sunt nisi officia ut magna. Ut consectetur dolor et sunt nisi officia ut magna.
112
+                  Ut consectetur dolor et sunt nisi officia ut magna.
113
+                </div>
114
+
115
+                <div className='account__userpreference__setting__calendar__infotitle'>
116
+                  Accèder à votre Calendrier personnel
117
+                </div>
118
+                <div className='account__userpreference__setting__calendar__link'>
119
+                  http://algoo.trac.im/caldav/user/262.ics/
120
+                </div>
121
+
122
+                <div className='account__userpreference__setting__calendar__infotitle'>
123
+                  Changer de Fuseau Horaire :
124
+                </div>
125
+
126
+                <div className='account__userpreference__setting__calendar__timezone dropdown'>
127
+                  <button className='account__userpreference__setting__calendar__timezone__btn btn dropdown-toggle' type='button' id='dropdownMenuButton' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
128
+                    Fuseau Horaire
129
+                  </button>
130
+                  <div className='account__userpreference__setting__calendar__timezone__submenu dropdown-menu'>
131
+                    <div className='account__userpreference__setting__calendar__timezone__submenu__item dropdown-item'> Paris GMT +1
132
+                    </div>
133
+                    <div className='account__userpreference__setting__calendar__timezone__submenu__item dropdown-item dropdown-item'> Londres GMT +0
134
+                    </div>
135
+                  </div>
136
+                </div>
137
+              </div>
138
+
139
+              <div className='account__userpreference__setting__notification'>
140
+
141
+                <div className='account__userpreference__setting__notification__title subTitle ml-2 ml-sm-0'>
142
+                  Mes Espaces de Travail
143
+                </div>
144
+
145
+                <div className='account__userpreference__setting__notification__text ml-2 ml-sm-0'>
146
+                  Ut consectetur dolor et sunt nisi officia ut magna. Ut consectetur dolor et sunt nisi officia ut magna.
147
+                  Ut consectetur dolor et sunt nisi officia ut magna.
148
+                </div>
149
+
150
+                <div className='account__userpreference__setting__notification__tableau'>
151
+                  <table className='table'>
152
+                    <thead>
153
+                      <tr>
154
+                        <th>Espace de travail</th>
155
+                        <th>Role</th>
156
+                        <th>Notification</th>
157
+                      </tr>
158
+                    </thead>
159
+                    <tbody>
160
+                      <tr>
161
+                        <td>
162
+                          <div className='account__userpreference__setting__notification__tableau__wksname'>
163
+                            Nouvelle ligne directrice du nouveau design de Tracim v2 en date du 10 Octobre 2017
164
+                          </div>
165
+                        </td>
166
+                        <td>
167
+                          <div className='account__userpreference__setting__notification__tableau__role'>
168
+                            <div className='account__userpreference__setting__notification__tableau__role__icon'>
169
+                              <i className='fa fa-graduation-cap' />
170
+                            </div>
171
+                            <div className='account__userpreference__setting__notification__tableau__role__text'>
172
+                              Gestionnaire de Contenu
173
+                            </div>
174
+                          </div>
175
+                        </td>
176
+                        <td>
177
+                          <div className='account__userpreference__setting__notification__tableau__btnswitch'>
178
+                            <BtnSwitch />
179
+                          </div>
180
+                        </td>
181
+                      </tr>
182
+                      <tr>
183
+                        <td>
184
+                          <div className='account__userpreference__setting__notification__tableau__wksname'>
185
+                            Nouvelle ligne directrice du nouveau design de Tracim v2 en date du 10 Octobre 2017
186
+                          </div>
187
+                        </td>
188
+                        <td>
189
+                          <div className='account__userpreference__setting__notification__tableau__role'>
190
+                            <div className='account__userpreference__setting__notification__tableau__role__icon'>
191
+                              <i className='fa fa-eye' />
192
+                            </div>
193
+                            <div className='account__userpreference__setting__notification__tableau__role__text'>
194
+                              Lecteur
195
+                            </div>
196
+                          </div>
197
+                        </td>
198
+                        <td>
199
+                          <div className='account__userpreference__setting__notification__tableau__btnswitch'>
200
+                            <BtnSwitch />
201
+                          </div>
202
+                        </td>
203
+                      </tr>
204
+                      <tr>
205
+                        <td>
206
+                          <div className='account__userpreference__setting__notification__tableau__wksname'>
207
+                            Nouvelle ligne directrice du nouveau design de Tracim v2 en date du 10 Octobre 2017
208
+                          </div>
209
+                        </td>
210
+                        <td>
211
+                          <div className='account__userpreference__setting__notification__tableau__role'>
212
+                            <div className='account__userpreference__setting__notification__tableau__role__icon'>
213
+                              <i className='fa fa-pencil' />
214
+                            </div>
215
+                            <div className='account__userpreference__setting__notification__tableau__role__text'>
216
+                              Contributeur
217
+                            </div>
218
+                          </div>
219
+                        </td>
220
+                        <td>
221
+                          <div className='account__userpreference__setting__notification__tableau__btnswitch'>
222
+                            <BtnSwitch />
223
+                          </div>
224
+                        </td>
225
+                      </tr>
226
+                      <tr>
227
+                        <td>
228
+                          <div className='account__userpreference__setting__notification__tableau__wksname'>
229
+                            Nouvelle ligne directrice du nouveau design de Tracim v2 en date du 10 Octobre 2017
230
+                          </div>
231
+                        </td>
232
+                        <td>
233
+                          <div className='account__userpreference__setting__notification__tableau__role'>
234
+                            <div className='account__userpreference__setting__notification__tableau__role__icon'>
235
+                              <i className='fa fa-gavel' />
236
+                            </div>
237
+                            <div className='account__userpreference__setting__notification__tableau__role__text'>
238
+                              Responsable
239
+                            </div>
240
+                          </div>
241
+                        </td>
242
+                        <td>
243
+                          <div className='account__userpreference__setting__notification__tableau__btnswitch'>
244
+                            <BtnSwitch />
245
+                          </div>
246
+                        </td>
247
+                      </tr>
248
+                      <tr>
249
+                        <td>
250
+                          <div className='account__userpreference__setting__notification__tableau__wksname'>
251
+                            Nouvelle ligne directrice du nouveau design de Tracim v2 en date du 10 Octobre 2017
252
+                          </div>
253
+                        </td>
254
+                        <td>
255
+                          <div className='account__userpreference__setting__notification__tableau__role'>
256
+                            <div className='account__userpreference__setting__notification__tableau__role__icon'>
257
+                              <i className='fa fa-graduation-cap' />
258
+                            </div>
259
+                            <div className='account__userpreference__setting__notification__tableau__role__text'>
260
+                              Gestionnaire de Contenu
261
+                            </div>
262
+                          </div>
263
+                        </td>
264
+                        <td>
265
+                          <div className='account__userpreference__setting__notification__tableau__btnswitch'>
266
+                            <BtnSwitch />
267
+                          </div>
268
+                        </td>
269
+                      </tr>
270
+                      <tr>
271
+                        <td>
272
+                          <div className='account__userpreference__setting__notification__tableau__wksname'>
273
+                            Nouvelle ligne directrice du nouveau design de Tracim v2 en date du 10 Octobre 2017
274
+                          </div>
275
+                        </td>
276
+                        <td>
277
+                          <div className='account__userpreference__setting__notification__tableau__role'>
278
+                            <div className='account__userpreference__setting__notification__tableau__role__icon'>
279
+                              <i className='fa fa-graduation-cap' />
280
+                            </div>
281
+                            <div className='account__userpreference__setting__notification__tableau__role__text'>
282
+                              Gestionnaire de Contenu
283
+                            </div>
284
+                          </div>
285
+                        </td>
286
+                        <td>
287
+                          <div className='account__userpreference__setting__notification__tableau__btnswitch'>
288
+                            <BtnSwitch />
289
+                          </div>
290
+                        </td>
291
+                      </tr>
292
+                      <tr>
293
+                        <td>
294
+                          <div className='account__userpreference__setting__notification__tableau__wksname'>
295
+                            Nouvelle ligne directrice du nouveau design de Tracim v2 en date du 10 Octobre 2017
296
+                          </div>
297
+                        </td>
298
+                        <td>
299
+                          <div className='account__userpreference__setting__notification__tableau__role'>
300
+                            <div className='account__userpreference__setting__notification__tableau__role__icon'>
301
+                              <i className='fa fa-graduation-cap' />
302
+                            </div>
303
+                            <div className='account__userpreference__setting__notification__tableau__role__text'>
304
+                              Gestionnaire de Contenu
305
+                            </div>
306
+                          </div>
307
+                        </td>
308
+                        <td>
309
+                          <div className='account__userpreference__setting__notification__tableau__btnswitch'>
310
+                            <BtnSwitch />
311
+                          </div>
312
+                        </td>
313
+                      </tr>
314
+                    </tbody>
315
+                  </table>
316
+                </div>
317
+              </div>
318
+
319
+            </div>
320
+          </div>
321
+        </div>
322
+      </div>
323
+    )
324
+  }
325
+}
326
+
327
+export default AccountPage

+ 372 - 0
src/container/Dashboard.jsx View File

@@ -0,0 +1,372 @@
1
+import React, { Component } from 'react'
2
+import listMemberBtn from '../img/listmemberbtn.png'
3
+import imgProfil from '../img/imgProfil.png'
4
+
5
+class Dashboard extends Component {
6
+  render () {
7
+    return (
8
+      <div className='dashboard'>
9
+        <div className='container-fluid nopadding'>
10
+          <div className='pageTitleGeneric'>
11
+            <div className='pageTitleGeneric__title dashboard__title'>
12
+              Dashboard
13
+            </div>
14
+          </div>
15
+
16
+          <div className='dashboard__wkswrapper'>
17
+            <div className='dashboard__workspace'>
18
+              <div className='dashboard__workspace__title'>
19
+                Nouvelle ligne directive sur le nouveau design de Tracim
20
+              </div>
21
+
22
+              <div className='dashboard__workspace__detail'>
23
+                Ut in et sit adipisicing mollit amet ut exercitation proident laborum duis occaecat eu aute qui ut.
24
+                Dolore veniam eu consectetur occaecat est elit dolor nulla est ut amet do reprehenderit eiusmod tempor.
25
+              </div>
26
+            </div>
27
+            <div className='dashboard__userstatut'>
28
+
29
+              <div className='dashboard__userstatut__role'>
30
+                <div className='dashboard__userstatut__role__text'>
31
+                  Hi ! Alexi, vous êtes actuellement
32
+                </div>
33
+                <div className='dashboard__userstatut__role__rank'>
34
+                  <div className='dashboard__userstatut__role__rank__icon'>
35
+                    <i className='fa fa-graduation-cap' />
36
+                  </div>
37
+                  <div className='dashboard__userstatut__role__rank__rolename'>
38
+                    Gestionnaire de projet
39
+                  </div>
40
+                </div>
41
+              </div>
42
+
43
+              <div className='dashboard__userstatut__notification'>
44
+                <div className='dashboard__userstatut__notification__text'>
45
+                  Vous êtes abonné(e) aux notifications de ce workspace
46
+                </div>
47
+                <div className='dashboard__userstatut__notification__btn btn btn-primary'>
48
+                  Changer de statut
49
+                </div>
50
+
51
+                <div className='dashboard__userstatut__notification__subscribe dropdown'>
52
+                  <button className='dashboard__userstatut__notification__subscribe__btn btn btn-secondary dropdown-toggle' type='button' id='dropdownMenuButton' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
53
+                    Abonné(e)
54
+                  </button>
55
+                  <div className='dashboard__userstatut__notification__subscribe__submenu dropdown-menu'>
56
+                    <div className='dashboard__userstatut__notification__subscribe__submenu__item dropdown-item'>Abonné(e)
57
+                    </div>
58
+                    <div className='dashboard__userstatut__notification__subscribe__submenu__item dropdown-item dropdown-item'>Non Abonné(e)
59
+                    </div>
60
+                  </div>
61
+                </div>
62
+              </div>
63
+            </div>
64
+          </div>
65
+
66
+          <div className='dashboard__calltoaction'>
67
+            <div className='dashboard__calltoaction__button btnaction thread'>
68
+              <div className='dashboard__calltoaction__button__text'>
69
+                <div className='dashboard__calltoaction__button__text__icon'>
70
+                  <i className='fa fa-comments-o' />
71
+                </div>
72
+                <div className='dashboard__calltoaction__button__text__title'>
73
+                  Débuter une nouvelle discussion
74
+                </div>
75
+              </div>
76
+            </div>
77
+
78
+            <div className='dashboard__calltoaction__button btnaction writefile'>
79
+              <div className='dashboard__calltoaction__button__text'>
80
+                <div className='dashboard__calltoaction__button__text__icon'>
81
+                  <i className='fa fa-file-text-o' />
82
+                </div>
83
+                <div className='dashboard__calltoaction__button__text__title'>
84
+                  Rédiger un document
85
+                </div>
86
+              </div>
87
+            </div>
88
+
89
+            <div className='dashboard__calltoaction__button btnaction importfile'>
90
+              <div className='dashboard__calltoaction__button__text'>
91
+                <div className='dashboard__calltoaction__button__text__icon'>
92
+                  <i className='fa fa-paperclip' />
93
+                </div>
94
+                <div className='dashboard__calltoaction__button__text__title'>
95
+                  Importer un fichier
96
+                </div>
97
+              </div>
98
+            </div>
99
+
100
+            <div className='dashboard__calltoaction__button btnaction calendar'>
101
+              <div className='dashboard__calltoaction__button__text'>
102
+                <div className='dashboard__calltoaction__button__text__icon'>
103
+                  <i className='fa fa-calendar' />
104
+                </div>
105
+                <div className='dashboard__calltoaction__button__text__title'>
106
+                  Voir le Calendrier
107
+                </div>
108
+              </div>
109
+            </div>
110
+
111
+            <div className='dashboard__calltoaction__button btnaction explore'>
112
+              <div className='dashboard__calltoaction__button__text'>
113
+                <div className='dashboard__calltoaction__button__text__icon'>
114
+                  <i className='fa fa-folder-open-o' />
115
+                </div>
116
+                <div className='dashboard__calltoaction__button__text__title'>
117
+                  Explorer le Workspace
118
+                </div>
119
+              </div>
120
+            </div>
121
+          </div>
122
+
123
+          <div className='dashboard__wksinfo'>
124
+            <div className='dashboard__activity'>
125
+              <div className='dashboard__activity__header'>
126
+                <div className='dashboard__activity__header__title subTitle'>
127
+                  Activité récente
128
+                </div>
129
+
130
+                <div className='dashboard__activity__header__allread btn'>
131
+                  Tout marquer comme lu
132
+                </div>
133
+              </div>
134
+              <div className='dashboard__activity__wrapper'>
135
+                <div className='dashboard__activity__workspace'>
136
+                  <div className='dashboard__activity__workspace__icon'>
137
+                    <i className='fa fa-comments-o' />
138
+                  </div>
139
+                  <div className='dashboard__activity__workspace__name'>
140
+                    <span>Workspace 1</span>
141
+                  </div>
142
+                </div>
143
+
144
+                <div className='dashboard__activity__workspace'>
145
+                  <div className='dashboard__activity__workspace__icon'>
146
+                    <i className='fa fa-list-ul' />
147
+                  </div>
148
+                  <div className='dashboard__activity__workspace__name'>
149
+                    Workspace 2
150
+                  </div>
151
+                </div>
152
+
153
+                <div className='dashboard__activity__workspace'>
154
+                  <div className='dashboard__activity__workspace__icon'>
155
+                    <i className='fa fa-list-ul' />
156
+                  </div>
157
+                  <div className='dashboard__activity__workspace__name'>
158
+                    Workspace 3
159
+                  </div>
160
+                </div>
161
+
162
+                <div className='dashboard__activity__workspace'>
163
+                  <div className='dashboard__activity__workspace__icon'>
164
+                    <i className='fa fa-file-text-o' />
165
+                  </div>
166
+                  <div className='dashboard__activity__workspace__name'>
167
+                    <span>Workspace 4</span>
168
+                  </div>
169
+                </div>
170
+
171
+                <div className='dashboard__activity__workspace'>
172
+                  <div className='dashboard__activity__workspace__icon'>
173
+                    <i className='fa fa-comments-o' />
174
+                  </div>
175
+                  <div className='dashboard__activity__workspace__name'>
176
+                    <span>Workspace 5</span>
177
+                  </div>
178
+                </div>
179
+
180
+                <div className='dashboard__activity__workspace'>
181
+                  <div className='dashboard__activity__workspace__icon'>
182
+                    <i className='fa fa-file-text-o' />
183
+                  </div>
184
+                  <div className='dashboard__activity__workspace__name'>
185
+                    Workspace 6
186
+                  </div>
187
+                </div>
188
+
189
+                <div className='dashboard__activity__more d-flex flex-row-reverse'>
190
+                  <div className='dashboard__activity__more__btn btn'>
191
+                    Voir plus
192
+                  </div>
193
+                </div>
194
+              </div>
195
+            </div>
196
+
197
+            <div className='dashboard__memberlist'>
198
+
199
+              <div className='dashboard__memberlist__title subTitle'>
200
+                Liste des membres
201
+              </div>
202
+
203
+              <div className='dashboard__memberlist__wrapper'>
204
+                <ul className='dashboard__memberlist__list'>
205
+                  <li className='dashboard__memberlist__list__item'>
206
+                    <div className='dashboard__memberlist__list__item__avatar'>
207
+                      <img src={imgProfil} alt='avatar' />
208
+                    </div>
209
+                    <div className='dashboard__memberlist__list__item__info'>
210
+                      <div className='dashboard__memberlist__list__item__info__name'>
211
+                        Jean Dupont
212
+                      </div>
213
+                      <div className='dashboard__memberlist__list__item__info__role'>
214
+                        Responsable
215
+                      </div>
216
+                    </div>
217
+                  </li>
218
+
219
+                  <li className='dashboard__memberlist__list__item'>
220
+                    <div className='dashboard__memberlist__list__item__avatar'>
221
+                      <img src={imgProfil} alt='avatar' />
222
+                    </div>
223
+                    <div className='dashboard__memberlist__list__item__info'>
224
+                      <div className='dashboard__memberlist__list__item__info__name'>
225
+                        Aldwin Vinel
226
+                      </div>
227
+                      <div className='dashboard__memberlist__list__item__info__role'>
228
+                        lecteur
229
+                      </div>
230
+                    </div>
231
+                  </li>
232
+
233
+                  <li className='dashboard__memberlist__list__item'>
234
+                    <div className='dashboard__memberlist__list__item__avatar'>
235
+                      <img src={imgProfil} alt='avatar' />
236
+                    </div>
237
+                    <div className='dashboard__memberlist__list__item__info'>
238
+                      <div className='dashboard__memberlist__list__item__info__name'>
239
+                        William Himme
240
+                      </div>
241
+                      <div className='dashboard__memberlist__list__item__info__role'>
242
+                        contributeur
243
+                      </div>
244
+                    </div>
245
+                  </li>
246
+
247
+                  <li className='dashboard__memberlist__list__item'>
248
+                    <div className='dashboard__memberlist__list__item__avatar'>
249
+                      <img src={imgProfil} alt='avatar' />
250
+                    </div>
251
+                    <div className='dashboard__memberlist__list__item__info'>
252
+                      <div className='dashboard__memberlist__list__item__info__name'>
253
+                        Yacine Lite
254
+                      </div>
255
+                      <div className='dashboard__memberlist__list__item__info__role'>
256
+                        Gestionnaire de contenu
257
+                      </div>
258
+                    </div>
259
+                  </li>
260
+
261
+                  <li className='dashboard__memberlist__list__item'>
262
+                    <div className='dashboard__memberlist__list__item__avatar'>
263
+                      <img src={imgProfil} alt='avatar' />
264
+                    </div>
265
+                    <div className='dashboard__memberlist__list__item__info'>
266
+                      <div className='dashboard__memberlist__list__item__info__name'>
267
+                        Yacine Lite
268
+                      </div>
269
+                      <div className='dashboard__memberlist__list__item__info__role'>
270
+                        Gestionnaire de contenu
271
+                      </div>
272
+                    </div>
273
+                  </li>
274
+
275
+                  <li className='dashboard__memberlist__list__item'>
276
+                    <div className='dashboard__memberlist__list__item__avatar'>
277
+                      <img src={imgProfil} alt='avatar' />
278
+                    </div>
279
+                    <div className='dashboard__memberlist__list__item__info'>
280
+                      <div className='dashboard__memberlist__list__item__info__name'>
281
+                        Yacine Lite
282
+                      </div>
283
+                      <div className='dashboard__memberlist__list__item__info__role'>
284
+                        Gestionnaire de contenu
285
+                      </div>
286
+                    </div>
287
+                  </li>
288
+
289
+                </ul>
290
+                <div className='dashboard__memberlist__btnadd'>
291
+                  <div className='dashboard__memberlist__btnadd__button'>
292
+                    <div className='dashboard__memberlist__btnadd__button__avatar'>
293
+                      <img src={listMemberBtn} alt='avatar' />
294
+                    </div>
295
+                    <div className='dashboard__memberlist__btnadd__button__text'>
296
+                       Ajouter un membre
297
+                    </div>
298
+                  </div>
299
+                </div>
300
+
301
+                <form className='dashboard__memberlist__addmember'>
302
+                  <input type='text' className='dashboard__memberlist__addmember__name form-control' placeholder='Name' />
303
+                  <div className='dashboard__memberlist__addmember__role'>
304
+                    <div className='dashboard__memberlist__addmember__role__dropdown dropdown'>
305
+                      <button className='dashboard__memberlist__addmember__role__dropdown__button btn dropdown-toggle' type='button' id='dropdownMenuButton' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
306
+                        Rôle du membre
307
+                      </button>
308
+                      <div className='dashboard__memberlist__addmember__role__dropdown__submenu dropdown-menu'>
309
+                        <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item dropdown-item'>
310
+                          <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item__icon'>
311
+                            <i className='fa fa-eye' />
312
+                          </div>
313
+                          Lecteur
314
+                        </div>
315
+                        <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item dropdown-item'>
316
+                          <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item__icon'>
317
+                            <i className='fa fa-pencil' />
318
+                          </div>
319
+                          contributeur
320
+                        </div>
321
+                        <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item dropdown-item'>
322
+                          <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item__icon'>
323
+                            <i className='fa fa-graduation-cap' />
324
+                          </div>
325
+                          Gestionnaire de contenu
326
+                        </div>
327
+                        <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item dropdown-item'>
328
+                          <div className='dashboard__memberlist__addmember__role__dropdown__submenu__item__icon'>
329
+                            <i className='fa fa-gavel' />
330
+                          </div>
331
+                          Responsable
332
+                        </div>
333
+                      </div>
334
+                    </div>
335
+                  </div>
336
+                  <input type='submit' className='dashboard__memberlist__addmember__submitbtn' />
337
+                </form>
338
+
339
+              </div>
340
+            </div>
341
+          </div>
342
+
343
+          <div className='dashboard__webdav genericWebdav'>
344
+
345
+            <div className='dashboard__webdav__btn genericWebdav__btn'>
346
+              <div className='dashboard__webdav__btn__icon genericWebdav__btn__icon'>
347
+                <i className='fa fa-windows' />
348
+              </div>
349
+
350
+              <div className='dashboard__webdav__btn__text genericWebdav__btn__text'>
351
+                Implémenter Tracim dans votre explorateur
352
+              </div>
353
+            </div>
354
+
355
+            <div className='dashboard__webdav__information genericWebdav__info'>
356
+              <div className='dashboard__webdav__information__text genericWebdav__info__text'>
357
+                Lorem ipsum dolore dolore laborum exercitation et deserunt ad ullamco nostrud dolore magna in proident elit amet do eu ut officia anim magna dolore adipisicing aliqua qui reprehenderit laborum labore tempor consectetur ut pariatur deserunt nostrud.
358
+              </div>
359
+
360
+              <div className='dashboard__webdav__information__link genericWebdav__info__link'>
361
+                http://algoo.trac.im/webdav/
362
+              </div>
363
+            </div>
364
+
365
+          </div>
366
+        </div>
367
+      </div>
368
+    )
369
+  }
370
+}
371
+
372
+export default Dashboard

+ 27 - 0
src/container/ProgressBar.jsx View File

@@ -0,0 +1,27 @@
1
+import React, { Component } from 'react'
2
+
3
+class ProgressBar extends Component {
4
+  render () {
5
+    return (
6
+      <div className='container-fluid'>
7
+        <div className='row'>
8
+          <div className='col-md-3 col-sm-6'>
9
+            <div className='progress blue'>
10
+              <span className='progress-left'>
11
+                <span className='progress-bar' />
12
+              </span>
13
+              <span className='progress-right'>
14
+                <span className='progress-bar' />
15
+              </span>
16
+              <div className='progress-value'>
17
+                90%
18
+              </div>
19
+            </div>
20
+          </div>
21
+        </div>
22
+      </div>
23
+    )
24
+  }
25
+}
26
+
27
+export default ProgressBar

+ 21 - 16
src/container/Sidebar.jsx View File

@@ -32,30 +32,35 @@ class Sidebar extends React.Component {
32 32
             />
33 33
 
34 34
             <li className='sidebar__navigation__workspace__item nav-item dropdown'>
35
-              <div className='sidebar__navigation__workspace__item__number'>
36
-                02
37
-              </div>
38
-              <div className='sidebar__navigation__workspace__item__name'>
39
-                Workspace 2
40
-              </div>
35
+              <div className='sidebar__navigation__workspace__item__wrapper'>
36
+                <div className='sidebar__navigation__workspace__item__number'>
37
+                  02
38
+                </div>
39
+                <div className='sidebar__navigation__workspace__item__name'>
40
+                  Workspace 2
41
+                </div>
41 42
 
42
-              <div className='sidebar__navigation__workspace__item__icon'>
43
-                <i className='fa fa-chevron-down' />
43
+                <div className='sidebar__navigation__workspace__item__icon'>
44
+                  <i className='fa fa-chevron-down' />
45
+                </div>
44 46
               </div>
45 47
             </li>
46 48
 
47 49
             <li className='sidebar__navigation__workspace__item nav-item dropdown'>
48
-              <div className='sidebar__navigation__workspace__item__number'>
49
-                03
50
-              </div>
51
-              <div className='sidebar__navigation__workspace__item__name'>
52
-                Workspace 3
53
-              </div>
50
+              <div className='sidebar__navigation__workspace__item__wrapper'>
51
+                <div className='sidebar__navigation__workspace__item__number'>
52
+                  03
53
+                </div>
54
+                <div className='sidebar__navigation__workspace__item__name'>
55
+                  Workspace 3
56
+                </div>
54 57
 
55
-              <div className='sidebar__navigation__workspace__item__icon'>
56
-                <i className='fa fa-chevron-down' />
58
+                <div className='sidebar__navigation__workspace__item__icon'>
59
+                  <i className='fa fa-chevron-down' />
60
+                </div>
57 61
               </div>
58 62
             </li>
63
+
59 64
           </ul>
60 65
         </nav>
61 66
 

+ 4 - 0
src/container/Tracim.jsx View File

@@ -4,6 +4,8 @@ import Footer from '../component/Footer.jsx'
4 4
 import Header from './Header.jsx'
5 5
 import Sidebar from './Sidebar.jsx'
6 6
 import Login from './Login.jsx'
7
+import Dashboard from './Dashboard.jsx'
8
+import AccountPage from './AccountPage.jsx'
7 9
 import WorkspaceContent from './WorkspaceContent.jsx'
8 10
 import {
9 11
   Route,
@@ -44,6 +46,8 @@ class Tracim extends React.Component {
44 46
               <SidebarWrapper locationPath={location.pathname}>
45 47
 
46 48
                 <PrivateRoute exact path='/' component={WorkspaceContent} />
49
+                <PrivateRoute exact path='/account' component={AccountPage} />
50
+                <PrivateRoute exact path='/dashboard' component={Dashboard} />
47 51
 
48 52
               </SidebarWrapper>
49 53
 

+ 31 - 0
src/container/UploadPopup.jsx View File

@@ -0,0 +1,31 @@
1
+import React, { Component } from 'react'
2
+import ProgressBar from './ProgressBar.jsx'
3
+
4
+class UploadPopup extends Component {
5
+  render () {
6
+    return (
7
+      <div className='uploadpopup'>
8
+        <div className='uploadpopup__wrapper card'>
9
+          <div className='card-body'>
10
+
11
+            <div className='uploadpopup__closepopup'>
12
+              <i className='fa fa-times' />
13
+            </div>
14
+
15
+            <div className='uploadpopup__progress'>
16
+              <div className='uploadpopup__progress__bar'>
17
+                <ProgressBar />
18
+              </div>
19
+
20
+              <div className='uploadpopup__progress__filename'>
21
+                Nom du Fichier
22
+              </div>
23
+            </div>
24
+          </div>
25
+        </div>
26
+      </div>
27
+    )
28
+  }
29
+}
30
+
31
+export default UploadPopup

+ 302 - 0
src/css/AccountPage.styl View File

@@ -0,0 +1,302 @@
1
+.nomarginlabel
2
+  margin-bottom 0
3
+
4
+settingText()
5
+  margin 15px 0
6
+  font-size 18px
7
+
8
+.account
9
+  &__userinformation
10
+    display flex
11
+    justify-content center
12
+    align-items center
13
+    flex-wrap wrap
14
+    border 1px solid grey
15
+    padding 25px
16
+    font-size 18px
17
+    &__wrapper
18
+      flex-direction column
19
+    &__avatar
20
+      margin-right 50px
21
+      img
22
+        width 150px
23
+        height 150px
24
+    &__name
25
+      font-size 22px
26
+    &__email
27
+      color blue
28
+    &__company
29
+      font-size 20px
30
+      color blue
31
+  &__delimiter
32
+    position relative
33
+    top 3px
34
+    margin auto
35
+    z-index 3
36
+  &__userpreference
37
+    display flex
38
+    padding 25px
39
+    width 100%
40
+    background-color lightGrey
41
+    &__menu
42
+      margin-right 30px
43
+      border-radius 10px
44
+      padding 0
45
+      width 20%
46
+      background-color off-white
47
+      &__responsive
48
+        font-size 20px
49
+      &__list
50
+        width 100%
51
+        margin-bottom 20px
52
+        &__close
53
+          display none
54
+          justify-content flex-end
55
+          margin 10px 0 15px 0
56
+          font-size 20px
57
+          cursor pointer
58
+        &__disabled
59
+          padding 25px 20px 20px 20px
60
+          color grey
61
+          font-size 18px
62
+        &__item
63
+          margin-top 10px
64
+          padding-left 5px
65
+          font-weight 500
66
+          font-size 18px
67
+          cursor pointer
68
+          &:hover
69
+            background-color blue
70
+            color white
71
+    &__setting
72
+      border-radius 10px
73
+      padding 20px
74
+      width 80%
75
+      background-color off-white
76
+      &__personaldata
77
+        &__text
78
+          settingText()
79
+        &__changeinfo
80
+          margin 25px 0
81
+          &__infotitle
82
+            margin-bottom 15px
83
+            font-size 18px
84
+          &__txtinput
85
+            display inline-flex
86
+            display ms-inline-flex
87
+            width auto
88
+            margin 0 15px 15px 0
89
+            border 1px solid blue
90
+            border-radius 10px
91
+            padding 8px 15px
92
+          &__button
93
+            vertical-align top
94
+            border 1px solid blue
95
+            border-radius 10px
96
+            padding 8px 25px
97
+            background-color transparent
98
+            color blue
99
+            cursor pointer
100
+            &:hover, &:focus
101
+              background-color blue
102
+              color white
103
+      &__calendar
104
+        &__title
105
+          settingTitle()
106
+        &__text
107
+          settingText()
108
+        &__infotitle
109
+          margin 15px 0
110
+          font-size 18px
111
+        &__link
112
+          display inline-block
113
+          border 1px solid grey
114
+          border-radius 10px
115
+          padding 10px 25px
116
+        &__timezone
117
+          margin 15px 0 30px 0
118
+          &__btn
119
+            border 1px solid blue
120
+            border-radius 10px
121
+            padding 10px 35px
122
+            color blue
123
+            background-color transparent
124
+            &::after
125
+              margin-left 10px
126
+            &:hover, &:focus
127
+              background-color blue
128
+              color white
129
+          &__submenu
130
+            width 203px
131
+            max-height 300px
132
+            overflow-Y auto
133
+            &__item
134
+              &:hover, &:focus
135
+                background-color blue
136
+                color white
137
+      &__notification
138
+        &__title
139
+          settingTitle()
140
+        &__text
141
+          settingText()
142
+          margin-bottom 30px
143
+        &__tableau
144
+          border 1px solid lightGrey
145
+          &__role
146
+            display flex
147
+            align-items center
148
+            &__icon
149
+              margin-right 10px
150
+
151
+.account__userpreference__setting__notification__table__line:nth-last-child(1)
152
+  border-bottom 0
153
+
154
+
155
+/***** MEDIAQUERIES *****/
156
+
157
+
158
+/**** MEDIA 576px & 1199px ****/
159
+
160
+// Regroup the common rules
161
+
162
+@media (min-width: min-sm) and (max-width: max-md)
163
+
164
+  .account
165
+    &__userpreference
166
+      display block
167
+      position relative
168
+      &__menu
169
+        justify-content center
170
+        margin-bottom 25px
171
+        border-radius 30px
172
+        width 60px
173
+        min-height 60px
174
+        &__responsive
175
+          align-self center
176
+        &__list
177
+          display none
178
+      &__setting
179
+        padding 10px
180
+        width 100%
181
+
182
+  .activemenu
183
+    .account
184
+      &__userpreference
185
+        &__menu
186
+          justify-content start
187
+          position absolute
188
+          top 0
189
+          left 0
190
+          border-radius 10px
191
+          width 100%
192
+          height 100%
193
+          z-index 2
194
+          background-color rgbGrey
195
+          &__responsive
196
+            display none
197
+          &__list
198
+            display block
199
+            border-radius 10px
200
+            height 100%
201
+            background-color off-white
202
+            width 300px
203
+            &__close
204
+              display flex
205
+            &__disabled
206
+              padding 0 20px
207
+
208
+/***** MEDIA LG *****/
209
+
210
+@media (min-width: min-lg) and (max-width: max-lg)
211
+
212
+  .account
213
+    &__userpreference
214
+      padding 25px 10px
215
+      &__menu
216
+        margin-right 15px
217
+        width 25%
218
+
219
+/**** MEDIA SM ****/
220
+
221
+@media (min-width: min-sm) and (max-width: max-sm)
222
+
223
+  .account
224
+    &__userpreference
225
+      padding 25px 0
226
+      &__menu
227
+        margin-left 15px
228
+      &__setting
229
+        padding 30px 15px
230
+
231
+  .activemenu
232
+    .account__userpreference__menu
233
+      margin-left 0
234
+
235
+/***** MEDIA XS *****/
236
+
237
+@media (max-width: max-xs)
238
+
239
+  .account
240
+    &__userinformation
241
+      &__avatar
242
+        margin 0 0 20px 0
243
+      &__wrapper
244
+        text-align center
245
+    &__userpreference
246
+      display block
247
+      position relative
248
+      padding 25px 0
249
+      &__menu
250
+        justify-content center
251
+        margin 0 0 25px 15px
252
+        border-radius 30px
253
+        width 60px
254
+        min-height 60px
255
+        &__responsive
256
+          align-self center
257
+        &__list
258
+          display none
259
+      &__setting
260
+        border-radius 0
261
+        padding 10px 0
262
+        width 100%
263
+        &__calendar
264
+          &__link
265
+            padding 10px 15px
266
+        &__notification
267
+          &__tableau
268
+            &__wksname
269
+              text-overflow ellipsis
270
+              white-space nowrap
271
+              overflow hidden
272
+              width 100px
273
+              &:focus
274
+                overflow visible
275
+                width auto
276
+
277
+  .activemenu
278
+    .account
279
+      &__userpreference
280
+        &__menu
281
+          justify-content start
282
+          position absolute
283
+          top 0
284
+          left 0
285
+          margin-left 0
286
+          border-radius 10px
287
+          width 100%
288
+          height 100%
289
+          z-index 2
290
+          background-color rgbGrey
291
+          &__responsive
292
+            display none
293
+          &__list
294
+            display block
295
+            border-radius 10px
296
+            height 100%
297
+            background-color off-white
298
+            width 300px
299
+            &__close
300
+              display flex
301
+            &__disabled
302
+              padding 0 20px

+ 356 - 0
src/css/Dashboard.styl View File

@@ -0,0 +1,356 @@
1
+flexwrap()
2
+  display flex
3
+  flex-wrap wrap
4
+
5
+btnNotification()
6
+  margin 20px 0
7
+  border 1px solid blue
8
+  padding 10px 15px
9
+
10
+hoverfocus()
11
+  background-color blue
12
+  color white
13
+
14
+bgandcolor()
15
+  background-color transparent
16
+  color blue
17
+
18
+.dashboard
19
+  margin-left 20px
20
+  &__title
21
+    margin 0
22
+  &__wkswrapper
23
+    flexwrap()
24
+  &__workspace
25
+    margin-right 20px
26
+    width calc(65% - 20px) //20px => margin-right
27
+    &__title
28
+      margin-bottom 20px
29
+      font-size 40px
30
+      font-weight 500
31
+      color darkBlue
32
+    &__detail
33
+      margin-bottom 20px
34
+      font-size 18px
35
+  &__userstatut
36
+    width 35%
37
+    &__role
38
+      flexwrap()
39
+      margin 20px 0
40
+      font-size 18px
41
+      &__text
42
+        margin-right 15px
43
+      &__rank
44
+        display flex
45
+        &__icon
46
+          margin-right 15px
47
+          color gestionnaire
48
+    &__notification
49
+      font-size 18px
50
+      &__btn
51
+        btnNotification()
52
+        bgandcolor()
53
+        cursor pointer
54
+        &:hover , focus
55
+          hoverfocus()
56
+      &__subscribe
57
+        display none
58
+        &__btn
59
+          btnNotification()
60
+          bgandcolor()
61
+          &:hover,&:focus
62
+            hoverfocus()
63
+        &__submenu
64
+          padding 0
65
+          &__item
66
+            padding 10px
67
+            &:hover,&:focus
68
+              hoverfocus()
69
+  &__calltoaction
70
+    flexwrap()
71
+    margin 50px 0
72
+    &__button
73
+      &:active
74
+        box-shadow inset 0px 0px 5px 2px #656565
75
+      &__text
76
+        &__icon
77
+          font-size 30px
78
+          .fa-comments-o, .fa-paperclip, .fa-calendar, .fa-file-text-o, .fa-folder-open-o
79
+              color white
80
+        &__title
81
+          font-size 18px
82
+          color white
83
+    .thread
84
+      background-color blue
85
+    .writefile
86
+      background-color writefile
87
+    .importfile
88
+      background-color importfile
89
+    .calendar
90
+      background-color calendar
91
+    .explore
92
+      background-color explore
93
+  &__wksinfo
94
+    flexwrap()
95
+  &__activity
96
+    margin 0 35px 50px 0
97
+    width 60%
98
+    &__header
99
+      display flex
100
+      justify-content space-between
101
+      align-items center
102
+      margin-bottom 20px
103
+      height 44px
104
+      &__allread
105
+        border 1px solid blue
106
+        padding 10px 25px
107
+        color blue
108
+        font-size 18px
109
+        cursor pointer
110
+        &:hover, &:focus
111
+          hoverfocus()
112
+    &__wrapper
113
+      border 1px solid grey
114
+      height 480px
115
+    &__workspace
116
+      display flex
117
+      align-items center
118
+      border-bottom 1px solid grey
119
+      padding 15px
120
+      cursor pointer
121
+      &:hover
122
+        background-color folder-hover
123
+      &__icon
124
+        margin 0 25px
125
+        font-size 25px
126
+      &__name
127
+        font-size 18px
128
+        font-weight 500
129
+        span
130
+          font-weight 400
131
+    &__more
132
+      &__btn
133
+        margin 15px
134
+        border 1px solid blue
135
+        padding 10px 25px
136
+        color blue
137
+        cursor pointer
138
+        &:hover, &:focus
139
+          hoverfocus()
140
+  &__memberlist
141
+    margin 0 0 50px 0
142
+    width 35%
143
+    &__title
144
+      margin-bottom 20px
145
+      padding 6px
146
+      height 45px
147
+    &__wrapper
148
+      position relative
149
+      border 1px solid grey
150
+      height 480px
151
+    &__list
152
+      margin 0
153
+      padding 0
154
+      list-style none
155
+      height 400px
156
+      overflow-Y scroll
157
+      &__item
158
+        display flex
159
+        border-bottom 1px solid grey
160
+        padding 10px 15px
161
+        &:nth-last-child(1)
162
+          border-bottom 0
163
+        &__avatar
164
+          margin-right 20px
165
+          width 50px
166
+          height 50px
167
+        &__info
168
+          &__name
169
+            font-size 20px
170
+          &__role
171
+            font-size 18px
172
+    &__btnadd
173
+      border-top 1px solid grey
174
+      padding 15px
175
+      &__button
176
+        display flex
177
+        align-items center
178
+        &__avatar
179
+          margin-right 20px
180
+          cursor pointer
181
+          img
182
+            width 50px
183
+            height 50px
184
+        &__text
185
+          font-size 18px
186
+          color blue
187
+          cursor pointer
188
+    &__addmember
189
+      position absolute
190
+      top 0
191
+      display none
192
+      flex-direction column
193
+      justify-content center
194
+      align-items center
195
+      height 100%
196
+      width 100%
197
+      background-color off-white
198
+      &__name
199
+        margin-bottom 20px
200
+        border 1px solid grey
201
+        border-radius 10px
202
+        padding 10px 25px
203
+        width auto
204
+      &__role
205
+        margin-bottom 20px
206
+        &__dropdown
207
+          &__button
208
+            border 1px solid blue
209
+            border-radius 10px
210
+            padding 10px 25px
211
+            bgandcolor()
212
+            &::after
213
+              margin 10px 0 0 20px
214
+            &:hover,&:focus
215
+              hoverfocus()
216
+          &__submenu
217
+            padding 0
218
+            &__item
219
+              display flex
220
+              padding 10px
221
+              &:hover,&:focus
222
+                hoverfocus()
223
+              &__icon
224
+                margin-right 15px
225
+      &__submitbtn
226
+        border 1px solid blue
227
+        border-radius 5px
228
+        padding 5px 35px
229
+        bgandcolor()
230
+        cursor pointer
231
+        &:hover, &:focus
232
+          hoverfocus()
233
+  &__webdav
234
+    margin-bottom 100px
235
+    &__btn
236
+      width 300px
237
+    &__information
238
+      display none
239
+      width 600px
240
+
241
+/****** CLASS ACTIVE *******/
242
+
243
+/*** active dropdown subscribe ***/
244
+
245
+.activebtnsubs
246
+  .dashboard__userstatut__notification
247
+    &__btn
248
+      display none
249
+    &__subscribe
250
+      display flex
251
+
252
+/*** active form on list member ***/
253
+
254
+.activeform
255
+  .dashboard__memberlist__addmember
256
+    display flex
257
+
258
+/*** active webdav ***/
259
+
260
+.activewebdav
261
+  .dashboard__webdav__information
262
+    display block
263
+
264
+/**** MEDIAQUERIES *****/
265
+
266
+/**** MEDIA 576px & 1199px ****/
267
+
268
+// Regroup the common rules
269
+
270
+@media (min-width min-sm) and (max-width: max-lg)
271
+
272
+  .dashboard
273
+    &__workspace
274
+      width auto
275
+    &__userstatut
276
+      width auto
277
+    &__calltoaction
278
+      justify-content center
279
+    &__activity
280
+      width 100%
281
+    &__memberlist
282
+      width 50%
283
+
284
+/**** MEDIA 992px & 1199px ****/
285
+
286
+@media (min-width: min-lg) and (max-width: max-lg)
287
+
288
+  .dashboard
289
+    margin-left 15px
290
+
291
+/**** MEDIA 768px & 991px ****/
292
+
293
+@media (min-width: min-md) and (max-width: max-md)
294
+
295
+  .dashboard
296
+    &__activity
297
+      margin 25px 15px 25px 0
298
+
299
+/**** MEDIA 576px & 767px ****/
300
+
301
+@media (min-width: min-sm) and (max-width: max-sm)
302
+
303
+  .dashboard
304
+    &__activity
305
+      margin 25px 15px 25px 0
306
+    &__memberlist
307
+      margin 50px 0
308
+      width 90%
309
+    &__webdav__information
310
+      width 500px
311
+
312
+/**** MEDIA 575px ****/
313
+
314
+@media (max-width: max-xs)
315
+
316
+  position()
317
+    margin-left 10px
318
+    width auto
319
+
320
+  .dashboard
321
+    margin-left 0
322
+    &__title
323
+      margin-left 10px
324
+    &__workspace
325
+      position()
326
+    &__userstatut
327
+     position()
328
+    &__calltoaction
329
+      justify-content center
330
+      &__button
331
+        margin-right 0
332
+    &__activity
333
+      margin 25px 0
334
+      width 100%
335
+      &__header
336
+        display block
337
+        height auto
338
+        margin 0 15px 20px 15px
339
+        &__title
340
+          margin-bottom 20px
341
+    &__memberlist
342
+      margin 50px 0
343
+      width 100%
344
+      &__title
345
+        margin-left 10px
346
+      &__wrapper
347
+        height auto
348
+      &__list
349
+        height auto
350
+        overflow-Y visible
351
+      &__btnadd
352
+        border-top 0
353
+    &__webdav
354
+      margin-left 10px
355
+      &__information
356
+        width 350px

+ 275 - 0
src/css/File.styl View File

@@ -0,0 +1,275 @@
1
+.wsFileFile
2
+  width 1200px
3
+  height calc(100% - 85px)
4
+  &__header
5
+    background-color fileColor
6
+    &__editionmode
7
+      display none
8
+    .fa-file-image-o
9
+      color white
10
+  &__option
11
+    &__menu
12
+      display flex
13
+      &__addversion
14
+        padding 8px 15px
15
+        border 1px solid fileColor
16
+        border-radius 5px
17
+        background-color transparent
18
+        color fileColor
19
+        cursor pointer
20
+        & > i
21
+          margin-left 10px
22
+        &:hover
23
+          background-color fileColor
24
+          border none
25
+          color white
26
+  &__contentpage
27
+    display flex
28
+    height 100%
29
+    &__preview
30
+      position relative
31
+      margin 10px
32
+      border-radius 10px
33
+      width 60%
34
+      height calc(100% - 150px) // margin + height of header and option
35
+      background-color off-white
36
+      &__sidebar
37
+        display flex
38
+        position absolute
39
+        top 0
40
+        right 0
41
+        height 100%
42
+        &__button
43
+          display flex
44
+          flex-direction column
45
+          align-items center
46
+          width 50px
47
+          height 100%
48
+          background-color grey
49
+          cursor pointer
50
+          &:hover
51
+            background-color fileColor
52
+          &__icon
53
+            justify-content flex-start
54
+            font-size 30px
55
+            color white
56
+          &__title
57
+            margin-top 45px
58
+            color white
59
+            transform rotate(-90deg)
60
+        &__property
61
+          width 0
62
+          overflow-X hidden
63
+          background-color off-white
64
+          transition width 0.5s
65
+          &__detail
66
+            padding 20px
67
+            width 410px
68
+            &__size
69
+              margin-bottom 20px
70
+            &__description
71
+              &__editiondesc
72
+                display none
73
+                margin 20px 0
74
+                textarea
75
+                  width 100%
76
+                  height 250px
77
+                &__validate
78
+                  margin 30px auto
79
+                  width 150px
80
+            &__btndesc
81
+              display block
82
+              margin 15px 0
83
+              width 200px
84
+      &__dloption
85
+        display flex
86
+        justify-content center
87
+        padding-top 10px
88
+        &__icon
89
+          margin-right 20px
90
+          font-size 20px
91
+          cursor pointer
92
+          &:hover , &:focus
93
+            color fileColor
94
+      &__slider
95
+        display flex
96
+        align-items center
97
+        width calc(100% - 50px) // 50px => width of sidebar
98
+        height calc(100% - 40px) // 40px => height of dloption
99
+        &__fileimg
100
+          display flex
101
+          flex-direction column
102
+          justify-content center
103
+          padding 30px
104
+          width 100%
105
+          height 100%
106
+          & > img
107
+            max-height 100%
108
+            max-width 100%
109
+        &__icon
110
+          margin 0 5px
111
+          font-size 20px
112
+          cursor pointer
113
+    &__wrapper
114
+      width 40%
115
+      height calc(100% - 150px) // margin + height of header and option
116
+      overflow-Y auto
117
+      .timeline
118
+        &__messagelist
119
+          min-height 300px
120
+          &__version
121
+            &__btn
122
+              background-color fileColor
123
+              &:hover , &:focus
124
+                background-color lightFileColor
125
+        &__texteditor
126
+          &__simpletext
127
+            &__input
128
+              &:focus
129
+                color fileColor
130
+                border-color fileColor
131
+          &__submit
132
+            &__btn
133
+              border-color fileColor
134
+              background-color fileColor
135
+              color white
136
+              &:hover , &:focus
137
+                border-color fileColor
138
+                background-color fileColor
139
+
140
+/***** SENDER RECEIVER *****/
141
+
142
+.received
143
+  .wsFileFile__contentpage__messagelist__item__content
144
+      background-color fileColor
145
+
146
+/***** ACTIVE SIDEBAR *****/
147
+
148
+.activesidebar
149
+  .wsFileFile__contentpage__preview
150
+    &__sidebar
151
+      border-radius 0 10px 10px 0
152
+      &__button
153
+        background-color fileColor
154
+      &__property
155
+        width 450px
156
+        overflow-Y auto
157
+        color fileColor
158
+
159
+.activeEditionTitle
160
+  .wsFileFile__header
161
+    &__editionmode
162
+      display block
163
+    &__title
164
+      display none
165
+
166
+.activeEditionDesc
167
+  .wsFileFile__contentpage__preview__sidebar__property__detail
168
+    &__description
169
+      &__editiondesc
170
+        display block
171
+    &__btndesc
172
+      display none
173
+
174
+/****** MEDIA QUERIES ********/
175
+
176
+// Regroup the common css rules mediaqueries into a single media to lighten the code
177
+
178
+@media (min-width: max-xs) and (max-width: max-lg)
179
+
180
+  .wsFileFile
181
+    overflow-Y auto
182
+    &__contentpage
183
+      display block
184
+      &__preview
185
+        display flex
186
+        flex-direction column
187
+        width calc(100% - 30px) // 30px => margin
188
+      &__wrapper
189
+        width calc(100% - 30px) // 30px => margin
190
+        .timeline
191
+          &__texteditor
192
+            &__simpletext
193
+              display inline-flex
194
+              width 60%
195
+            &__submit
196
+              display inline-flex
197
+              margin 10px 0
198
+              &__btn
199
+                display flex
200
+                margin-left 35px
201
+                &__icon
202
+                  margin-left 15px
203
+
204
+/**** MEDIA 992px & 1199px ****/
205
+
206
+@media (min-width: min-lg) and (max-width: max-lg)
207
+
208
+  .wsFileFile
209
+    width 900px
210
+    overflow-Y auto
211
+
212
+/******************************/
213
+
214
+/**** MEDIA 768px & 991px ****/
215
+
216
+@media (min-width: min-md) and (max-width: max-md)
217
+
218
+  .wsFileFile
219
+    width 100%
220
+
221
+/******************************/
222
+
223
+/**** MEDIA 576px & 767px ****/
224
+
225
+@media (min-width: min-sm) and (max-width: max-sm)
226
+
227
+  .wsFileFile
228
+    top 69px
229
+    width 100%
230
+    height calc(100% - 69px) // 69px => top rules
231
+    overflow-Y scroll
232
+
233
+/******************************/
234
+
235
+/**** MEDIA 575px ****/
236
+
237
+@media (max-width: max-xs)
238
+
239
+  .activesidebar
240
+    .wsFileFile__contentpage__preview
241
+      &__sidebar
242
+        &__property
243
+          width 300px
244
+
245
+  .wsFileFile
246
+    top 69px
247
+    width 100%
248
+    height calc(100% - 69px) // 69px => top rules
249
+    overflow-Y scroll
250
+    &__option__menu__addversion
251
+        padding 8px 5px
252
+        & > i
253
+          display none
254
+    &__contentpage
255
+      display block
256
+      &__preview
257
+        display flex
258
+        flex-direction column
259
+        width calc(100% - 30px) // 30px => margin
260
+      &__wrapper
261
+        width calc(100% - 30px) // 30px => margin
262
+        .timeline
263
+          &__texteditor
264
+            &__simpletext
265
+              display inline-flex
266
+              width 60%
267
+              margin-right 0
268
+            &__submit
269
+              display inline-flex
270
+              margin 10px 0
271
+              &__btn
272
+                display flex
273
+                margin-left 10px
274
+                &__icon
275
+                  margin-left 15px

+ 119 - 11
src/css/Generic.styl View File

@@ -1,8 +1,14 @@
1
+/*** SIDEBAR ***/
2
+
1 3
 .sidebarpagecontainer
2 4
   display flex
3 5
   min-height calc(100% - 50px)
4 6
   padding-top 85px
5 7
 
8
+/********************/
9
+
10
+/*** ELEMENTS ON ALL PAGE ***/
11
+
6 12
 .pageWrapperGeneric
7 13
   width 100%
8 14
   &__header
@@ -38,6 +44,8 @@
38 44
     &__content
39 45
       margin 0
40 46
 
47
+.nopadding
48
+  padding 0
41 49
 
42 50
 .pageTitleGeneric
43 51
   display flex
@@ -54,7 +62,6 @@
54 62
 .pageContentGeneric
55 63
   margin 10px 10px 120px 10px
56 64
 
57
-
58 65
 .dropdownCreateBtn
59 66
   &__label
60 67
     padding 10px 65px
@@ -73,9 +80,8 @@
73 80
     .setting__link
74 81
       padding 5px 65px 5px 10px
75 82
 
76
-
77
-.fa-file-text-o
78
-  color fileColor
83
+.fa-file-image-o
84
+  color previewColor
79 85
 
80 86
 .fa-comments-o
81 87
   color threadColor
@@ -92,6 +98,73 @@
92 98
 .fa-ticket
93 99
   color issueColor
94 100
 
101
+.fa-graduation-cap
102
+  color gestionnaire
103
+
104
+.fa-pencil
105
+  color contributeur
106
+
107
+.fa-gavel
108
+  color responsable
109
+
110
+.fa-eye
111
+  color lecteur
112
+
113
+.subTitle
114
+  font-size 20px
115
+  font-weight 500
116
+  color blue
117
+
118
+.GenericDelimiter
119
+  border-radius 10px
120
+  width 50%
121
+  height 5px
122
+  background-color blue
123
+
124
+.btnaction
125
+  display flex
126
+  flex-direction column
127
+  justify-content center
128
+  margin 20px 30px 20px 0
129
+  border-radius 10px
130
+  padding 15px
131
+  width 250px
132
+  height 200px
133
+  box-shadow shadow-all
134
+  text-align center
135
+  cursor pointer
136
+
137
+.genericWebdav
138
+  &__btn
139
+    display flex
140
+    margin-bottom 30px
141
+    border 1px solid blue
142
+    border-radius 10px
143
+    padding 15px 25px
144
+    color blue
145
+    cursor pointer
146
+    &:hover, &:focus
147
+      background-color blue
148
+      color white
149
+    &__icon
150
+      margin-right 20px
151
+      font-size 30px
152
+  &__info
153
+    border 1px solid grey
154
+    border-radius 10px
155
+    padding 15px 25px
156
+    &__text
157
+      margin-bottom 35px
158
+    &__link
159
+      display inline-block
160
+      margin-bottom 15px
161
+      border 1px solid grey
162
+      border-radius 10px
163
+      padding 15px 25px
164
+
165
+/********************/
166
+
167
+/*** PAGE FILE, THREAD, HTML, MARKDOWN, ISSUE ***/
95 168
 
96 169
 .wsFileGeneric
97 170
   position fixed
@@ -102,6 +175,7 @@
102 175
   background-color lightGrey
103 176
   box-shadow shadow-page
104 177
   visibility hidden
178
+  z-index 1
105 179
   &.visible
106 180
     visibility visible
107 181
   &__header
@@ -124,6 +198,10 @@
124 198
       color white
125 199
       font-size 20px
126 200
       cursor pointer
201
+      &:hover , &:focus
202
+        border 1px solid off-white
203
+        padding 0 10px
204
+        border-radius 5px
127 205
     &__close
128 206
       border 1px solid white
129 207
       border-radius 5px
@@ -134,9 +212,8 @@
134 212
         font-size 20px
135 213
   &__option
136 214
     border-bottom 1px solid grey
137
-    padding 15px
215
+    padding 10px
138 216
     height 58px
139
-    text-align right
140 217
     background-color off-white
141 218
     & > i
142 219
       vertical-align middle
@@ -144,14 +221,45 @@
144 221
       font-size 25px
145 222
       cursor pointer
146 223
     &__menu
147
-      display inline-block
148
-      vertical-align middle
224
+      display flex
225
+      align-items center
226
+      &__status
227
+        margin-right 20px
228
+        .current
229
+          color blue
230
+        .check
231
+          color green
232
+        .invalid
233
+          color red
234
+        .ban
235
+          color grey
236
+        &__dropdownbtn
237
+          border 1px solid grey
238
+          width 150px
239
+          background-color transparent
240
+          cursor pointer
241
+          &::after
242
+            color fontColor
243
+          &:hover
244
+            background-color transparent
245
+          &__icon
246
+            display inline-block
247
+            margin 0 15px
248
+        &__submenu
249
+          &__item
250
+            display flex
251
+            justify-content space-between
252
+            margin 5px 0
253
+            cursor pointer
254
+            &:active
255
+              background-color transparent
149 256
       &__action
150
-        display inline-block
151
-        margin-right 10px
257
+        margin 5px 10px 0 0
152 258
         font-size 18px
153 259
         cursor pointer
260
+        &:hover , &:focus
261
+          font-size 22px
262
+          color blue
154 263
   &__wrapper
155 264
     display flex
156 265
     flex-direction column
157
-

+ 1 - 1
src/css/Header.styl View File

@@ -3,7 +3,7 @@
3 3
   width 100%
4 4
   box-shadow shadow-bottom
5 5
   background mainColor
6
-  z-index 3
6
+  z-index 4
7 7
   &__logo
8 8
     &__img
9 9
       margin-left 40px

+ 277 - 0
src/css/PagePreview.styl View File

@@ -0,0 +1,277 @@
1
+.wsFilePreview
2
+  width 1200px
3
+  height calc(100% - 85px)
4
+  &__header
5
+    background-color previewColor
6
+    .fa-file-image-o
7
+      color white
8
+  &__option
9
+    &__menu
10
+      display flex
11
+      &__addversion
12
+        padding 8px 15px
13
+        border 1px solid previewColor
14
+        border-radius 5px
15
+        background-color transparent
16
+        color previewColor
17
+        cursor pointer
18
+        & > i
19
+          margin-left 10px
20
+        &:hover
21
+          background-color previewColor
22
+          border none
23
+          color white
24
+  &__contentpage
25
+    display flex
26
+    height 100%
27
+    &__visualizer
28
+      position relative
29
+      margin 10px
30
+      border-radius 10px
31
+      width 70%
32
+      height calc(100% - 150px)
33
+      background-color off-white
34
+      &__sidebar
35
+        position absolute
36
+        top 0
37
+        right 0
38
+        width 50px
39
+        height 100%
40
+        transition width 1s ease
41
+        &__visiblepart
42
+          display flex
43
+          flex-direction column
44
+          align-items center
45
+          border-top-right-radius 10px
46
+          border-bottom-right-radius 10px
47
+          width 50px
48
+          height 100%
49
+          background-color grey
50
+          cursor pointer
51
+          &:hover
52
+            background-color previewColor
53
+          &__icon
54
+            justify-content flex-start
55
+            font-size 30px
56
+            color white
57
+          &__title
58
+            margin-top 45px
59
+            color white
60
+            transform rotate(-90deg)
61
+        &__propertydetail
62
+          display none
63
+      &__dloption
64
+        display flex
65
+        margin-left calc(50% - 50px) // 50px => width/2 of the div
66
+        padding-top 10px
67
+        width 100px
68
+        &__icon
69
+          margin-right 20px
70
+          font-size 20px
71
+          cursor pointer
72
+      &__slidecontainer
73
+        display flex
74
+        align-items center
75
+        width calc(100% - 50px) // 50px => width of sidebar
76
+        height calc(100% - 40px) // 40px => height of dloption
77
+        &__fileimg
78
+          display flex
79
+          padding 30px
80
+          width 100%
81
+          height 100%
82
+          & > img
83
+            max-height 100%
84
+            max-width 100%
85
+        &__chevron
86
+          margin 0 5px
87
+          font-size 20px
88
+          cursor pointer
89
+    .timeline
90
+      margin 10px
91
+      border-radius 10px
92
+      width 45%
93
+      height calc(100% - 150px)
94
+      background-color off-white
95
+      overflow scroll
96
+      &__header
97
+        border-top-left-radius 10px
98
+        border-top-right-radius 10px
99
+        padding 10px 0
100
+        text-align center
101
+        font-size 20px
102
+        color dark-grey
103
+        background-color grey-hover
104
+      &__messagelist
105
+        min-height 300px
106
+        &__item
107
+          &__content
108
+            color dark-grey
109
+        &__version
110
+          margin-top 40px
111
+          background-color grey-hover
112
+          &__btn
113
+            padding 5px 25px
114
+            border-radius 5px
115
+            width 145px
116
+            color white
117
+            font-size 17px
118
+            background-color previewColor
119
+            & > i
120
+              margin-right 10px
121
+              color dark-grey
122
+              font-size 22px
123
+            &:hover
124
+              background-color lightPreviewColor
125
+            &:focus
126
+              background-color lightPreviewColor
127
+          &__date
128
+            color fontColor
129
+            font-size 17px
130
+      &__texteditor
131
+        &__simpletext
132
+          &__input
133
+            &:focus
134
+              color htmlColor
135
+              border-color htmlColor
136
+        &__submit
137
+          &__btn
138
+            border-color htmlColor
139
+            background-color htmlColor
140
+            color white
141
+            &:hover
142
+              border-color htmlColor
143
+              background-color htmlColor
144
+            &:focus
145
+              border-color htmlColor
146
+              background-color htmlColor
147
+
148
+/***** SENDER RECEIVER *****/
149
+
150
+.received
151
+  .wsFilePreview__contentpage__messagelist__item__content
152
+      background-color previewColor
153
+
154
+/***** ACTIVE SIDEBAR *****/
155
+
156
+.activesidebar
157
+  .wsFilePreview__contentpage__visualizer
158
+    &__sidebar
159
+      display flex
160
+      border-top-right-radius 10px
161
+      border-bottom-right-radius 10px
162
+      width 500px
163
+      background-color off-white
164
+      &__visiblepart
165
+        order 1
166
+        border-top-left-radius 10px
167
+        border-bottom-left-radius 10px
168
+        border-top-right-radius 0
169
+        border-bottom-right-radius 0
170
+        background-color previewColor
171
+      &__propertydetail
172
+        display flex
173
+        order 2
174
+        padding 20px
175
+        overflow-Y auto
176
+        color previewColor
177
+
178
+/****** MEDIA QUERIES ********/
179
+
180
+@media (min-width: max-xs) and (max-width: max-lg)
181
+
182
+  .wsFilePreview
183
+    overflow-Y auto
184
+    &__contentpage
185
+      display block
186
+      &__visualizer
187
+        display flex
188
+        flex-direction column
189
+        width calc(100% - 30px) // 20px => margin
190
+      .timeline
191
+        width calc(100% - 30px) // 20px => margin
192
+        &__texteditor
193
+          &__simpletext
194
+            display inline-flex
195
+            display ms-inline-flex
196
+            width 60%
197
+          &__submit
198
+            display inline-flex
199
+            display ms-inline-flex
200
+            margin 10px 0
201
+            &__btn
202
+              display flex
203
+              margin-left 35px
204
+              &__icon
205
+                margin-left 15px
206
+
207
+/**** MEDIA 992px & 1199px ****/
208
+
209
+@media (min-width: min-lg) and (max-width: max-lg)
210
+
211
+  .wsFilePreview
212
+    width 900px
213
+    overflow-Y auto
214
+
215
+/******************************/
216
+
217
+/**** MEDIA 768px & 991px ****/
218
+
219
+@media (min-width: min-md) and (max-width: max-md)
220
+
221
+  .wsFilePreview
222
+    width 100%
223
+
224
+/******************************/
225
+
226
+/**** MEDIA 576px & 767px ****/
227
+
228
+@media (min-width: min-sm) and (max-width: max-sm)
229
+
230
+  .wsFilePreview
231
+    top 69px
232
+    width 100%
233
+    height calc(100% - 69px)
234
+    overflow-Y scroll
235
+
236
+/******************************/
237
+
238
+/**** MEDIA 575px ****/
239
+
240
+@media (max-width: max-xs)
241
+
242
+  .activesidebar
243
+    .wsFilePreview__contentpage__visualizer
244
+      &__sidebar
245
+        width 350px
246
+
247
+  .wsFilePreview
248
+    top 69px
249
+    width 100%
250
+    height calc(100% - 69px)
251
+    overflow-Y scroll
252
+    &__option__menu__addversion
253
+        padding 8px 5px
254
+        & > i
255
+          display none
256
+    &__contentpage
257
+      display block
258
+      &__visualizer
259
+        display flex
260
+        flex-direction column
261
+        width calc(100% - 30px) // 20px => margin
262
+      .timeline
263
+        width calc(100% - 30px) // 20px => margin
264
+        &__texteditor
265
+          &__simpletext
266
+            display inline-flex
267
+            display ms-inline-flex
268
+            width 60%
269
+          &__submit
270
+            display inline-flex
271
+            display ms-inline-flex
272
+            margin 10px 0
273
+            &__btn
274
+              display flex
275
+              margin-left 35px
276
+              &__icon
277
+                margin-left 15px

+ 126 - 0
src/css/ProgressBar.styl View File

@@ -0,0 +1,126 @@
1
+.progress
2
+    width 150px
3
+    height 150px
4
+    line-height 150px
5
+    background none
6
+    margin 0 auto
7
+    position relative
8
+
9
+.progressafter
10
+    content ""
11
+    width 100%
12
+    height 100%
13
+    border-radius 50%
14
+    border 12px solid off-white
15
+    position absolute
16
+    top 0
17
+    left 0
18
+
19
+.progress > span
20
+    width 50%
21
+    height 100%
22
+    overflow hidden
23
+    position absolute
24
+    top 0
25
+    z-index 1
26
+
27
+.progress .progress-left
28
+    left 0
29
+
30
+.progress .progress-bar
31
+    width 100%
32
+    height 100%
33
+    background none
34
+    border-width 12px
35
+    border-style solid
36
+    position absolute
37
+    top 0
38
+
39
+.progress .progress-left .progress-bar
40
+    left 100%
41
+    border-top-right-radius 80px
42
+    border-bottom-right-radius 80px
43
+    border-left 0
44
+    -webkit-transform-origin center left
45
+    transform-origin center left
46
+
47
+.progress .progress-right
48
+    right 0
49
+
50
+.progress .progress-right .progress-bar
51
+    left -100%
52
+    border-top-left-radius 80px
53
+    border-bottom-left-radius 80px
54
+    border-right 0
55
+    -webkit-transform-origin center right
56
+    transform-origin center right
57
+    animation loading-1 1.8s linear forwards
58
+
59
+.progress .progress-value
60
+    display flex
61
+    justify-content center
62
+    align-items center
63
+    width 90%
64
+    height 90%
65
+    border 10px solid off-white
66
+    border-radius 50%
67
+    background darkBlue
68
+    font-size 24px
69
+    color off-white
70
+    line-height 135px
71
+    text-align center
72
+    position absolute
73
+    top 5%
74
+    left 5%
75
+
76
+
77
+.progress.blue .progress-bar
78
+    border-color blue
79
+
80
+.progress.blue .progress-left .progress-bar
81
+    animation loading-2 1.5s linear forwards 1.8s
82
+
83
+@keyframes loading-1
84
+    0%
85
+        -webkit-transform rotate(0deg)
86
+        transform rotate(0deg)
87
+
88
+    100%
89
+        -webkit-transform rotate(180deg)
90
+        transform rotate(180deg)
91
+
92
+@keyframes loading-2
93
+    0%
94
+        -webkit-transform rotate(0deg)
95
+        transform rotate(0deg)
96
+
97
+    100%
98
+        -webkit-transform rotate(144deg)
99
+        transform rotate(144deg)
100
+
101
+@keyframes loading-3
102
+    0%
103
+        -webkit-transform rotate(0deg)
104
+        transform rotate(0deg)
105
+
106
+    100%
107
+        -webkit-transform rotate(90deg)
108
+        transform rotate(90deg)
109
+
110
+@keyframes loading-4
111
+    0%
112
+        -webkit-transform rotate(0deg)
113
+        transform rotate(0deg)
114
+
115
+    100%
116
+        -webkit-transform rotate(36deg)
117
+        transform rotate(36deg)
118
+
119
+@keyframes loading-5
120
+    0%
121
+        -webkit-transform rotate(0deg)
122
+        transform rotate(0deg)
123
+
124
+    100%
125
+        -webkit-transform rotate(126deg)
126
+        transform rotate(126deg)

+ 37 - 57
src/css/Sidebar.styl View File

@@ -25,6 +25,12 @@ sidebar-width = 300px
25 25
   .sidebar-expandbar
26 26
     left sidebar-width
27 27
 
28
+leftside()
29
+  flex-grow 0
30
+  height 100%
31
+  font-size 18px
32
+  background-color rgba(253,253,253,0.3)
33
+
28 34
 .sidebar
29 35
   &__btnnewworkspace
30 36
     margin-top 40px
@@ -37,82 +43,56 @@ sidebar-width = 300px
37 43
   &__navigation
38 44
     padding 0
39 45
     &__workspace
40
-      flex-direction column
41 46
       &__item
42
-        position relative
43
-        margin-top 2px
44 47
         width sidebar-width
45
-        background-color thirdColor
46
-        cursor pointer
48
+        &__wrapper
49
+          display flex
50
+          align-items center
51
+          border-bottom 1px solid darkBlue
52
+          width 100%
53
+          height 100%
54
+          background-color blue
55
+          cursor pointer
47 56
         &__number
48
-          display inline-block
49
-          padding 10px 0
50
-          width 50px
51
-          font-size 20px
57
+          leftside()
58
+          padding 12px
59
+          min-width 50px
52 60
           letter-spacing 2px
53
-          text-align center
54
-          background-color rgba(253,253,253,0.3)
55 61
         &__name
56
-          display inline-block
57
-          vertical-align top
58
-          padding 10px 5px
59
-          width 220px
62
+          flex-grow 2
63
+          padding 10px
60 64
           font-size 20px
61
-          color white
65
+          color off-white
62 66
           white-space nowrap
63 67
           overflow hidden
64 68
           text-overflow ellipsis
65 69
         &__icon
66
-          display inline-block
70
+          flex-grow 0
71
+          padding 10px
67 72
           color white
68 73
         &__submenu
69
-          margin-bottom 0
70
-          padding-left 0
71
-          height 0 // height is handled is js
72
-          list-style none
74
+          margin 0
75
+          padding 0
76
+          width 100%
73 77
           background-color fourthColor
78
+          height 0 // height is handled is js
74 79
           overflow hidden
75 80
           transition height 0.5s
76 81
           &__dropdown
82
+            display flex
83
+            align-items center
77 84
             border-top 1px solid darkBlue
85
+            &:nth-last-child(1)
86
+              border-bottom 1px solid darkBlue
78 87
             &:hover
79 88
               background-color lightBlue
80 89
             &__showdropdown
81
-              display inline-block
82
-              padding 10px 15px
90
+              display flex
91
+              justify-content space-between
92
+              align-items center
93
+              padding 0 10px
94
+              width 100%
83 95
             .dropdown__icon
84
-              display inline-block
85 96
               padding 10px 15px
86
-              width 50px
87
-              text-align center
88
-              background-color rgba(253,253,253,0.3)
89
-              font-size 20px
90
-            .dropdown__title
91
-              position relative
92
-              display inline-block
93
-              font-size 18px
94
-              font-weight 400
95
-              color darkGrey
96
-              cursor pointer
97
-              &::after //bootstrap override
98
-                position absolute
99
-                top 10px
100
-                left 100%
101
-              &__text
102
-                display inline-block
103
-                width 200px
104
-            .dropdown__subdropdown
105
-              margin 0
106
-              border-radius 0
107
-              padding 0
108
-              .alignname
109
-                display inline-block
110
-                font-size 18px
111
-              &__item
112
-                cursor pointer
113
-                border-top 1px solid darkBlue
114
-                padding 13px 0
115
-                &__iconfile
116
-                  padding-left 18px
117
-                &__textfile
118
-                  margin-left 38px
97
+              min-width 50px
98
+              leftside()

+ 70 - 0
src/css/Timeline.styl View File

@@ -1,11 +1,20 @@
1 1
 .timeline
2 2
   display flex
3 3
   flex-direction column
4
+  margin 10px
5
+  &__header
6
+    border-radius 10px 10px 0 0
7
+    padding 15px
8
+    text-align center
9
+    font-size 20px
10
+    color dark-grey
11
+    background-color grey-hover
4 12
   &__messagelist
5 13
     flex 1 1 0
6 14
     margin-bottom 0
7 15
     padding-left 0
8 16
     border-bottom 1px solid grey
17
+    background-color off-white
9 18
     overflow-Y auto
10 19
     list-style none
11 20
     &__item
@@ -30,9 +39,23 @@
30 39
     &__version
31 40
       display flex
32 41
       justify-content space-between
42
+      margin-top 40px
33 43
       padding 10px 15px
34 44
       width 100%
45
+      background-color lightGrey
46
+      &__btn
47
+        padding 5px 25px
48
+        border-radius 5px
49
+        width 145px
50
+        color white
51
+        font-size 17px
52
+        & > i
53
+          margin-right 10px
54
+          color dark-grey
55
+          font-size 22px
35 56
       &__date
57
+        color fontColor
58
+        font-size 17px
36 59
         margin auto 0
37 60
   &__texteditor
38 61
     padding 2px
@@ -52,6 +75,8 @@
52 75
       &__btn
53 76
         display flex
54 77
         cursor pointer
78
+        &:hover , &:focus
79
+          box-shadow shadow-all-btn
55 80
         &__icon
56 81
           margin-left 10px
57 82
 
@@ -69,3 +94,48 @@
69 94
     &__content
70 95
       margin-left 25%
71 96
       color white
97
+
98
+/**** MEDIA 992px & 1199px ****/
99
+
100
+@media (min-width: min-lg) and (max-width: max-lg)
101
+
102
+  .timeline__messagelist__item
103
+    margin-right 55px
104
+
105
+  .received
106
+    .timeline__messagelist__item
107
+      &__avatar
108
+        left 96%
109
+
110
+/**** MEDIA 768px & 991px ****/
111
+
112
+@media (min-width: min-md) and (max-width: max-md)
113
+
114
+  .timeline__messagelist__item
115
+    margin-right 55px
116
+
117
+  .received
118
+    .timeline__messagelist__item
119
+      &__avatar
120
+        left 96%
121
+
122
+/**** MEDIA 576px & 767px ****/
123
+
124
+@media (min-width: min-sm) and (max-width: max-sm)
125
+
126
+  .timeline__messagelist__item
127
+    margin-right 35px
128
+
129
+  .received
130
+    .timeline__messagelist__item
131
+      &__avatar
132
+        left 94%
133
+
134
+/**** MEDIA 575px ****/
135
+
136
+@media (max-width: max-xs)
137
+
138
+  .received
139
+    .timeline__messagelist__item
140
+      &__avatar
141
+        left 90%

+ 29 - 0
src/css/UploadPopup.styl View File

@@ -0,0 +1,29 @@
1
+.uploadpopup
2
+  position fixed
3
+  top 0
4
+  left 0
5
+  display flex
6
+  justify-content center
7
+  width 100%
8
+  height 100%
9
+  z-index 3
10
+  &__wrapper
11
+    margin-top 120px
12
+    width 400px
13
+    height 350px
14
+    background off-white
15
+    box-shadow shadow-all
16
+  &__closepopup
17
+    display flex
18
+    justify-content flex-end
19
+    cursor pointer
20
+  &__progress
21
+    display flex
22
+    flex-direction column
23
+    align-items center
24
+    padding 40px 0
25
+    &__filename
26
+      margin-top 30px
27
+      font-size 25px
28
+
29
+

+ 17 - 2
src/css/Variable.styl View File

@@ -9,6 +9,7 @@ fourthColor = #82b2cc // bg filter sidebar
9 9
 fontColor = #252525
10 10
 
11 11
 darkGrey = #252525
12
+rgbGrey = rgba(25,25,25,0.3)
12 13
 grey = #ababab
13 14
 lightGrey = #f0f0f0
14 15
 grey-hover = #e0e0e0
@@ -22,6 +23,8 @@ darkBlue = #215e8e
22 23
 blue = #2571fe
23 24
 lightBlue = #569EDE
24 25
 
26
+red = #f63434
27
+
25 28
 // c2a btn color in general context ; meaning every context but specific one related to file type (file, pageHtml, issues, threads ...)
26 29
 btnCallAction = #28a745
27 30
 btnCallAction-hover = darken(btnCallAction, 15%)
@@ -34,13 +37,24 @@ darkHtmlColor = darken(htmlColor, 15%)
34 37
 markdownColor = #e0082b
35 38
 
36 39
 fileColor = #263462
40
+lightFileColor = lighten(fileColor, 15%)
37 41
 
38 42
 taskColor = #2d5a88
39 43
 
40 44
 issueColor = #a4835e
41 45
 
42
-// calendarColor =
43
-// dashboard =
46
+/** Role Color  **/
47
+gestionnaire = #f2af2d
48
+lecteur = #15D948
49
+contributeur = #3145F7
50
+responsable = #ED0007
51
+
52
+/** Btn call to action dashboard **/
53
+writefile = #a738ed
54
+importfile = #ff8400
55
+calendar = red
56
+explore = #87d04c
57
+
44 58
 
45 59
 /*************************/
46 60
 /**** BOX SHADOW ****/
@@ -49,6 +63,7 @@ shadow-right = 2px 2px 5px 0px #404040
49 63
 shadow-all = 1px 1px 5px 2px #ababab
50 64
 shadow-all-side-blue = 0px 0px 1px 1px lightBlue
51 65
 shadow-all-side-green = 0 0 1px 2px green
66
+shadow-all-btn = 0 0 3px 3px lightBlue
52 67
 
53 68
 /***********************/
54 69
 /**** MEDIA QUERIES ****/

+ 55 - 0
src/css/btnSwtich.styl View File

@@ -0,0 +1,55 @@
1
+.btnswitch
2
+  display flex
3
+  align-items center
4
+  &__text
5
+    margin-left 10px
6
+
7
+.switch
8
+  position relative
9
+  display inline-block
10
+  width 60px
11
+  height 34px
12
+
13
+.switch input
14
+  display none
15
+
16
+.slider
17
+  position absolute
18
+  cursor pointer
19
+  top 0
20
+  left 0
21
+  right 0
22
+  bottom 0
23
+  background-color #ccc
24
+  -webkit-transition .4s
25
+  transition .4s
26
+
27
+.slider:before
28
+  position absolute
29
+  content ""
30
+  height 26px
31
+  width 26px
32
+  left 4px
33
+  bottom 4px
34
+  background-color white
35
+  -webkit-transition .4s
36
+  transition .4s
37
+
38
+input:checked + .slider
39
+  background-color blue
40
+
41
+input:focus + .slider
42
+  box-shadow 0 0 1px blue
43
+
44
+input:checked + .slider:before
45
+  -webkit-transform translateX(26px)
46
+  -ms-transform translateX(26px)
47
+  transform translateX(26px)
48
+
49
+/* Rounded sliders */
50
+.slider.round
51
+  border-radius 34px
52
+
53
+.slider.round:before
54
+  border-radius: 50%
55
+

+ 9 - 1
src/css/index.styl View File

@@ -17,6 +17,14 @@ html, body, #content, #content > div
17 17
 @import 'FileItemHeader.styl'
18 18
 @import 'Folder.styl'
19 19
 
20
-@import 'Timeline.styl'
21 20
 @import '../plugin/ContentType/Thread/Thread.styl'
22 21
 @import '../plugin/ContentType/PageHtml/PageHtml.styl'
22
+@import 'Timeline.styl'
23
+@import 'File.styl'
24
+
25
+@import 'Dashboard.styl'
26
+@import 'AccountPage.styl'
27
+@import 'btnSwtich.styl'
28
+
29
+// @import 'UploadPopup'
30
+// @import 'ProgressBar'

+ 1 - 1
src/helper.js View File

@@ -22,7 +22,7 @@ export const FILE_TYPE = [{
22 22
   componentLeft: 'File',
23 23
   componentRight: 'undefined',
24 24
   customClass: 'wsFileFile',
25
-  icon: 'fa fa-file-text-o'
25
+  icon: 'fa fa-file-image-o'
26 26
 }, {
27 27
   name: 'Thread',
28 28
   componentLeft: 'Thread',

BIN
src/img/excel.png View File


BIN
src/img/imgProfil-reverse.png View File


BIN
src/img/imgProfil.png View File


BIN
src/img/imgProfil_orange.png View File


BIN
src/img/imgProfil_reverse.png View File


BIN
src/img/listmemberbtn.png View File


BIN
src/img/pdf.jpg View File


+ 0 - 2
src/plugin/ContentType/PageHtml/PageHtml.styl View File

@@ -23,11 +23,9 @@
23 23
       &__text
24 24
         font-size 14px
25 25
     &__wrapper
26
-      margin 10px
27 26
       border-radius 10px
28 27
       width 45%
29 28
       height 100%
30
-      background-color off-white
31 29
     &__header
32 30
       border-top-left-radius 10px
33 31
       border-top-right-radius 10px