瀏覽代碼

removed integration file (it is now in an app)

Skylsmoi 6 年之前
父節點
當前提交
9145e7103c
共有 1 個文件被更改,包括 0 次插入207 次删除
  1. 0 207
      frontend/src/container/AdminWorkspacePage.jsx

+ 0 - 207
frontend/src/container/AdminWorkspacePage.jsx 查看文件

@@ -1,207 +0,0 @@
1
-import React from 'react'
2
-import {
3
-  Delimiter,
4
-  PageWrapper,
5
-  PageTitle,
6
-  PageContent
7
-} from 'tracim_frontend_lib'
8
-import { translate } from 'react-i18next'
9
-
10
-class AdminWorkspacePage extends React.Component {
11
-  render () {
12
-    return (
13
-      <PageWrapper customClass='adminWorkspacePage'>
14
-        <PageTitle
15
-          parentClass={'adminWorkspacePage'}
16
-          title={this.props.t('Workspace management')}
17
-        />
18
-
19
-        <PageContent parentClass='adminWorkspacePage'>
20
-
21
-          <div className='adminWorkspacePage__description'>
22
-            {this.props.t('This page list all workspaces')}
23
-          </div>
24
-
25
-          { /*
26
-            Alexi Cauvin 08/08/2018 => desactivate create workspace button due to redundancy
27
-
28
-            <div className='adminWorkspacePage__createworkspace'>
29
-              <button className='adminWorkspacePage__createworkspace__btncreate btn btn-primary primaryColorBg primaryColorBorder primaryColorBorderDarkenHover'>
30
-                {this.props.t('Create a workspace')}
31
-              </button>
32
-            </div>
33
-          */ }
34
-
35
-          <Delimiter customClass={'adminWorkspacePage__delimiter'} />
36
-
37
-          <div className='adminWorkspacePage__workspaceTable'>
38
-
39
-            <table className='table'>
40
-              <thead>
41
-                <tr>
42
-                  <th scope='col'>
43
-                    {this.props.t('ID')}
44
-                  </th>
45
-                  <th scope='col'>
46
-                    {this.props.t('Workspace')}
47
-                  </th>
48
-                  <th scope='col'>
49
-                    {this.props.t('Description')}
50
-                  </th>
51
-                  <th scope='col'>
52
-                    {this.props.t("Member's number")}
53
-                  </th>
54
-                  { /*
55
-                    <th scope='col'>
56
-                      {this.props.t('Calendar')}
57
-                    </th>
58
-                  */ }
59
-                  <th scope='col'>
60
-                    {this.props.t('Delete workspace')}
61
-                  </th>
62
-                </tr>
63
-              </thead>
64
-              <tbody>
65
-                <tr>
66
-                  <th>1</th>
67
-                  <td>Design v_2</td>
68
-                  <td>Workspace about tracim v2 design</td>
69
-                  { /*
70
-                    <td className='d-flex align-items-center flex-wrap'>
71
-                      <div className='adminWorkspacePage__workspaceTable__calendaricon mr-2'>
72
-                        <i className='fa fa-fw fa-check-square-o' />
73
-                      </div>
74
-                      Enable
75
-                    </td>
76
-                  */ }
77
-                  <td>8</td>
78
-                  <td>
79
-                    <div className='adminWorkspacePage__workspaceTable__deleteworkspace primaryColorFont primaryColorFontDarkenHover'>
80
-                      <div className='adminWorkspacePage__workspaceTable__deleteworkspace__removalicon mr-3'>
81
-                        <i className='fa fa-fw fa-trash-o' />
82
-                      </div>
83
-                      Delete
84
-                    </div>
85
-                  </td>
86
-                </tr>
87
-                <tr>
88
-                  <th>2</th>
89
-                  <td>New features</td>
90
-                  <td>Add a new features : Annotated files</td>
91
-                  { /*
92
-                    <td className='d-flex align-items-center flex-wrap'>
93
-                      <div className='adminWorkspacePage__workspaceTable__calendaricon mr-2'>
94
-                        <i className='fa fa-fw fa-square-o' />
95
-                      </div>
96
-                      Disable
97
-                    </td>
98
-                  */ }
99
-                  <td>5</td>
100
-                  <td>
101
-                    <div className='adminWorkspacePage__workspaceTable__deleteworkspace primaryColorFont primaryColorFontDarkenHover'>
102
-                      <div className='adminWorkspacePage__workspaceTable__deleteworkspace__removalicon mr-3'>
103
-                        <i className='fa fa-fw fa-trash-o' />
104
-                      </div>
105
-                      Delete
106
-                    </div>
107
-                  </td>
108
-                </tr>
109
-                <tr>
110
-                  <th>3</th>
111
-                  <td>Fix Backend</td>
112
-                  <td>workspace referring to multiple issues on the backend </td>
113
-                  { /*
114
-                    <td className='d-flex align-items-center flex-wrap'>
115
-                      <div className='adminWorkspacePage__workspaceTable__calendaricon mr-2'>
116
-                        <i className='fa fa-fw fa-check-square-o' />
117
-                      </div>
118
-                      Enable
119
-                    </td>
120
-                  */ }
121
-                  <td>3</td>
122
-                  <td>
123
-                    <div className='adminWorkspacePage__workspaceTable__deleteworkspace primaryColorFont primaryColorFontDarkenHover'>
124
-                      <div className='adminWorkspacePage__workspaceTable__deleteworkspace__removalicon mr-3'>
125
-                        <i className='fa fa-fw fa-trash-o' />
126
-                      </div>
127
-                      Delete
128
-                    </div>
129
-                  </td>
130
-                </tr>
131
-                <tr>
132
-                  <th>4</th>
133
-                  <td>Design v_2</td>
134
-                  <td>Workspace about tracim v2 design</td>
135
-                  { /*
136
-                    <td className='d-flex align-items-center flex-wrap'>
137
-                      <div className='adminWorkspacePage__workspaceTable__calendaricon mr-2'>
138
-                        <i className='fa fa-fw fa-square-o' />
139
-                      </div>
140
-                      Disable
141
-                    </td>
142
-                  */ }
143
-                  <td>8</td>
144
-                  <td>
145
-                    <div className='adminWorkspacePage__workspaceTable__deleteworkspace primaryColorFont primaryColorFontDarkenHover'>
146
-                      <div className='adminWorkspacePage__workspaceTable__deleteworkspace__removalicon mr-3'>
147
-                        <i className='fa fa-fw fa-trash-o' />
148
-                      </div>
149
-                      Delete
150
-                    </div>
151
-                  </td>
152
-                </tr>
153
-                <tr>
154
-                  <th>5</th>
155
-                  <td>New features</td>
156
-                  <td>Add a new features : Annotated files</td>
157
-                  { /*
158
-                    <td className='d-flex align-items-center flex-wrap'>
159
-                      <div className='adminWorkspacePage__workspaceTable__calendaricon mr-2'>
160
-                        <i className='fa fa-fw fa-square-o' />
161
-                      </div>
162
-                      Disable
163
-                    </td>
164
-                  */ }
165
-                  <td>5</td>
166
-                  <td>
167
-                    <div className='adminWorkspacePage__workspaceTable__deleteworkspace primaryColorFont primaryColorFontDarkenHover'>
168
-                      <div className='adminWorkspacePage__workspaceTable__deleteworkspace__removalicon mr-3'>
169
-                        <i className='fa fa-fw fa-trash-o' />
170
-                      </div>
171
-                      Delete
172
-                    </div>
173
-                  </td>
174
-                </tr>
175
-                <tr>
176
-                  <th>6</th>
177
-                  <td>Fix Backend</td>
178
-                  <td>workspace referring to multiple issues on the backend </td>
179
-                  { /*
180
-                    <td className='d-flex align-items-center flex-wrap'>
181
-                      <div className='adminWorkspacePage__workspaceTable__calendaricon mr-2'>
182
-                        <i className='fa fa-fw fa-check-square-o' />
183
-                      </div>
184
-                      Enable
185
-                    </td>
186
-                  */ }
187
-                  <td>3</td>
188
-                  <td>
189
-                    <div className='adminWorkspacePage__workspaceTable__deleteworkspace primaryColorFont primaryColorFontDarkenHover'>
190
-                      <div className='adminWorkspacePage__workspaceTable__deleteworkspace__removalicon mr-3'>
191
-                        <i className='fa fa-fw fa-trash-o' />
192
-                      </div>
193
-                      Delete
194
-                    </div>
195
-                  </td>
196
-                </tr>
197
-              </tbody>
198
-            </table>
199
-          </div>
200
-
201
-        </PageContent>
202
-      </PageWrapper>
203
-    )
204
-  }
205
-}
206
-
207
-export default translate()(AdminWorkspacePage)