@silexlabs/silex-dashboard 1.5.0-canary.1 → 1.5.0-canary.3
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.
- package/DASHBOARD-ARCHITECTURE.md +1410 -0
- package/_site/css/connectors-e4ae24975f4df2e2bea5121337282d8f2201bb86dc8c041c9ef43c0c2d7a32a7.css +1 -0
- package/_site/css/fork-00fcb49f686e5d4a6d23a3c77ebc1563a99581e1fb3f270c6204538ab3d02f94.css +1 -0
- package/_site/css/fork-506e7c805e636be6225c35a11f5804b72cf41d7a6355aa64a5d7ddb7d66ea314.css +1 -0
- package/_site/css/fork-923d814802e46c2d0db0f71c5c488c616ca0016f340d8dae66b263ba7f1143bc.css +1 -0
- package/_site/css/index-2a63e02ab10ac924e626195148618b0b283ee7d663656afe25a806b4769f64ad.css +1 -0
- package/_site/css/index-38d10542f641eb789c11b589b95d0e6363e71978479fa5cddbec3da65774560c.css +1 -0
- package/_site/en/connectors/index.html +51 -26
- package/_site/en/fork/index.html +371 -0
- package/_site/en/index.html +30 -28
- package/_site/fr/connectors/index.html +52 -27
- package/_site/fr/fork/index.html +372 -0
- package/_site/fr/index.html +31 -29
- package/collections/fork/en.md +17 -0
- package/collections/fork/fr.md +17 -0
- package/package.json +2 -2
- package/silex/websites/default/meta.json +4 -0
- package/silex/websites/default/website.json +6 -0
- package/templates/connectors-en.html +66 -41
- package/templates/connectors-fr.html +66 -41
- package/templates/css/connectors-e4ae24975f4df2e2bea5121337282d8f2201bb86dc8c041c9ef43c0c2d7a32a7.css +1 -0
- package/templates/css/fork-00fcb49f686e5d4a6d23a3c77ebc1563a99581e1fb3f270c6204538ab3d02f94.css +1 -0
- package/templates/css/fork-506e7c805e636be6225c35a11f5804b72cf41d7a6355aa64a5d7ddb7d66ea314.css +1 -0
- package/templates/css/fork-923d814802e46c2d0db0f71c5c488c616ca0016f340d8dae66b263ba7f1143bc.css +1 -0
- package/templates/css/index-2a63e02ab10ac924e626195148618b0b283ee7d663656afe25a806b4769f64ad.css +1 -0
- package/templates/css/index-38d10542f641eb789c11b589b95d0e6363e71978479fa5cddbec3da65774560c.css +1 -0
- package/templates/fork-en.11tydata.mjs +117 -0
- package/templates/fork-en.html +412 -0
- package/templates/fork-fr.11tydata.mjs +117 -0
- package/templates/fork-fr.html +412 -0
- package/templates/{websites-en.11tydata.mjs → index-en.11tydata.mjs} +32 -32
- package/templates/{websites-en.html → index-en.html} +94 -92
- package/templates/{websites-fr.11tydata.mjs → index-fr.11tydata.mjs} +32 -32
- package/templates/{websites-fr.html → index-fr.html} +94 -92
- package/tina/config.ts +76 -0
- package/tina/tina-lock.json +1 -1
- package/_site/connectors/index.html +0 -278
- package/_site/css/connectors-1350f25629f7addac6970f5297f8aef050ba1c207b28c8a0e4a7b113246d69dc.css +0 -1
- package/_site/css/connectors-152b01dfacf0586ce2f3fb0ddbbf5a5bbcd181a48b4b20b275f837786b2889cd.css +0 -1
- package/_site/css/connectors-306649a254eff69e10db2fa5368e173e88e24449db25d65b7117ebfd5dbbcd31.css +0 -1
- package/_site/css/connectors-66fe82f10a7a257f59212e18bb384b019ffb12192fa3f748951da7d4428733b4.css +0 -1
- package/_site/css/connectors-748797d88cc32c0787052966e54e4f794629b8460d24f2aadac83c13899574fb.css +0 -1
- package/_site/css/connectors-87cf0f4b873d104a845dcafd5d80d4f8d482f8cea15f2412cd9655071dcb9ea8.css +0 -1
- package/_site/css/connectors-885e03b1611113e2363f7a86fba9aee867130a14836b3cc9c4714265708c1704.css +0 -1
- package/_site/css/connectors-9d0c9569a2ce8afaa4a30a0534b3d0597c761c7e0e5280dcbc966dc2b709e98e.css +0 -1
- package/_site/css/connectors-a8ae93c40b7c738a4514e47046a029afdcf74bb28a7724287e1350afac4fa60f.css +0 -1
- package/_site/css/connectors-c1d5f4c520a9a86d99b7201d30a8fe25a5779b7b2373b73262868f446fe3f855.css +0 -1
- package/_site/css/connectors-febcafaf261c0f23ca11fc13809f259c74dbdd50b6a47506ba295fdb99d1b4a4.css +0 -1
- package/_site/css/websites-19b822a8683767833f7656ff2df318ba13bed49f33d9bfc946ff619cf986b449.css +0 -1
- package/_site/css/websites-4b9b2b0a0a907b33eca109d50c2a3eee97f1955c742cef487110d21a0bbf8f50.css +0 -1
- package/_site/css/websites-7843a323acc9c4921d373250c5f647854910ea0913530659823fbe29844ee6b5.css +0 -1
- package/_site/css/websites-931c1ae713658c5aca51e25f5c43a79611c9a762dc38b989cc99ad4dbd4eda8e.css +0 -1
- package/_site/css/websites-c678e6ed7f508aa4b0e9218070d7235ed56f0eaea49350b30b849f4ef176cfb0.css +0 -1
- package/_site/css/websites-e6d63d0512032a2909a7f648cecfad311842ecba7bd03f94afc8639998e606f0.css +0 -1
- package/_site/websites/index.html +0 -360
- package/templates/connectors.html +0 -278
- package/templates/css/connectors-1350f25629f7addac6970f5297f8aef050ba1c207b28c8a0e4a7b113246d69dc.css +0 -1
- package/templates/css/connectors-152b01dfacf0586ce2f3fb0ddbbf5a5bbcd181a48b4b20b275f837786b2889cd.css +0 -1
- package/templates/css/connectors-306649a254eff69e10db2fa5368e173e88e24449db25d65b7117ebfd5dbbcd31.css +0 -1
- package/templates/css/connectors-66fe82f10a7a257f59212e18bb384b019ffb12192fa3f748951da7d4428733b4.css +0 -1
- package/templates/css/connectors-748797d88cc32c0787052966e54e4f794629b8460d24f2aadac83c13899574fb.css +0 -1
- package/templates/css/connectors-87cf0f4b873d104a845dcafd5d80d4f8d482f8cea15f2412cd9655071dcb9ea8.css +0 -1
- package/templates/css/connectors-885e03b1611113e2363f7a86fba9aee867130a14836b3cc9c4714265708c1704.css +0 -1
- package/templates/css/connectors-9d0c9569a2ce8afaa4a30a0534b3d0597c761c7e0e5280dcbc966dc2b709e98e.css +0 -1
- package/templates/css/connectors-a8ae93c40b7c738a4514e47046a029afdcf74bb28a7724287e1350afac4fa60f.css +0 -1
- package/templates/css/connectors-c1d5f4c520a9a86d99b7201d30a8fe25a5779b7b2373b73262868f446fe3f855.css +0 -1
- package/templates/css/connectors-febcafaf261c0f23ca11fc13809f259c74dbdd50b6a47506ba295fdb99d1b4a4.css +0 -1
- package/templates/css/websites-19b822a8683767833f7656ff2df318ba13bed49f33d9bfc946ff619cf986b449.css +0 -1
- package/templates/css/websites-4b9b2b0a0a907b33eca109d50c2a3eee97f1955c742cef487110d21a0bbf8f50.css +0 -1
- package/templates/css/websites-7843a323acc9c4921d373250c5f647854910ea0913530659823fbe29844ee6b5.css +0 -1
- package/templates/css/websites-931c1ae713658c5aca51e25f5c43a79611c9a762dc38b989cc99ad4dbd4eda8e.css +0 -1
- package/templates/css/websites-c678e6ed7f508aa4b0e9218070d7235ed56f0eaea49350b30b849f4ef176cfb0.css +0 -1
- package/templates/css/websites-e6d63d0512032a2909a7f648cecfad311842ecba7bd03f94afc8639998e606f0.css +0 -1
- package/templates/websites.html +0 -360
package/_site/en/index.html
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
<html lang="">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
|
-
<
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<meta name="generator" content="Silex v3.6.0-canary.2">
|
|
7
|
+
<link rel="stylesheet" href="/css/index-2a63e02ab10ac924e626195148618b0b283ee7d663656afe25a806b4769f64ad.css" />
|
|
6
8
|
<!-- font google -->
|
|
7
9
|
<link rel="preconnect" href="https://fonts.gstatic.com" />
|
|
8
10
|
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;700&display=swap" rel="stylesheet">
|
|
@@ -355,39 +357,39 @@ window.addEventListener('load', function() {
|
|
|
355
357
|
<title></title>
|
|
356
358
|
<link rel="icon" href="/assets/favicon-32x32.png" />
|
|
357
359
|
<meta name="og:title" property="og:title" content="Silex Dashboard"/>
|
|
358
|
-
<link href="https://fonts.googleapis.com" rel="preconnect" ><link href="https://fonts.
|
|
360
|
+
<link href="https://fonts.googleapis.com" rel="preconnect" ><link href="https://fonts.googleapis.com/css2" rel="preconnect" crossorigin ><link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet" ></head>
|
|
359
361
|
|
|
360
|
-
<body id="ik0i" class="body loading app before-js"><HEADER id="igrg" class="menu-bar"><A
|
|
362
|
+
<body id="ik0i" class="body loading app before-js"><HEADER id="igrg" class="menu-bar"><A href="/" id="igvu43"><img id="iel80b-2-2" src="/assets/picto-silex@3x.png" class="nav__logo"/></A><NAV id="i9jq" class="nav">
|
|
361
363
|
|
|
362
|
-
<a
|
|
363
|
-
<a
|
|
364
|
-
<a
|
|
365
|
-
<a
|
|
364
|
+
<a href="/" id="iels" class="nav__item uppercase fx-flash nav_item--active" target="">My Sites</a>
|
|
365
|
+
<a href="http://docs.silex.me/" id="iels" class="nav__item uppercase fx-flash nav_item--active" target="_blank">Docs</a>
|
|
366
|
+
<a href="https://short.silex.me/community_en/" id="iels" class="nav__item uppercase fx-flash nav_item--active" target="_blank">Forum</a>
|
|
367
|
+
<a href="https://short.silex.me/chat" id="iels" class="nav__item uppercase fx-flash nav_item--active" target="_blank">Chat</a></NAV>
|
|
366
368
|
|
|
367
369
|
<div id="i2red7" class="lang"><a href="/en" id="iciz" class="lang__item nav__item uppercase">EN</a></div>
|
|
368
|
-
<div id="i2red7" class="lang"><a href="/fr" id="iciz" class="lang__item nav__item uppercase">FR</a></div><div id="i24ew" class="user__wrapper pointer" v-if="user" v-on:click="showMenu = !showMenu"><div id="i5xsbd" class="user-icon__wrapper" v-if="user" v-show="!showMenu || user.storage.disableLogout"><div id="i5wlbq" class="user-icon__image" v-if="user" v-show="!showMenu || user.storage.disableLogout" :style="{ backgroundImage: `url('${user?.picture}')`, backgroundRepeat: 'no-repeat', backgroundSize: 'contain', }"></div></div><div id="ic9eoa" class="" v-show="showMenu && !user.storage.disableLogout" v-on:click="logout"><div id="igv1rf" class="nav__item">Logout</div></div></div></HEADER><HEADER id="iy8ax3" class="bg-silex-purpel"><div id="iisz8f" class="section-top text-centered text-white"><h1 id="ic31o" class="title-40" v-if="!empty">Welcome back!</h1><p id="iyex8" class="subtitle-16" v-if="!empty">Dive into your projects or kickstart a new one</p><h1 id="i4ybc" class="title-40" v-if="empty">Welcome, let's get started</h1><p id="iino6r" class="subtitle-16" v-if="empty">Create your first project, click on "Create a website"</p></div></HEADER><MAIN id="iz63r" class="padding-normal main-min-height website-max-width margin-80"><section id="iqmx38" class="" v-if="empty"></section><div id="ickx4" class="margin-20" v-if="!empty"><button id="ic92g" class="button button--primary rounded top-space-40 fx-scale-round" v-if="!showCreationForm" v-on:click="showCreationForm = !showCreationForm"><span id="igsxoc" class="icon-font">+</span> <span id="ixu14" class="">Create website</span></button><
|
|
370
|
+
<div id="i2red7" class="lang"><a href="/fr" id="iciz" class="lang__item nav__item uppercase">FR</a></div><div id="i24ew" class="user__wrapper pointer" v-if="user" v-on:click="showMenu = !showMenu"><div id="i5xsbd" class="user-icon__wrapper" v-if="user" v-show="!showMenu || user.storage.disableLogout"><div id="i5wlbq" class="user-icon__image" v-if="user" v-show="!showMenu || user.storage.disableLogout" :style="{ backgroundImage: `url('${user?.picture}')`, backgroundRepeat: 'no-repeat', backgroundSize: 'contain', }"></div></div><div id="ic9eoa" class="" v-show="showMenu && !user.storage.disableLogout" v-on:click="logout"><div id="igv1rf" class="nav__item">Logout</div></div></div></HEADER><HEADER id="iy8ax3" class="bg-silex-purpel"><div id="iisz8f" class="section-top text-centered text-white"><h1 id="ic31o" class="title-40" v-if="!empty">Welcome back!</h1><p id="iyex8" class="subtitle-16" v-if="!empty">Dive into your projects or kickstart a new one</p><h1 id="i4ybc" class="title-40" v-if="empty">Welcome, let's get started</h1><p id="iino6r" class="subtitle-16" v-if="empty">Create your first project, click on "Create a website"</p></div></HEADER><MAIN id="iz63r" class="padding-normal main-min-height website-max-width margin-80-centered"><section id="iqmx38" class="" v-if="empty"></section><div id="ickx4" class="margin-20" v-if="!empty"><button id="ic92g" class="button button--primary rounded top-space-40 fx-scale-round right-space-20" v-if="!showCreationForm" v-on:click="showCreationForm = !showCreationForm"><span id="igsxoc" class="icon-font">+</span> <span id="ixu14" class="">Create website</span></button><a id="ic92g-2" href="https://www.silex.me/template/" class="button rounded button--secondary" v-if="!showCreationForm">+ Templates</a></div><div id="ihwwxz" class="box top-space-40 padding-30 box_transp" v-if="showCreationForm"><h3 id="i3gd1b" class="box__header text-centered">Create a new website</h3><form method="get" id="i50acf" class="form" v-on:submit.prevent="createWebsite"><div id="igtg1t" class="v-space"><label id="i1nmbc" style="flex-shrink:0;" class="v-space bold color-2B1B63-80">Website name</label><input type="text" id="ij5iwh" placeholder="My project website" class="input full-width" v-model="newWebsiteName"></input></div><div id="ie0xes"><button type="submit" id="i021na" class="button rounded button--primary right-space-20 fx-scale-round">Create</button><button type="reset" id="i49y7" class="button rounded button--secondary fx-scale-round right-space-20" v-on:click="showCreationForm = !showCreationForm" v-if="!empty">Cancel</button><A id="ic92g-2-2" href="https://www.silex.me/template/" class="button rounded button--secondary">+ Templates</A></div></form></div><div id="if80m" class="margin-20"><section id="idgvg" class="button-bar loaded__item" v-if="!loading" v-for="(website, index) in websites" :key="index"><h3 id="i69a7" class="right-space-40 color-2B1B63-80 uppercase pointer fx-flash full-width button-bar__title underline" v-on:click="openEditor(website.websiteId)" v-text="website.name || website.id">My first website</h3><p id="i65hn" class="button-bar__item--secondary flex-no-shrink right-space-40" v-text="'Updated ' + new Date(website.updatedAt).toLocaleDateString(undefined, { day: 'numeric', month: 'long', year: 'numeric' })">Updated 1h ago by lexoyo</p><p id="i64qa" class="button-bar__item--secondary flex-no-shrink right-space-40" v-text="'Created ' + new Date(website.createdAt).toLocaleDateString(undefined, { day: 'numeric', month: 'long', year: 'numeric' })">Created 2023-02-16 by lexoyo</p><div id="i3b4tr" class="flex-no-shrink"><button id="ifyf6p" title="Edit" class="button-bar__item--link pointer fx-scale fx-flash button-bar__item--icon" v-on:click="openEditor(website.websiteId)"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="#8873fe" d="M368 80h32v32H368V80zM352 32c-17.7 0-32 14.3-32 32H128c0-17.7-14.3-32-32-32H32C14.3 32 0 46.3 0 64v64c0 17.7 14.3 32 32 32V352c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32H320c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V384c0-17.7-14.3-32-32-32V160c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H352zM96 160c17.7 0 32-14.3 32-32H320c0 17.7 14.3 32 32 32V352c-17.7 0-32 14.3-32 32H128c0-17.7-14.3-32-32-32V160zM48 400H80v32H48V400zm320 32V400h32v32H368zM48 112V80H80v32H48z"/></svg></button><button id="ihf6ew" title="Rename" class="button-bar__item--link pointer fx-scale fx-flash button-bar__item--icon" v-on:click="renameWebsite(website.websiteId)"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="#8873fe" d="M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"/></svg></button><button id="iol4h" title="Duplicate" class="button-bar__item--link pointer fx-flash fx-scale button-bar__item--icon" v-on:click="duplicateWebsite(website.websiteId)"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><path fill="#8873fe" d="M384 336H192c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16l140.1 0L400 115.9V320c0 8.8-7.2 16-16 16zM192 384H384c35.3 0 64-28.7 64-64V115.9c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1H192c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H256c35.3 0 64-28.7 64-64V416H272v32c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192c0-8.8 7.2-16 16-16H96V128H64z"/></svg></button><button id="it5ia" class="button-bar__item--link pointer fx-flash fx-scale" title="Delete" v-on:click="deleteWebsite(website.websiteId)">X</button></div></section><section id="i1fjn" class="button-bar loading__item skeleton-anim skeleton-wrapper" v-if="loading"><H3 id="iwu6a" class="skeleton-text skeleton right-space-40">My first websiteMy first websiteMy first websiteMy first</H3><P id="i26fn" class="button-bar__item--secondary skeleton-text skeleton right-space-40">Updated 1h ago by lexoyo</P><P id="iywbk" class="button-bar__item--secondary skeleton-text skeleton right-space-40">Created 2023-02-16 by lexoyo</P><div id="ixz6c" class="skeleton skeleton-button">Edit</div></section><section id="iwxxo5" class="button-bar loading__item skeleton-anim skeleton-wrapper" v-if="loading"><H3 id="inmp3" class="skeleton-text skeleton right-space-40">My first websiteMy first websiteMy first websiteMy first</H3><P id="icjz8" class="button-bar__item--secondary skeleton-text skeleton right-space-40">Updated 1h ago by lexoyo</P><P id="illbe" class="button-bar__item--secondary skeleton-text skeleton right-space-40">Created 2023-02-16 by lexoyo</P><div id="i9fx3l" class="skeleton skeleton-button">Edit</div></section><section id="isld3r" class="button-bar loading__item skeleton-anim skeleton-wrapper" v-if="loading"><H3 id="i4py6" class="button-bar_item button-bar__item--main skeleton-text skeleton right-space-40">My first websiteMy first websiteMy first websiteMy first</H3><P id="inktk" class="button-bar_item button-bar__item--secondary skeleton-text skeleton right-space-40">Updated 1h ago by lexoyo</P><P id="io7go" class="button-bar_item button-bar__item--secondary skeleton-text skeleton right-space-40">Created 2023-02-16 by lexoyo</P><div id="i8oes3" class="button-bar_item skeleton skeleton-button">Edit</div></section></div><div id="ipccl7"><div id="i2fkm9" class="margin-20 empty-image" v-if="empty"></div><div id="i5ydxo" class="box padding-50-30 box--centered" v-if="empty"><p id="ikl1qu" class="text-centered title-26">Such emptyness...</p><h3 id="iwzrqi" class="text-centered title-26">Ready to start your journey?</h3><button id="i2x0l" class="button button--primary rounded top-space-40 fx-scale-round" v-on:click="showCreationForm = !showCreationForm" v-if="!showCreationForm"><span id="ibsgw" class="icon-font">+</span> <span id="itl2n8" class="">Create website</span></button></div></div><div id="i7ej6j" class="flex-between box-message text-white" v-if="error"><h3 id="iv0eyi" class="box-message-text" v-text="error">Insert your text here</h3><div id="i4656n" class="pointer button-bar__item--link text-white" v-on:click="error = null">Dismiss</div></div><div id="ilteie" class="flex-between box-message text-white" v-if="message"><h3 id="i2d31v" class="box-message-text" v-text="message">Insert your text here</h3><div id="i2urco" class="rounded pointer button-bar__item--link text-white" v-on:click="message = null">Dismiss</div></div></MAIN><FOOTER id="ilzpl" class="footer">
|
|
369
371
|
|
|
370
|
-
<div id="isucae" style="min-height:100px;" class="footer__column"><h3
|
|
372
|
+
<div id="isucae" style="min-height:100px;" class="footer__column"><h3 href="" id="ipa5zg" class="footer__item">Social & community</h3>
|
|
371
373
|
|
|
372
|
-
<a href="https://www.silex.me/" class="footer__item" target="_blank">About Silex, official website</a>
|
|
373
|
-
<a href="mailto:contact+silex-dashboard-footer@silex.me" class="footer__item" target="">Email the team</a>
|
|
374
|
-
<a href="https://short.silex.me/sponsors" class="footer__item" target="_blank">Sponsors</a>
|
|
375
|
-
<a href="https://short.silex.me/donate" class="footer__item" target="">Donate</a>
|
|
376
|
-
<a href="https://short.silex.me/community" class="footer__item" target="_blank">Community forum</a>
|
|
377
|
-
<a href="https://news.silex.me/forms/nfrm_weLJnLY5" class="footer__item" target="_blank">Newsletter</a>
|
|
378
|
-
<a href="https://events.silex.me/" class="footer__item" target="_blank">Meetups/ Events</a>
|
|
379
|
-
<a href="https://short.silex.me/mastodon" class="footer__item" target="_blank">Mastodon</a>
|
|
380
|
-
<a href="https://short.silex.me/lemmy" class="footer__item" target="_blank">Lemmy</a></div>
|
|
381
|
-
<div id="isucae" style="min-height:100px;" class="footer__column"><h3
|
|
374
|
+
<a href="https://www.silex.me/" id="irpxxx" class="footer__item" target="_blank">About Silex, official website</a>
|
|
375
|
+
<a href="mailto:contact+silex-dashboard-footer@silex.me" id="irpxxx" class="footer__item" target="">Email the team</a>
|
|
376
|
+
<a href="https://short.silex.me/sponsors" id="irpxxx" class="footer__item" target="_blank">Sponsors</a>
|
|
377
|
+
<a href="https://short.silex.me/donate" id="irpxxx" class="footer__item" target="">Donate</a>
|
|
378
|
+
<a href="https://short.silex.me/community" id="irpxxx" class="footer__item" target="_blank">Community forum</a>
|
|
379
|
+
<a href="https://news.silex.me/forms/nfrm_weLJnLY5" id="irpxxx" class="footer__item" target="_blank">Newsletter</a>
|
|
380
|
+
<a href="https://events.silex.me/" id="irpxxx" class="footer__item" target="_blank">Meetups/ Events</a>
|
|
381
|
+
<a href="https://short.silex.me/mastodon" id="irpxxx" class="footer__item" target="_blank">Mastodon</a>
|
|
382
|
+
<a href="https://short.silex.me/lemmy" id="irpxxx" class="footer__item" target="_blank">Lemmy</a></div>
|
|
383
|
+
<div id="isucae" style="min-height:100px;" class="footer__column"><h3 href="" id="ipa5zg" class="footer__item">Resources</h3>
|
|
382
384
|
|
|
383
|
-
<a href="https://short.silex.me/code" class="footer__item" target="_blank">Source code</a>
|
|
384
|
-
<a href="http://docs.silex.me/" class="footer__item" target="_blank">Documentation</a>
|
|
385
|
-
<a href="https://video.silex.me/my-library/video-playlists" class="footer__item" target="_blank">Videos</a>
|
|
386
|
-
<a href="https://short.silex.me/roadmap" class="footer__item" target="_blank">Roadmap</a>
|
|
387
|
-
<a href="https://short.silex.me/contribute" class="footer__item" target="_blank">Contribute</a></div>
|
|
388
|
-
<div id="isucae" style="min-height:100px;" class="footer__column"><h3
|
|
385
|
+
<a href="https://short.silex.me/code" id="irpxxx" class="footer__item" target="_blank">Source code</a>
|
|
386
|
+
<a href="http://docs.silex.me/" id="irpxxx" class="footer__item" target="_blank">Documentation</a>
|
|
387
|
+
<a href="https://video.silex.me/my-library/video-playlists" id="irpxxx" class="footer__item" target="_blank">Videos</a>
|
|
388
|
+
<a href="https://short.silex.me/roadmap" id="irpxxx" class="footer__item" target="_blank">Roadmap</a>
|
|
389
|
+
<a href="https://short.silex.me/contribute" id="irpxxx" class="footer__item" target="_blank">Contribute</a></div>
|
|
390
|
+
<div id="isucae" style="min-height:100px;" class="footer__column"><h3 href="" id="ipa5zg" class="footer__item">Articles and reviews</h3>
|
|
389
391
|
|
|
390
|
-
<a href="https://short.silex.me/alternatives" class="footer__item" target="_blank">Silex alternatives</a>
|
|
391
|
-
<a href="https://short.silex.me/reviews" class="footer__item" target="_blank">Silex reviews</a>
|
|
392
|
-
<a href="https://short.silex.me/press" class="footer__item" target="_blank">Silex in the press</a></div></FOOTER></body>
|
|
392
|
+
<a href="https://short.silex.me/alternatives" id="irpxxx" class="footer__item" target="_blank">Silex alternatives</a>
|
|
393
|
+
<a href="https://short.silex.me/reviews" id="irpxxx" class="footer__item" target="_blank">Silex reviews</a>
|
|
394
|
+
<a href="https://short.silex.me/press" id="irpxxx" class="footer__item" target="_blank">Silex in the press</a></div></FOOTER></body>
|
|
393
395
|
</html>
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
<html lang="">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
|
-
<
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<meta name="generator" content="Silex v3.6.0-canary.2">
|
|
7
|
+
<link rel="stylesheet" href="/css/connectors-e4ae24975f4df2e2bea5121337282d8f2201bb86dc8c041c9ef43c0c2d7a32a7.css" />
|
|
6
8
|
<!-- font google -->
|
|
7
9
|
<link rel="preconnect" href="https://fonts.gstatic.com" />
|
|
8
10
|
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;700&display=swap" rel="stylesheet">
|
|
@@ -176,6 +178,9 @@ function toSafeId(name) {
|
|
|
176
178
|
return name.replace(/[/\\?%*:|"<>]/g, '_')
|
|
177
179
|
}
|
|
178
180
|
|
|
181
|
+
const params = new URLSearchParams(window.location.search)
|
|
182
|
+
const redirect = params.get('redirect')
|
|
183
|
+
|
|
179
184
|
const App = {
|
|
180
185
|
data() {
|
|
181
186
|
return {
|
|
@@ -221,11 +226,31 @@ const App = {
|
|
|
221
226
|
},
|
|
222
227
|
|
|
223
228
|
getHref(connector) {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
229
|
+
const params = new URLSearchParams(window.location.search)
|
|
230
|
+
const redirect = params.get('redirect')
|
|
231
|
+
|
|
232
|
+
if (connector.isLoggedIn) {
|
|
233
|
+
return redirect || '/'
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
if (!connector.oauthUrl) {
|
|
237
|
+
return '/api/connector/login/?type=STORAGE&connectorId=' + connector.connectorId
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
if (!redirect) return connector.oauthUrl
|
|
241
|
+
|
|
242
|
+
const url = new URL(connector.oauthUrl)
|
|
243
|
+
const state = url.searchParams.get('state')
|
|
244
|
+
|
|
245
|
+
url.searchParams.set(
|
|
246
|
+
'state',
|
|
247
|
+
JSON.stringify({ state, redirect })
|
|
248
|
+
)
|
|
249
|
+
|
|
250
|
+
return url.toString()
|
|
227
251
|
},
|
|
228
252
|
|
|
253
|
+
|
|
229
254
|
getConnectorStyle(connector) {
|
|
230
255
|
return {
|
|
231
256
|
backgroundImage: `url(${connector.icon})`,
|
|
@@ -331,31 +356,31 @@ setTimeout(() => {
|
|
|
331
356
|
<title>Silex Dashboard</title>
|
|
332
357
|
<link rel="icon" href="/assets/favicon-32x32.png" />
|
|
333
358
|
<meta name="og:title" property="og:title" content="Silex Dashboard"/>
|
|
334
|
-
<link href="https://fonts.googleapis.com" rel="preconnect" ><link href="https://fonts.
|
|
335
|
-
<body id="i2hcfw" class="body app before-js"><A
|
|
359
|
+
<link href="https://fonts.googleapis.com" rel="preconnect" ><link href="https://fonts.googleapis.com/css2" rel="preconnect" crossorigin ><link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet" ></head>
|
|
360
|
+
<body id="i2hcfw" class="body app before-js"><A href="/" id="ixzhcr" class="button button-bar__item--secondary">< Retour</A><div id="imawg3" class="bg-silex-purpel"><div id="imgx81" style="min-height:100vh;display:flex;justify-content:center;align-items:center;flex-direction:column;" class=""><div id="iikf0s" class="box box_login"><div id="ie0dxn" class="text-centered"><img id="ior0hl" src="/assets/logo-silex.svg"/><p id="it2175" style="margin:15px 0px 0px 0px;font-size:1rem;" class="subtitle-16">Connectez-vous pour continuer</p></div><h3 id="iqc1xf" style="display:none;" class="margin-top">Recommandé et gratuit</h3><div id="in62y2"><div id="isqe61" class="full-width margin-30" v-for="(connector, index) in connectors.slice(0, 1)"><a href="https://" id="i44y9w" class="connector__card" :href="getHref(connector)" data-remove-href="true"><div id="io3lid" class="button-bar__item__icon" :style="getConnectorStyle(connector)"></div><div id="i87asw" class="connector__description" v-text="connector.displayName">Login with <span href="" id="i0tt68">Name</span><br id="i1zf1p"/></div></a></div><div id="i9fpn7" class="rgpd-checks"><input type="checkbox" checked id="feedback-check" name="feedback-check" class="rgpd-checks__check" v-on:change="(event) => setRgpd('feedback', event.target.checked)" v-model="rgpdFeedback"></input><label for="feedback-check" id="iv7hwn" class="">Autoriser le contact pour débogage et feedback</label></div><div id="iahvhn" class="rgpd-checks"><input type="checkbox" checked id="nl-check" name="nl-check" class="rgpd-checks__check" v-on:change="(event) => setRgpd('nl', event.target.checked)" v-model="rgpdNL"></input><label for="nl-check" id="isjk6j" class="">S'abonner à la newsletter</label></div><div id="errorDiv"></div></div><DETAILS id="ihn6fj"><summary id="i8w75b" class="margin-30">Utilisateurs avancés</summary><div id="ibi9qh" class="full-width" v-for="(connector, index) in connectors.slice(1)"><a href="https://" id="i5p9p5" class="connector__card" :href="getHref(connector)" data-remove-href="true"><div id="ibphi6" class="button-bar__item__icon" :style="getConnectorStyle(connector)"></div><div id="iaoqw4" class="connector__description" v-text="connector.displayName">Login with <span href="" id="iz6g2i">Name</span><br id="ihgk46"/></div></a></div></DETAILS><div id="i3cney" class="button-bar"><a id="iacshy" class="button big-button connector__card" v-if="!loading" :key="index" :style="{ backgroundColor: connector.background, color: connector.color }" v-for="(connector, index) in connectors" v-on-click="openLogin(connector)"><div id="iiwn36"><div id="iiau0s" class="button-bar__item__icon" :style="`background: url('${connector.icon}'); background-repeat: no-repeat; background-size: contain;`"></div><div id="if4gvb" class="" v-text="connector.displayName">Name<br id="iimwvw"/></div></div><div id="isndui">This connector is about blablabla<br id="igsu87"/></div></a></div><div id="ijflxq" style="font-size:0.85rem;text-align:left;margin:30px 0px 0px 0px;" class="text-centered">Avez-vous besoin d'aide ? Consultez <a href="https://docs.silex.me/fr/user/login" target="_blank">la documentation</a>. <br><br> En vous connectant, vous acceptez les <a href="https://docs.silex.me/fr/terms" target="_blank">conditions d'utilisation</a> et la <a href="https://docs.silex.me/fr/security" target="_blank">politique de confidentialité</a>.</div></div><div id="i9msnk" style="padding:10px;display:inline;" class="text-white top-space-20" v-if="error" v-text="message" :test="message">Insert your text here</div><div id="i6akll" style="padding:10px;display:inline;" class="button button--tertiary text-centered" v-if="error" v-on:click="logout()">Déconnexion</div></div></div><FOOTER id="i6qv1n" class="footer">
|
|
336
361
|
|
|
337
|
-
<div id="iprzeh" style="min-height:100px;" class="footer__column"><h3 href="" class="footer__item">Social & communauté</h3>
|
|
362
|
+
<div id="iprzeh" style="min-height:100px;" class="footer__column"><h3 href="" id="ik1iir" class="footer__item">Social & communauté</h3>
|
|
338
363
|
|
|
339
|
-
<a href="" class="footer__item" target=""></a>
|
|
340
|
-
<a href="https://www.silex.me/" class="footer__item" target="_blank">A propos de Silex, site officiel</a>
|
|
341
|
-
<a href="mailto:contact+silex-dashboard-footer@silex.me" class="footer__item" target="_blank">Email l'équipe</a>
|
|
342
|
-
<a href="https://short.silex.me/sponsors" class="footer__item" target="_blank">Sponsors</a>
|
|
343
|
-
<a href="https://short.silex.me/donate" class="footer__item" target="_blank">Faire un don</a>
|
|
344
|
-
<a href="https://short.silex.me/community" class="footer__item" target="_blank">Forum de la communauté</a>
|
|
345
|
-
<a href="https://news.silex.me/forms/nfrm_weLJnLY5" class="footer__item" target="_blank">Newsletter</a>
|
|
346
|
-
<a href="https://events.silex.me/" class="footer__item" target="_blank">Meetups/ Evénements</a>
|
|
347
|
-
<a href="https://short.silex.me/lemmy" class="footer__item" target="_blank">Lemmy</a>
|
|
348
|
-
<a href="https://short.silex.me/mastodon" class="footer__item" target="_blank">Mastodon</a></div>
|
|
349
|
-
<div id="iprzeh" style="min-height:100px;" class="footer__column"><h3 href="" class="footer__item">Ressources</h3>
|
|
364
|
+
<a href="" id="is59uo" class="footer__item" target=""></a>
|
|
365
|
+
<a href="https://www.silex.me/" id="is59uo" class="footer__item" target="_blank">A propos de Silex, site officiel</a>
|
|
366
|
+
<a href="mailto:contact+silex-dashboard-footer@silex.me" id="is59uo" class="footer__item" target="_blank">Email l'équipe</a>
|
|
367
|
+
<a href="https://short.silex.me/sponsors" id="is59uo" class="footer__item" target="_blank">Sponsors</a>
|
|
368
|
+
<a href="https://short.silex.me/donate" id="is59uo" class="footer__item" target="_blank">Faire un don</a>
|
|
369
|
+
<a href="https://short.silex.me/community" id="is59uo" class="footer__item" target="_blank">Forum de la communauté</a>
|
|
370
|
+
<a href="https://news.silex.me/forms/nfrm_weLJnLY5" id="is59uo" class="footer__item" target="_blank">Newsletter</a>
|
|
371
|
+
<a href="https://events.silex.me/" id="is59uo" class="footer__item" target="_blank">Meetups/ Evénements</a>
|
|
372
|
+
<a href="https://short.silex.me/lemmy" id="is59uo" class="footer__item" target="_blank">Lemmy</a>
|
|
373
|
+
<a href="https://short.silex.me/mastodon" id="is59uo" class="footer__item" target="_blank">Mastodon</a></div>
|
|
374
|
+
<div id="iprzeh" style="min-height:100px;" class="footer__column"><h3 href="" id="ik1iir" class="footer__item">Ressources</h3>
|
|
350
375
|
|
|
351
|
-
<a href="https://short.silex.me/code" class="footer__item" target="_blank">Code source</a>
|
|
352
|
-
<a href="http://docs.silex.me/" class="footer__item" target="_blank">Documentation</a>
|
|
353
|
-
<a href="https://video.silex.me/my-library/video-playlists" class="footer__item" target="_blank">Vidéos</a>
|
|
354
|
-
<a href="https://short.silex.me/roadmap" class="footer__item" target="_blank">Feuille de route</a>
|
|
355
|
-
<a href="https://short.silex.me/contribute" class="footer__item" target="_blank">Contribuer</a></div>
|
|
356
|
-
<div id="iprzeh" style="min-height:100px;" class="footer__column"><h3 href="" class="footer__item">Articles et revues</h3>
|
|
376
|
+
<a href="https://short.silex.me/code" id="is59uo" class="footer__item" target="_blank">Code source</a>
|
|
377
|
+
<a href="http://docs.silex.me/" id="is59uo" class="footer__item" target="_blank">Documentation</a>
|
|
378
|
+
<a href="https://video.silex.me/my-library/video-playlists" id="is59uo" class="footer__item" target="_blank">Vidéos</a>
|
|
379
|
+
<a href="https://short.silex.me/roadmap" id="is59uo" class="footer__item" target="_blank">Feuille de route</a>
|
|
380
|
+
<a href="https://short.silex.me/contribute" id="is59uo" class="footer__item" target="_blank">Contribuer</a></div>
|
|
381
|
+
<div id="iprzeh" style="min-height:100px;" class="footer__column"><h3 href="" id="ik1iir" class="footer__item">Articles et revues</h3>
|
|
357
382
|
|
|
358
|
-
<a href="https://short.silex.me/alternatives_fr" class="footer__item" target="_blank">Alternatives à Silex</a>
|
|
359
|
-
<a href="https://short.silex.me/reviews_fr" class="footer__item" target="_blank">Revues de Silex</a>
|
|
360
|
-
<a href="https://short.silex.me/press_fr" class="footer__item" target="_blank">Silex dans la presse</a></div></FOOTER></body>
|
|
383
|
+
<a href="https://short.silex.me/alternatives_fr" id="is59uo" class="footer__item" target="_blank">Alternatives à Silex</a>
|
|
384
|
+
<a href="https://short.silex.me/reviews_fr" id="is59uo" class="footer__item" target="_blank">Revues de Silex</a>
|
|
385
|
+
<a href="https://short.silex.me/press_fr" id="is59uo" class="footer__item" target="_blank">Silex dans la presse</a></div></FOOTER></body>
|
|
361
386
|
</html>
|