@silexlabs/silex-dashboard 1.0.9 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,11 +10,11 @@
10
10
  {% render "alternate.liquid" languages: languages lang: lang page: page %}
11
11
 
12
12
  <style>
13
- h1, h2, h3, label { color:#2B1B63;}
13
+ body {color:#2B1B63;}
14
14
  .button { cursor: pointer; }
15
15
  a { text-decoration: none; }
16
16
  a:hover { text-decoration: underline; }
17
- .uppercase {text-transform: uppercase;}
17
+ .uppercase {text-transform: uppercase;}
18
18
  .skeleton-anim:after {
19
19
  width: 100%;
20
20
  height: 100%;
@@ -50,91 +50,101 @@ a:hover { text-decoration: underline; }
50
50
  <meta property="og:image" content=""/>
51
51
  </head>
52
52
  <body
53
- id="i2hcfw"
53
+ id="i2hcfw" src="undefined"
54
54
  class="body app"
55
55
 
56
56
 
57
57
  ><HEADER
58
- id="ij139z"
58
+ id="ij139z" src="undefined"
59
59
  class="header padding-normal full-width "
60
60
 
61
61
 
62
62
  ><A
63
- href="/"
63
+ href="/" src="undefined"
64
64
 
65
65
 
66
66
 
67
67
  ><img
68
- src="/assets/silex-icon-2018@200px.png" href=""
68
+ src="/api/website/assets/picto-silex@3x.png?websiteId=default&connectorId=fs-storage" href=""
69
69
  class="nav__logo "
70
70
 
71
71
 
72
72
  ></img></A><NAV
73
- id="in5jeq"
73
+ id="in5jeq" src="undefined"
74
74
  class="nav "
75
75
 
76
76
 
77
77
  >{% for item in nav %}<A
78
- href="{{ item.url }}" id="i0g3ac"
78
+ href="{{ item.url }}" id="i0g3ac" src="undefined"
79
79
  class="nav__item {% if forloop.index == 1 %}active{% endif %}"
80
80
  target="{{ item.target }}"
81
81
 
82
82
  >{{ item.label }}</A>{% endfor %}</NAV><div
83
-
83
+ src="undefined"
84
84
  class="lang h-space "
85
85
 
86
86
 
87
87
  >{% assign links = languages %}
88
88
  {%- for link in links %}<A
89
- href="/{{ link.code }}"
89
+ href="/{{ link.code }}" src="undefined"
90
90
  class="lang__item nav__item {% if link.code == lang %}active{% endif %}"
91
91
  hreflang="{{link.code}}"
92
92
 
93
93
  >{{ link.code }}</A>{% endfor %}</div></HEADER><A
94
- id="ixzhcr" href="/"
94
+ id="ixzhcr" href="/" src="undefined"
95
95
  class="button button-bar__item--secondary "
96
96
 
97
97
 
98
98
  >{{ api-translations[lang]["Back to home"] }}</A><div
99
- id="imgx81"
99
+ id="imawg3" src="undefined"
100
+ class="bg-silex-purpel "
101
+
102
+
103
+ ><div
104
+ id="imgx81" src="undefined"
100
105
 
101
106
 
102
107
 
108
+ ><div
109
+ id="iikf0s" src="undefined"
110
+ class="box text-centered padding-100-30 box_login "
111
+
112
+
103
113
  ><H1
104
- id="ighycb"
105
- class="title "
114
+ id="ighycb" src="undefined"
115
+ class="title-40 "
106
116
 
107
117
 
108
118
  >{{ api-translations[lang]["Welcome to Silex"] }}</H1><div
109
- id="it2175"
110
- class="subtitle "
119
+ id="it2175" src="undefined"
120
+ class="subtitle-16 "
111
121
 
112
122
 
113
123
  >{{ api-translations[lang]["Please login to continue"] }}</div><div
114
- id="in62y2"
124
+ id="in62y2" src="undefined"
115
125
  class="button-bar "
116
126
 
117
127
 
118
128
  ><A
119
- id="isqe61" href="https://"
129
+ id="isqe61" href="https://" src="undefined"
120
130
  class="h-space button-bar__item--main button-bar_item button big-button "
121
131
  v-if="!loading" v-for="(connector, index) in connectors" :key="index" :style="{ backgroundColor: connector.background, color: connector.color }" @click="openLogin(connector)"
122
132
 
123
133
  ><div
124
- id="i87asw"
134
+ id="i87asw" src="undefined"
125
135
 
126
136
  v-text="connector.displayName"
127
137
 
128
- >Insert your text here</div></A></div><div
129
- id="i9msnk"
130
-
138
+ >Insert your text here</div></A></div></div><div
139
+ id="i9msnk" src="undefined"
140
+ class="text-white top-space-20 "
131
141
  v-if="error" v-html="message"
132
142
 
133
143
  >Insert your text here</div><div
134
- id="i6akll"
144
+ id="i6akll" src="undefined"
135
145
  class="button button--tertiary "
136
146
  v-if="error" @click="logout()"
137
147
 
138
- >{{ api-translations[lang]["Logout"] }}</div></div></body>
148
+ >{{ api-translations[lang]["Logout"] }}</div></div></div></body>
139
149
  </html>
140
150
 
@@ -10,11 +10,11 @@
10
10
  {% render "alternate.liquid" languages: languages lang: lang page: page %}
11
11
 
12
12
  <style>
13
- h1, h2, h3, label { color:#2B1B63;}
13
+ body {color:#2B1B63;}
14
14
  .button { cursor: pointer; }
15
15
  a { text-decoration: none; }
16
16
  a:hover { text-decoration: underline; }
17
- .uppercase {text-transform: uppercase;}
17
+ .uppercase {text-transform: uppercase;}
18
18
  .skeleton-anim:after {
19
19
  width: 100%;
20
20
  height: 100%;
@@ -50,328 +50,368 @@ a:hover { text-decoration: underline; }
50
50
  <meta property="og:image" content=""/>
51
51
  </head>
52
52
  <body
53
- id="ik0i"
53
+ id="ik0i" src="undefined"
54
54
  class="body loading app"
55
55
 
56
56
 
57
57
  ><HEADER
58
- id="igrg"
58
+ id="igrg" src="undefined"
59
59
  class="header padding-normal "
60
60
 
61
61
 
62
62
  ><A
63
- id="igvu43" href="/"
63
+ id="igvu43" href="/" src="undefined"
64
64
 
65
65
 
66
66
 
67
67
  ><img
68
- src="/assets/silex-icon-2018@200px.png" href="" id="iel80b-2"
68
+ src="/api/website/assets/picto-silex@3x.png?websiteId=default&connectorId=fs-storage" href="" id="iel80b-2"
69
69
  class="nav__logo "
70
70
 
71
71
 
72
72
  ></img></A><NAV
73
- id="i9jq"
73
+ id="i9jq" src="undefined"
74
74
  class="nav "
75
75
 
76
76
 
77
77
  >{% for item in nav %}<A
78
- id="iels" href="{{ item.url }}"
78
+ id="iels" href="{{ item.url }}" src="undefined"
79
79
  class="nav__item uppercase {% if forloop.index == 1 %}active{% endif %}"
80
80
  target="{{ item.target }}"
81
81
 
82
82
  >{{ item.label }}</A>{% endfor %}</NAV><div
83
- id="i2red7"
83
+ id="i2red7" src="undefined"
84
84
  class="lang h-space "
85
85
 
86
86
 
87
87
  >{% assign links = languages %}
88
88
  {%- for link in links %}<A
89
- href="/{{ link.code }}" id="iciz"
90
- class="lang__item nav__item {% if link.code == lang %}active{% endif %}"
89
+ href="/{{ link.code }}" id="iciz" src="undefined"
90
+ class="lang__item nav__item uppercase {% if link.code == lang %}active{% endif %}"
91
91
  hreflang="{{link.code}}"
92
92
 
93
93
  >{{ link.code }}</A>{% endfor %}</div><div
94
- id="i24ew"
95
- class="user__wrapper "
94
+ id="i24ew" src="undefined"
95
+ class="user__wrapper pointer "
96
96
  v-if="user && !user.storage.disableLogout" @NOmouseover="showMenu = true" @NOmouseout="showMenu = false" @click="showMenu = !showMenu"
97
97
 
98
98
  ><div
99
- id="i5xsbd"
99
+ id="i5xsbd" src="undefined"
100
100
  class="user-icon__wrapper "
101
101
  v-if="user" v-show="!showMenu || user.storage.disableLogout"
102
102
 
103
103
  ><div
104
- id="i5wlbq"
104
+ id="i5wlbq" src="undefined"
105
105
  class="user-icon__image "
106
106
  v-if="user" v-show="!showMenu || user.storage.disableLogout" :style='`background: url("${user.picture}"); background-repeat: no-repeat; background-size: contain;`'
107
107
 
108
108
  ></div></div><div
109
- id="ic9eoa"
109
+ id="ic9eoa" src="undefined"
110
110
 
111
111
  v-show="showMenu && !user.storage.disableLogout"
112
112
 
113
113
  ><div
114
- id="iksw4d"
115
- class="button button--secondary "
114
+ id="iksw4d" src="undefined"
115
+ class="button button--tertiary "
116
116
  @click="logout()"
117
117
 
118
- >Logout</div></div></div></HEADER><MAIN
119
- id="iz63r"
120
- class="padding-normal section "
118
+ >Logout</div></div></div></HEADER><div
119
+ id="iy8ax3" src="undefined"
120
+ class="bg-silex-purpel "
121
+
122
+
123
+ ><div
124
+ id="iisz8f" src="undefined"
125
+ class="section-top text-centered text-white "
121
126
 
122
127
 
123
128
  ><H1
124
- id="ic31o"
125
- class="title "
129
+ id="ic31o" src="undefined"
130
+ class="title-40 "
126
131
  v-if="!empty"
127
132
 
128
133
  >{{ title2 }}</H1><div
129
- id="iyex8"
130
- class="subtitle "
134
+ id="iyex8" src="undefined"
135
+ class="subtitle-16 "
131
136
  v-if="!empty"
132
137
 
133
- >{{ subtitle }}</div><SECTION
134
- id="iqmx38"
138
+ >{{ subtitle }}</div><H1
139
+ id="i4ybc" src="undefined"
140
+ class="title-40 "
141
+ v-if="empty"
135
142
 
143
+ >{{ title2-empty }}</H1><DIV
144
+ id="iino6r" src="undefined"
145
+ class="subtitle-16 "
136
146
  v-if="empty"
137
147
 
138
- ><H1
139
- id="i4ybc"
140
- class="title "
148
+ >{{ subtitle-empty }}</DIV></div></div><MAIN
149
+ id="iz63r" src="undefined"
150
+ class="padding-normal section "
141
151
 
142
152
 
143
- >{{ title2-empty }}</H1><DIV
144
- id="iino6r"
145
- class="subtitle "
153
+ ><SECTION
154
+ id="iqmx38" src="undefined"
146
155
 
156
+ v-if="empty"
147
157
 
148
- >{{ subtitle-empty }}</DIV></SECTION><div
149
- id="ickx4"
158
+ ></SECTION><div
159
+ id="ickx4" src="undefined"
150
160
  class="button-bar margin-20 "
151
161
 
152
162
 
153
163
  ><BUTTON
154
- id="i2x0l"
164
+ id="i2x0l" src="undefined"
155
165
  class="button button--primary rounded top-space-40 "
156
166
  @click="showCreationForm = !showCreationForm" v-if="!showCreationForm"
157
167
 
158
168
  ><span
159
- id="ibsgw"
169
+ id="ibsgw" src="undefined"
160
170
  class="icon-font "
161
171
 
162
172
 
163
173
  >+</span> <span
164
- id="itl2n8"
174
+ id="itl2n8" src="undefined"
165
175
 
166
176
 
167
177
 
168
178
  >{{ add-button }}</span></BUTTON><div
169
- id="i0ro3"
179
+ id="i0ro3" src="undefined"
170
180
  class="button button--secondary rounded "
171
181
 
172
182
 
173
183
  >Import</div></div><div
174
- id="ihwwxz"
175
- class="box top-space-40 "
184
+ id="ihwwxz" src="undefined"
185
+ class="box top-space-40 padding-30 box_transp "
176
186
  v-if="showCreationForm"
177
187
 
178
188
  ><H3
179
- id="i3gd1b"
180
- class="box__header "
189
+ id="i3gd1b" src="undefined"
190
+ class="box__header text-centered "
181
191
 
182
192
 
183
193
  >{{ add-title }}</H3><form
184
- method="get" id="i50acf"
194
+ method="get" id="i50acf" src="undefined"
185
195
  class="form "
186
196
  @submit.prevent="createWebsite"
187
197
 
188
198
  ><div
189
- id="igtg1t"
199
+ id="igtg1t" src="undefined"
190
200
  class="v-space "
191
201
 
192
202
 
193
203
  ><label
194
- id="i1nmbc"
204
+ id="i1nmbc" src="undefined"
195
205
  class="v-space "
196
206
 
197
207
 
198
208
  >{{ add-name-label }}</label><input
199
- type="text" id="ij5iwh" placeholder="{{ add-name-placeholder }}"
209
+ type="text" id="ij5iwh" placeholder="{{ add-name-placeholder }}" src="undefined"
200
210
  class="input full-width "
201
211
  v-model="newWebsiteName"
202
212
 
203
213
  ></input></div><div
204
- id="ie0xes"
214
+ id="ie0xes" src="undefined"
205
215
 
206
216
 
207
217
 
208
218
  ><button
209
- type="submit" id="i021na"
210
- class="button rounded button--primary right-space "
219
+ type="submit" id="i021na" src="undefined"
220
+ class="button rounded button--primary right-space-20 "
211
221
 
212
222
 
213
223
  >{{ add-ok }}</button><button
214
- type="reset"
224
+ type="reset" src="undefined"
215
225
  class="button rounded button--secondary "
216
226
  @click="showCreationForm = !showCreationForm"
217
227
 
218
228
  >{{ add-cancel }}</button></div></form></div><div
219
- id="if80m"
229
+ id="if80m" src="undefined"
220
230
  class="margin-20 "
221
231
  v-if="!empty"
222
232
 
223
233
  ><SECTION
224
- id="idgvg"
234
+ id="idgvg" src="undefined"
225
235
  class="button-bar button-bar--full-width bg-white rounded loaded__item "
226
236
  v-if="!loading" v-for="(website, index) in websites" :key="index"
227
237
 
228
238
  ><H3
229
- id="i69a7"
230
- class="button-bar_item button-bar__item--main "
239
+ id="i69a7" src="undefined"
240
+ class="button-bar_item button-bar__item--main right-space-40 "
231
241
  v-text="website.name || website.id"
232
242
 
233
243
  >My first website</H3><P
234
- id="i65hn"
235
- class="button-bar_item button-bar__item--secondary flex-no-shrink "
244
+ id="i65hn" src="undefined"
245
+ class="button-bar_item button-bar__item--secondary flex-no-shrink right-space-40 "
236
246
  v-text="'{{ list-item-updated }} ' + new Date(website.updatedAt).toLocaleDateString(undefined, { day: 'numeric', month: 'long', year: 'numeric' })"
237
247
 
238
248
  >Updated 1h ago by lexoyo</P><P
239
- id="i64qa"
240
- class="button-bar_item button-bar__item--secondary flex-no-shrink "
249
+ id="i64qa" src="undefined"
250
+ class="button-bar_item button-bar__item--secondary flex-no-shrink right-space-40 "
241
251
  v-text="'{{ list-item-created }} ' + new Date(website.createdAt).toLocaleDateString(undefined, { day: 'numeric', month: 'long', year: 'numeric' })"
242
252
 
243
253
  >Created 2023-02-16 by lexoyo</P><div
244
- id="i3b4tr"
254
+ id="i3b4tr" src="undefined"
245
255
  class="button-bar_item flex-no-shrink "
246
256
 
247
257
 
248
258
  ><BUTTON
249
- id="ifyf6p" href=""
250
- class="button rounded button--primary button--small right-space "
259
+ id="ifyf6p" href="" src="undefined"
260
+ class="right-space-20 bold button-bar__item--link pointer "
251
261
  @click="openEditor(website.websiteId, '{{lang}}')"
252
262
 
253
263
  >{{ list-edit }}</BUTTON><BUTTON
254
- href="" id="ihf6ew"
255
- class="button rounded button--small right-space button--tertiary "
264
+ href="" id="ihf6ew" src="undefined"
265
+ class="right-space-20 button-bar__item--link pointer "
256
266
  @click="renameWebsite(website.websiteId, '{{lang}}')"
257
267
 
258
268
  >{{ list-rename }}</BUTTON><BUTTON
259
- id="iol4h"
260
- class="button rounded button--small button--tertiary "
269
+ id="iol4h" src="undefined"
270
+ class="button-bar__item--link pointer "
261
271
  @click="deleteWebsite(website.websiteId)" title="{{ list-delete }}"
262
272
 
263
273
  >X</BUTTON></div></SECTION><SECTION
264
- id="i1fjn"
274
+ id="i1fjn" src="undefined"
265
275
  class="button-bar button-bar--full-width bg-white rounded loading__item skeleton-anim skeleton-wrapper "
266
276
  v-if="loading"
267
277
 
268
278
  ><H3
269
-
270
- class="button-bar_item button-bar__item--main skeleton-text skeleton "
279
+ id="iwu6a" src="undefined"
280
+ class="button-bar_item button-bar__item--main skeleton-text skeleton right-space-40 "
271
281
 
272
282
 
273
283
  >My first websiteMy first websiteMy first websiteMy first</H3><P
274
-
275
- class="button-bar_item button-bar__item--secondary skeleton-text skeleton "
284
+ id="i26fn" src="undefined"
285
+ class="button-bar_item button-bar__item--secondary skeleton-text skeleton right-space-40 "
276
286
 
277
287
 
278
288
  >Updated 1h ago by lexoyo</P><P
279
-
280
- class="button-bar_item button-bar__item--secondary skeleton-text skeleton "
289
+ id="iywbk" src="undefined"
290
+ class="button-bar_item button-bar__item--secondary skeleton-text skeleton right-space-40 "
281
291
 
282
292
 
283
293
  >Created 2023-02-16 by lexoyo</P><div
284
- id="ixz6c"
294
+ id="ixz6c" src="undefined"
285
295
  class="button-bar_item skeleton skeleton-button "
286
296
 
287
297
 
288
298
  >Edit</div></SECTION><SECTION
289
- id="iwxxo5"
299
+ id="iwxxo5" src="undefined"
290
300
  class="button-bar button-bar--full-width bg-white rounded loading__item skeleton-anim skeleton-wrapper "
291
301
  v-if="loading"
292
302
 
293
303
  ><H3
294
-
304
+ src="undefined"
295
305
  class="button-bar_item button-bar__item--main skeleton-text skeleton "
296
306
 
297
307
 
298
308
  >My first websiteMy first websiteMy first websiteMy first</H3><P
299
-
309
+ src="undefined"
300
310
  class="button-bar_item button-bar__item--secondary skeleton-text skeleton "
301
311
 
302
312
 
303
313
  >Updated 1h ago by lexoyo</P><P
304
-
314
+ src="undefined"
305
315
  class="button-bar_item button-bar__item--secondary skeleton-text skeleton "
306
316
 
307
317
 
308
318
  >Created 2023-02-16 by lexoyo</P><div
309
- id="i9fx3l"
319
+ id="i9fx3l" src="undefined"
310
320
  class="button-bar_item skeleton skeleton-button "
311
321
 
312
322
 
313
323
  >Edit</div></SECTION><SECTION
314
- id="isld3r"
324
+ id="isld3r" src="undefined"
315
325
  class="button-bar button-bar--full-width bg-white rounded loading__item skeleton-anim skeleton-wrapper "
316
326
  v-if="loading"
317
327
 
318
328
  ><H3
319
-
329
+ src="undefined"
320
330
  class="button-bar_item button-bar__item--main skeleton-text skeleton "
321
331
 
322
332
 
323
333
  >My first websiteMy first websiteMy first websiteMy first</H3><P
324
-
334
+ src="undefined"
325
335
  class="button-bar_item button-bar__item--secondary skeleton-text skeleton "
326
336
 
327
337
 
328
338
  >Updated 1h ago by lexoyo</P><P
329
-
339
+ src="undefined"
330
340
  class="button-bar_item button-bar__item--secondary skeleton-text skeleton "
331
341
 
332
342
 
333
343
  >Created 2023-02-16 by lexoyo</P><div
334
- id="i8oes3"
344
+ id="i8oes3" src="undefined"
335
345
  class="button-bar_item skeleton skeleton-button "
336
346
 
337
347
 
338
348
  >Edit</div></SECTION></div><div
339
- id="i7ej6j"
340
- class="box horizontal "
349
+ id="i7ej6j" src="undefined"
350
+ class="horizontal box-message text-white "
341
351
  v-if="error"
342
352
 
343
- ><div
344
- id="iv0eyi"
353
+ ><H3
354
+ id="iv0eyi" src="undefined"
345
355
  class="full-width v-space h-space "
346
356
  v-text="error"
347
357
 
348
- >Insert your text here</div><div
349
- id="i4656n"
350
- class="button rounded button--small button--tertiary "
358
+ >Insert your text here</H3><div
359
+ id="i4656n" src="undefined"
360
+ class="rounded pointer button-bar__item--link text-white "
351
361
  @click="error = null"
352
362
 
353
363
  >{{ message-dismiss }}</div></div><div
354
- id="ilteie"
355
- class="box horizontal "
364
+ id="ilteie" src="undefined"
365
+ class="horizontal box-message text-white "
356
366
  v-if="message"
357
367
 
358
- ><div
359
- id="i2d31v"
368
+ ><H3
369
+ id="i2d31v" src="undefined"
360
370
  class="full-width v-space h-space "
361
371
  v-text="message"
362
372
 
363
- >Insert your text here</div><div
364
- id="i2urco"
365
- class="button rounded button--small button--tertiary "
373
+ >Insert your text here</H3><div
374
+ id="i2urco" src="undefined"
375
+ class="rounded pointer button-bar__item--link text-white "
366
376
  @click="message = null"
367
377
 
368
- >{{ message-dismiss }}</div></div></MAIN><FOOTER
369
- id="ilzpl"
378
+ >{{ message-dismiss }}</div></div><div
379
+ id="ipccl7" src="undefined"
380
+
381
+
382
+
383
+ ><div
384
+ id="i2fkm9" src="undefined"
385
+ class="margin-20 empty-image "
386
+ v-if="empty"
387
+
388
+ ></div><div
389
+ id="i5ydxo" src="undefined"
390
+ class="box padding-50-30 "
391
+ v-if="empty"
392
+
393
+ ><P
394
+ id="ikl1qu" src="undefined"
395
+ class="text-centered title-26 "
396
+
397
+
398
+ >C'est bien calme ici..<br
399
+ src="undefined"
400
+
401
+
402
+
403
+ ></br></P><H3
404
+ id="iwzrqi" src="undefined"
405
+ class="text-centered title-26 "
406
+
407
+
408
+ >Pr�t � d�marrer une nouvelle aventure ?</H3></div></div></MAIN><FOOTER
409
+ id="ilzpl" src="undefined"
370
410
  class="header footer "
371
411
 
372
412
 
373
413
  ><div
374
- id="i238z"
414
+ id="i238z" src="undefined"
375
415
  class="section "
376
416
 
377
417