@silexlabs/silex-dashboard 1.0.59 → 1.0.61

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.
@@ -366,9 +366,9 @@ window.addEventListener('load', function() {
366
366
  <a id="iels" href="https://mail-list.silexlabs.org/subscription/cemnfkaVrK?locale=fr-FR&source=silex-dashboard" class="nav__item uppercase fx-flash nav_item--active" target="_blank">News</a></NAV>
367
367
 
368
368
  <div id="i2red7" class="lang"><a href="/en" id="iciz" class="lang__item nav__item uppercase">EN</a></div>
369
- <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"><div id="iksw4d" class="button button--tertiary text-centered" v-on:click="logout()">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">Bienvenue !</h1><p id="iyex8" class="subtitle-16" v-if="!empty">Plongez-vous dans un projet ou créez-en un nouveau</p><h1 id="i4ybc" class="title-40" v-if="empty">Bienvenue !</h1><p id="iino6r" class="subtitle-16" v-if="empty">Créez votre premier projet, clickez sur le boutont "Créer un site"</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="">Créer un site</span></button><div id="i0ro3" class="button button--secondary rounded">Import</div></div><div id="ihwwxz" class="box top-space-40 padding-30 box_transp" v-if="showCreationForm"><h3 id="i3gd1b" class="box__header text-centered">Créer un nouveau site internet</h3><form method="get" id="i50acf" class="form" v-on:submit.prevent="createWebsite"><div id="igtg1t" class="v-space"><label id="i1nmbc" class="v-space bold color-2B1B63-80">Nom du site</label><input type="text" id="ij5iwh" placeholder="Mon super projet" 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">Créer</button><button type="reset" class="button rounded button--secondary fx-scale-round" v-on:click="showCreationForm = !showCreationForm" v-if="!empty">Annuler</button></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, 'en')" 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="Editer" class="button-bar__item--link pointer fx-scale fx-flash button-bar__item--icon" v-on:click="openEditor(website.websiteId, 'en')"><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="Renommer" class="button-bar__item--link pointer fx-scale fx-flash button-bar__item--icon" v-on:click="renameWebsite(website.websiteId, 'en')"><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="Dupliquer" class="button-bar__item--link pointer fx-flash fx-scale button-bar__item--icon" v-on:click="duplicateWebsite(website.websiteId, 'en')"><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="Supprimer" 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 class="button-bar_item button-bar__item--main skeleton-text skeleton right-space-40">My first websiteMy first websiteMy first websiteMy first</H3><P class="button-bar_item button-bar__item--secondary skeleton-text skeleton right-space-40">Updated 1h ago by lexoyo</P><P 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">C'est bien calme ici...</p><h3 id="iwzrqi" class="text-centered title-26">Prêt.e à démarrer une nouvelle aventure?</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="">Créer un site</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">Fermer</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">Fermer</div></div></MAIN><FOOTER id="ilzpl" class="footer">
369
+ <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"><div id="iksw4d" style="padding:10px;" class="button button--tertiary text-centered" v-on:click="logout()">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">Bienvenue !</h1><p id="iyex8" class="subtitle-16" v-if="!empty">Plongez-vous dans un projet ou créez-en un nouveau</p><h1 id="i4ybc" class="title-40" v-if="empty">Bienvenue !</h1><p id="iino6r" class="subtitle-16" v-if="empty">Créez votre premier projet, clickez sur le boutont "Créer un site"</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="">Créer un site</span></button><div id="i0ro3" class="button button--secondary rounded">Import</div></div><div id="ihwwxz" class="box top-space-40 padding-30 box_transp" v-if="showCreationForm"><h3 id="i3gd1b" class="box__header text-centered">Créer un nouveau site internet</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">Nom du site</label><input type="text" id="ij5iwh" placeholder="Mon super projet" 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">Créer</button><button type="reset" class="button rounded button--secondary fx-scale-round" v-on:click="showCreationForm = !showCreationForm" v-if="!empty">Annuler</button></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, 'en')" 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="Editer" class="button-bar__item--link pointer fx-scale fx-flash button-bar__item--icon" v-on:click="openEditor(website.websiteId, 'en')"><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="Renommer" class="button-bar__item--link pointer fx-scale fx-flash button-bar__item--icon" v-on:click="renameWebsite(website.websiteId, 'en')"><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="Dupliquer" class="button-bar__item--link pointer fx-flash fx-scale button-bar__item--icon" v-on:click="duplicateWebsite(website.websiteId, 'en')"><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="Supprimer" 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 class="button-bar_item button-bar__item--main skeleton-text skeleton right-space-40">My first websiteMy first websiteMy first websiteMy first</H3><P class="button-bar_item button-bar__item--secondary skeleton-text skeleton right-space-40">Updated 1h ago by lexoyo</P><P 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">C'est bien calme ici...</p><h3 id="iwzrqi" class="text-centered title-26">Prêt.e à démarrer une nouvelle aventure?</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="">Créer un site</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">Fermer</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">Fermer</div></div></MAIN><FOOTER id="ilzpl" class="footer">
370
370
 
371
- <div id="isucae" class="footer__column"><h3 id="ipa5zg" href="" class="footer__item">Social & communauté</h3>
371
+ <div id="isucae" style="min-height:100px;" class="footer__column"><h3 id="ipa5zg" href="" class="footer__item">Social & communauté</h3>
372
372
 
373
373
  <a href="https://www.silex.me/" class="footer__item" target="_blank">A propos de Silex, site officiel</a>
374
374
  <a href="mailto:contact+silex-dashboard-footer@silex.me" class="footer__item" target="_blank">Email l'équipe</a>
@@ -379,14 +379,14 @@ window.addEventListener('load', function() {
379
379
  <a href="https://events.silex.me/" class="footer__item" target="_blank">Meetups/ Evénements</a>
380
380
  <a href="https://short.silex.me/mastodon" class="footer__item" target="_blank">Mastodon</a>
381
381
  <a href="https://short.silex.me/chat" class="footer__item" target="_blank">Chat</a></div>
382
- <div id="isucae" class="footer__column"><h3 id="ipa5zg" href="" class="footer__item">Ressources</h3>
382
+ <div id="isucae" style="min-height:100px;" class="footer__column"><h3 id="ipa5zg" href="" class="footer__item">Ressources</h3>
383
383
 
384
384
  <a href="https://short.silex.me/code" class="footer__item" target="_blank">Code source</a>
385
385
  <a href="http://docs.silex.me/" class="footer__item" target="_blank">Documentation</a>
386
386
  <a href="https://video.silex.me/my-library/video-playlists" class="footer__item" target="_blank">Vidéos</a>
387
387
  <a href="https://short.silex.me/roadmap" class="footer__item" target="_blank">Feuille de route</a>
388
388
  <a href="https://short.silex.me/contribute" class="footer__item" target="_blank">Contribuer</a></div>
389
- <div id="isucae" class="footer__column"><h3 id="ipa5zg" href="" class="footer__item">Articles et revues</h3>
389
+ <div id="isucae" style="min-height:100px;" class="footer__column"><h3 id="ipa5zg" href="" class="footer__item">Articles et revues</h3>
390
390
 
391
391
  <a href="https://short.silex.me/alternatives_fr" class="footer__item" target="_blank">Alternatives à Silex</a>
392
392
  <a href="https://short.silex.me/reviews_fr" class="footer__item" target="_blank">Revues de Silex</a>
@@ -401,7 +401,7 @@ window.addEventListener('load', function() {
401
401
  <div class="lang"><a href="/en" class="lang__item nav__item uppercase">EN</a></div>
402
402
  <div class="lang"><a href="/fr" class="lang__item nav__item uppercase">FR</a></div><div class="user__wrapper pointer"><div class="user-icon__wrapper"><div class="user-icon__image"></div></div><div><div id="ir10ge-2-2" class="button button--tertiary text-centered">Logout</div></div></div></HEADER><FOOTER class="footer">
403
403
 
404
- <div id="ilgsqu" class="footer__column"><h3 href="" class="footer__item">Social & communauté</h3>
404
+ <div id="ilgsqu" style="min-height:100px;" class="footer__column"><h3 href="" class="footer__item">Social & communauté</h3>
405
405
 
406
406
  <a href="https://www.silex.me/" class="footer__item" target="_blank">A propos de Silex, site officiel</a>
407
407
  <a href="mailto:contact+silex-dashboard-footer@silex.me" class="footer__item" target="_blank">Email l'équipe</a>
@@ -412,14 +412,14 @@ window.addEventListener('load', function() {
412
412
  <a href="https://events.silex.me/" class="footer__item" target="_blank">Meetups/ Evénements</a>
413
413
  <a href="https://short.silex.me/mastodon" class="footer__item" target="_blank">Mastodon</a>
414
414
  <a href="https://short.silex.me/chat" class="footer__item" target="_blank">Chat</a></div>
415
- <div id="ilgsqu" class="footer__column"><h3 href="" class="footer__item">Ressources</h3>
415
+ <div id="ilgsqu" style="min-height:100px;" class="footer__column"><h3 href="" class="footer__item">Ressources</h3>
416
416
 
417
417
  <a href="https://short.silex.me/code" class="footer__item" target="_blank">Code source</a>
418
418
  <a href="http://docs.silex.me/" class="footer__item" target="_blank">Documentation</a>
419
419
  <a href="https://video.silex.me/my-library/video-playlists" class="footer__item" target="_blank">Vidéos</a>
420
420
  <a href="https://short.silex.me/roadmap" class="footer__item" target="_blank">Feuille de route</a>
421
421
  <a href="https://short.silex.me/contribute" class="footer__item" target="_blank">Contribuer</a></div>
422
- <div id="ilgsqu" class="footer__column"><h3 href="" class="footer__item">Articles et revues</h3>
422
+ <div id="ilgsqu" style="min-height:100px;" class="footer__column"><h3 href="" class="footer__item">Articles et revues</h3>
423
423
 
424
424
  <a href="https://short.silex.me/alternatives_fr" class="footer__item" target="_blank">Alternatives à Silex</a>
425
425
  <a href="https://short.silex.me/reviews_fr" class="footer__item" target="_blank">Revues de Silex</a>
@@ -487,6 +487,39 @@ window.addEventListener('load', function() {
487
487
  <a href="https://short.silex.me/contribute" class="footer__item" target="_blank">Contribuer</a></div>
488
488
  <div id="ilgsqu-2-2" class="footer__column"><h3 href="" class="footer__item">Articles et revues</h3>
489
489
 
490
+ <a href="https://short.silex.me/alternatives_fr" class="footer__item" target="_blank">Alternatives à Silex</a>
491
+ <a href="https://short.silex.me/reviews_fr" class="footer__item" target="_blank">Revues de Silex</a>
492
+ <a href="https://short.silex.me/press_fr" class="footer__item" target="_blank">Silex dans la presse</a></div></FOOTER><HEADER class="menu-bar"><A href="/"><img src="/assets/favicon-32x32.png" id="iel80b-2" class="nav__logo"/></A><NAV id="in0357-2-2-2-2-2" class="nav">
493
+
494
+ <a href="/" class="nav__item uppercase fx-flash nav_item--active" target="">Sites</a>
495
+ <a href="http://docs.silex.me/" class="nav__item uppercase fx-flash nav_item--active" target="_blank">Docs</a>
496
+ <a href="https://www.silex.me/" class="nav__item uppercase fx-flash nav_item--active" target="_blank">A propos</a>
497
+ <a href="https://community.silex.me/" class="nav__item uppercase fx-flash nav_item--active" target="_blank">Communauté</a>
498
+ <a href="https://mail-list.silexlabs.org/subscription/cemnfkaVrK?locale=fr-FR&source=silex-dashboard" class="nav__item uppercase fx-flash nav_item--active" target="_blank">News</a></NAV>
499
+
500
+ <div class="lang"><a href="/en" class="lang__item nav__item uppercase">EN</a></div>
501
+ <div class="lang"><a href="/fr" class="lang__item nav__item uppercase">FR</a></div><div class="user__wrapper pointer"><div class="user-icon__wrapper"><div class="user-icon__image"></div></div><div><div id="ir10ge-2-2-2-2-2" class="button button--tertiary text-centered">Logout</div></div></div></HEADER><FOOTER class="footer">
502
+
503
+ <div id="ilgsqu-2-2-2" class="footer__column"><h3 href="" class="footer__item">Social & communauté</h3>
504
+
505
+ <a href="https://www.silex.me/" class="footer__item" target="_blank">A propos de Silex, site officiel</a>
506
+ <a href="mailto:contact+silex-dashboard-footer@silex.me" class="footer__item" target="_blank">Email l'équipe</a>
507
+ <a href="https://short.silex.me/sponsors" class="footer__item" target="_blank">Sponsors</a>
508
+ <a href="https://short.silex.me/donate" class="footer__item" target="_blank">Faire un don</a>
509
+ <a href="https://short.silex.me/community" class="footer__item" target="_blank">Forum de la communauté</a>
510
+ <a href="https://news.silex.me/forms/nfrm_weLJnLY5" class="footer__item" target="_blank">Newsletter</a>
511
+ <a href="https://events.silex.me/" class="footer__item" target="_blank">Meetups/ Evénements</a>
512
+ <a href="https://short.silex.me/mastodon" class="footer__item" target="_blank">Mastodon</a>
513
+ <a href="https://short.silex.me/chat" class="footer__item" target="_blank">Chat</a></div>
514
+ <div id="ilgsqu-2-2-2" class="footer__column"><h3 href="" class="footer__item">Ressources</h3>
515
+
516
+ <a href="https://short.silex.me/code" class="footer__item" target="_blank">Code source</a>
517
+ <a href="http://docs.silex.me/" class="footer__item" target="_blank">Documentation</a>
518
+ <a href="https://video.silex.me/my-library/video-playlists" class="footer__item" target="_blank">Vidéos</a>
519
+ <a href="https://short.silex.me/roadmap" class="footer__item" target="_blank">Feuille de route</a>
520
+ <a href="https://short.silex.me/contribute" class="footer__item" target="_blank">Contribuer</a></div>
521
+ <div id="ilgsqu-2-2-2" class="footer__column"><h3 href="" class="footer__item">Articles et revues</h3>
522
+
490
523
  <a href="https://short.silex.me/alternatives_fr" class="footer__item" target="_blank">Alternatives à Silex</a>
491
524
  <a href="https://short.silex.me/reviews_fr" class="footer__item" target="_blank">Revues de Silex</a>
492
525
  <a href="https://short.silex.me/press_fr" class="footer__item" target="_blank">Silex dans la presse</a></div></FOOTER></body>
@@ -0,0 +1,360 @@
1
+ <!DOCTYPE html>
2
+ <html lang="">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <link rel="stylesheet" href="/css/websites-e6d63d0512032a2909a7f648cecfad311842ecba7bd03f94afc8639998e606f0.css" />
6
+ <!-- font google -->
7
+ <link rel="preconnect" href="https://fonts.gstatic.com" />
8
+ <link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;700&display=swap" rel="stylesheet">
9
+
10
+ <style>
11
+ .before-js > * {
12
+ visibility: hidden;
13
+ opacity: 0;
14
+ transition: opacity .5s ease;
15
+ }
16
+ .before-js[data-gjs-type] > *, /* This is only inside the editor, .before-js needs to be on the body */
17
+ .after-js > * {
18
+ visibility: visible;
19
+ opacity: 1;
20
+ }
21
+ .before-js:before {
22
+ content: 'Loading';
23
+ position: absolute;
24
+ top: 49%;
25
+ left: 49%;
26
+ }
27
+ .before-js[data-gjs-type]:before, /* This is only inside the editor, .before-js needs to be on the body */
28
+ .after-js:before {
29
+ content: none;
30
+ }
31
+ /*BTNS*/
32
+ .button, .pointer {
33
+ cursor: pointer!important}
34
+ .button{
35
+ min-width:110px;
36
+ }
37
+ details {
38
+ max-height: 2em;
39
+ display: block;
40
+ overflow: hidden;
41
+ transition: max-height .75s ease;
42
+ }
43
+ details[open] {
44
+ max-height: 40em;
45
+ }
46
+
47
+ /*BTNS*/
48
+ a {
49
+ text-decoration: none;
50
+ color:#8873FE;
51
+ }
52
+ a:hover {
53
+ text-decoration: underline;
54
+ }
55
+ .uppercase {
56
+ text-transform: uppercase;
57
+ }
58
+ .underline:hover{
59
+ text-decoration: underline;
60
+ text-decoration-thickness: from-font;
61
+ text-underline-position: under;
62
+ }
63
+ /*footer position*/
64
+ .main-min-height {
65
+ min-height: calc(100vh - 560px);
66
+ }
67
+ /*footer position*/
68
+ /*label*/
69
+ ::placeholder {
70
+ color: #8873FE;
71
+ }
72
+ input:focus {
73
+ border: 2px solid #9977FE;
74
+ background-color:#ffffff;
75
+ }
76
+ :focus {
77
+ outline: none;
78
+ }
79
+ /*label*/
80
+ .skeleton-anim:after {
81
+ width: 100%;
82
+ height: 100%;
83
+ position: absolute;
84
+ top: 0;
85
+ left: 0;
86
+ content: "";
87
+ background:
88
+ linear-gradient(0.25turn, transparent, rgba(255,255,255,.75), transparent),
89
+ linear-gradient(transparent, transparent),
90
+ radial-gradient(38px circle at 19px 19px, transparent 50%, transparent 51%),
91
+ linear-gradient(transparent, transparent);
92
+ background-repeat: no-repeat;
93
+ background-size: 315px 250px, 315px 180px, 100px 100px, 225px 30px;
94
+ background-position: -315px 0, 0 0, 0px 190px, 50px 195px;
95
+ animation: loading 1.5s infinite;
96
+ }
97
+ @keyframes loading {
98
+ to {
99
+ background-position: 200% 0, 0 0, 0 190px, 50px 195px;
100
+ }
101
+ }
102
+ /*FX ANIMATIONS*/
103
+ /*scale-round-inside_pour-BTN*/
104
+ .fx-scale-round {
105
+ position:relative;
106
+ z-index: 10;
107
+ overflow: hidden;
108
+ }
109
+ .fx-scale-round::after {
110
+ content: "";
111
+ background: #ffffff;
112
+ position: absolute;
113
+ z-index: -1;
114
+ border-radius: 50%;
115
+ left: -50%;
116
+ right: -50%;
117
+ top: -100%;
118
+ bottom: -100%;
119
+ transform: scale(0, 0);
120
+ transform-origin: center bottom;
121
+ transition: all 0.3s ease-out;
122
+ }
123
+ .fx-scale-round:hover {
124
+ transform-origin: center bottom;
125
+ transform: scale(1.1);
126
+ transition: transform 0.2s cubic-bezier(0, -0.530, 0.405, 2.8);
127
+ }
128
+ .fx-scale-round:hover::after {
129
+ transform: scale(1, 1);
130
+ transition: transform 0.2s cubic-bezier(0, -0.530, 0.405, 2.8);
131
+ }
132
+ /*scale-round-inside_pour-BTN*/
133
+ /*scale*/
134
+ .fx-scale:hover {
135
+ transform-origin: center bottom;
136
+ transform: scale(1.1);
137
+ transition: transform 0.2s cubic-bezier(0, -0.530, 0.405, 2.8);
138
+ }
139
+ /*flash*/
140
+ .fx-flash:hover {
141
+ animation: flash-in .25s ;
142
+ }
143
+ /*flash-in animation*/
144
+ @keyframes flash-in{
145
+ 0% {
146
+ opacity:.25;
147
+ }
148
+ 100% {
149
+ opacity:1;
150
+ }
151
+ }
152
+ /*flash-in animation*/
153
+ /*FX ANIMATIONS*/
154
+ </style>
155
+ <script src="/js/vue.global.prod.js"></script>
156
+ <script src="/js/main.js"></script>
157
+ <script type="module">
158
+ const CONNECTORS_PATH = '/connectors/'
159
+ window.addEventListener('load', function() {
160
+ const { createApp } = Vue;
161
+ const { api, constants, types } = silex;
162
+ const {
163
+ ConnectorType,
164
+ } = types
165
+ const {
166
+ setServerUrl,
167
+ getUser,
168
+ logout,
169
+ websiteDelete,
170
+ websiteDuplicate,
171
+ websiteList,
172
+ websiteCreate,
173
+ websiteMetaWrite,
174
+ } = api
175
+ function toSafeId(name) {
176
+ return name.replace(/[/\\?%*:|"<>]/g, '_')
177
+ }
178
+
179
+ const App = {
180
+ data() {
181
+ return {
182
+ websites: [],
183
+ newWebsiteName: '',
184
+ showCreationForm: false,
185
+ error: null,
186
+ message: null,
187
+ loggedIn: false,
188
+ loading: true,
189
+ storage: null,
190
+ user: null,
191
+ showMenu: false,
192
+ empty: false,
193
+ }
194
+ },
195
+ mounted() {
196
+ this.init()
197
+ },
198
+
199
+ methods: {
200
+ async init() {
201
+ try {
202
+ // Init Silex server path
203
+ // Go up one level because of the language prefix
204
+ setServerUrl(window.location.origin)
205
+ // Start
206
+ const user = await getUser({type: ConnectorType.STORAGE})
207
+ // Escape single quotes in the picture URL and decode the picture URL
208
+ if(user) {
209
+ user.picture = decodeURIComponent(user.picture).replace(/'/g, "\\'")
210
+ this.user = user
211
+ this.loggedIn = true
212
+ this.websites = await websiteList({connectorId: this.user.storage.connectorId})
213
+ this.empty = this.websites.length === 0
214
+ this.loading = false
215
+ } else {
216
+ this.openLogin()
217
+ }
218
+ } catch (error) {
219
+ console.error(error)
220
+ this.loading = false
221
+ if(error.code === 401 || error.httpStatusCode === 401) {
222
+ this.loggedIn = false
223
+ this.openLogin()
224
+ } else {
225
+ this.error = ` - ${error.message}`
226
+ this.message = ''
227
+ }
228
+ }
229
+ },
230
+
231
+ openLogin(id, lang) {
232
+ //throw new Error('debug')
233
+ const path = `/${CONNECTORS_PATH}`
234
+ console.log(window.location.pathname, window.location.path, path)
235
+ if(window.location.pathname === path) return
236
+ window.open(path, '_self')
237
+ },
238
+
239
+ openEditor(id, lang) {
240
+ window.open(`/?id=${id}&lang=${lang}&connectorId=${this.user.storage.connectorId}`, '_self')
241
+ },
242
+
243
+ async logout() {
244
+ await logout({
245
+ type: ConnectorType.STORAGE,
246
+ connectorId: this.user.storage.connectorId,
247
+ })
248
+ window.location.reload()
249
+ },
250
+
251
+ async createWebsite() {
252
+ try {
253
+ if (!this.newWebsiteName) throw new Error('')
254
+ this.loading = true
255
+ const websiteId = toSafeId(this.newWebsiteName)
256
+ const result = await websiteCreate({
257
+ websiteId,
258
+ data: {
259
+ name: this.newWebsiteName,
260
+ imageUrl: null,
261
+ },
262
+ connectorId: this.user.storage.connectorId
263
+ })
264
+ this.message = ''
265
+ this.error = ''
266
+ this.newWebsiteName = ''
267
+ this.showCreationForm = false;
268
+ this.websites = await websiteList({connectorId: this.user.storage.connectorId})
269
+ this.empty = this.websites.length === 0
270
+ this.loading = false
271
+ return result
272
+ } catch (error) {
273
+ this.loading = false
274
+ console.error(error)
275
+ this.error = ` - ${error.message}`
276
+ this.message = ''
277
+ }
278
+ },
279
+
280
+ async deleteWebsite(websiteId) {
281
+ const ok = confirm('')
282
+ if (!ok) return
283
+ this.loading = true
284
+ try {
285
+ const result = await websiteDelete({websiteId, connectorId: this.user.storage.connectorId})
286
+ this.message = ''
287
+ this.error = ''
288
+ this.websites = await websiteList({connectorId: this.user.storage.connectorId})
289
+ this.empty = this.websites.length === 0
290
+ this.loading = false
291
+ return result
292
+ } catch (error) {
293
+ this.loading = false
294
+ this.error = ` - ${error.message}`
295
+ this.message = ''
296
+ }
297
+ },
298
+
299
+ async duplicateWebsite(websiteId) {
300
+ this.loading = true
301
+ try {
302
+ await websiteDuplicate({websiteId, connectorId: this.user.storage.connectorId, data: { name }})
303
+ this.error = ''
304
+ this.websites = await websiteList({connectorId: this.user.storage.connectorId})
305
+ this.message = ''
306
+ this.empty = this.websites.length === 0
307
+ this.loading = false
308
+ } catch (error) {
309
+ this.loading = false
310
+ this.error = ` - ${error.message}`
311
+ this.message = ''
312
+ }
313
+ },
314
+
315
+ async renameWebsite(websiteId) {
316
+ const website = this.websites.find(w => w.websiteId === websiteId)
317
+ const name = prompt('', website.name)
318
+ if (!name) return
319
+ this.loading = true
320
+ try {
321
+ const result = await websiteMetaWrite({websiteId, connectorId: this.user.storage.connectorId, data: { name }})
322
+ this.message = ''
323
+ this.error = ''
324
+ this.websites = await websiteList({connectorId: this.user.storage.connectorId})
325
+ this.empty = this.websites.length === 0
326
+ this.loading = false
327
+ return result
328
+ } catch (error) {
329
+ this.loading = false
330
+ this.error = ` - ${error.message}`
331
+ this.message = ''
332
+ }
333
+ },
334
+ },
335
+ };
336
+ // Prepare elements for vue
337
+ document.querySelectorAll('[v-text], [v-html]')
338
+ .forEach(el => el.innerText = '')
339
+
340
+
341
+ // Create the app
342
+ const app = createApp(App);
343
+
344
+ // Mount the app
345
+ app.mount('.app');
346
+
347
+
348
+ // Remove loading
349
+ setTimeout(() => {
350
+ document.querySelector('.before-js').classList.add('after-js')
351
+ }, 100)
352
+ })
353
+ </script>
354
+
355
+ <title>Silex Dashboard</title>
356
+ <link rel="icon" href="/assets/favicon-32x32.png" />
357
+ <meta name="og:title" property="og:title" content="Silex Dashboard"/>
358
+ <link href="https://fonts.googleapis.com" rel="preconnect" ><link href="https://fonts.gstatic.com" rel="preconnect" crossorigin ><link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet" ></head>
359
+ <body id="ik0i" class="body loading app before-js"><HEADER id="igrg" class="menu-bar"><A id="igvu43" href="/"><img src="/assets/favicon-32x32.png" id="iel80b-2" class="nav__logo"/></A><NAV id="i9jq" class="nav"><A id="iels" href="" class="nav__item uppercase fx-flash nav_item--active">Sites</A></NAV><div id="i2red7" class="lang"><A href="/" id="iciz" class="lang__item nav__item uppercase">en</A></div><div id="i24ew" class="user__wrapper pointer"><div id="i5xsbd" class="user-icon__wrapper"><div id="i5wlbq" class="user-icon__image"></div></div><div id="ic9eoa"><div id="iksw4d" class="button button--tertiary text-centered">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">Welcome back!<br/></H1><P id="iyex8" class="subtitle-16">Dive into your projects or kickstart a new one</P><H1 id="i4ybc" class="title-40">Welcome, let's get started<br/></H1><P id="iino6r" class="subtitle-16">Create your first project, click on the button "Create a website"<br/></P></div></HEADER><MAIN id="iz63r" class="padding-normal main-min-height website-max-width margin-80"><SECTION id="iqmx38"></SECTION><div id="ickx4" class="margin-20"><BUTTON id="ic92g" class="button button--primary rounded top-space-40 fx-scale-round"><span id="igsxoc" class="icon-font">+</span> <span id="ixu14">Create website</span></BUTTON><div id="i0ro3" class="button button--secondary rounded">Import</div></div><div id="ihwwxz" class="box top-space-40 padding-30 box_transp"><H3 id="i3gd1b" class="box__header text-centered">Create a new website</H3><form method="get" id="i50acf" class="form"><div id="igtg1t" class="v-space"><label id="i1nmbc" class="v-space bold color-2B1B63-80">Website name</label><input type="text" id="ij5iwh" placeholder="" class="input full-width"/></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" class="button rounded button--secondary fx-scale-round">Cancel</button></div></form></div><div id="if80m" class="margin-20"><SECTION id="idgvg" class="button-bar loaded__item"><H3 id="i69a7" class="right-space-40 color-2B1B63-80 uppercase pointer fx-flash full-width button-bar__title underline">My first website</H3><P id="i65hn" class="button-bar__item--secondary flex-no-shrink right-space-40">Updated 1h ago by lexoyo</P><P id="i64qa" class="button-bar__item--secondary flex-no-shrink right-space-40">Created 2023-02-16 by lexoyo</P><div id="i3b4tr" class="flex-no-shrink"><BUTTON id="ifyf6p" title="" class="button-bar__item--link pointer fx-scale fx-flash button-bar__item--icon">Edit</BUTTON><BUTTON id="ihf6ew" title="" class="button-bar__item--link pointer fx-scale fx-flash button-bar__item--icon">Rename</BUTTON><BUTTON id="iol4h" title="" class="button-bar__item--link pointer fx-flash fx-scale button-bar__item--icon">⎘</BUTTON><BUTTON id="it5ia" class="button-bar__item--link pointer fx-flash fx-scale">X</BUTTON></div></SECTION><SECTION id="i1fjn" class="button-bar loading__item skeleton-anim skeleton-wrapper"><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"><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"><H3 class="button-bar_item button-bar__item--main skeleton-text skeleton right-space-40">My first websiteMy first websiteMy first websiteMy first</H3><P class="button-bar_item button-bar__item--secondary skeleton-text skeleton right-space-40">Updated 1h ago by lexoyo</P><P 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"></div><div id="i5ydxo" class="box padding-50-30 box--centered"><P id="ikl1qu" class="text-centered title-26">C'est bien calme ici..<br/></P><H3 id="iwzrqi" class="text-centered title-26">Prêt à démarrer une nouvelle aventure ?</H3><BUTTON id="i2x0l" class="button button--primary rounded top-space-40 fx-scale-round"><span id="ibsgw" class="icon-font">+</span> <span id="itl2n8">Create website</span></BUTTON></div></div><div id="i7ej6j" class="flex-between box-message text-white"><H3 id="iv0eyi" class="box-message-text">Insert your text here</H3><div id="i4656n" class="pointer button-bar__item--link text-white">Dismiss</div></div><div id="ilteie" class="flex-between box-message text-white"><H3 id="i2d31v" class="box-message-text">Insert your text here</H3><div id="i2urco" class="rounded pointer button-bar__item--link text-white">Dismiss</div></div></MAIN><FOOTER id="ilzpl" class="footer"><div id="isucae" class="footer__column"><H3 id="ipa5zg" href="" class="footer__item">Insert your text here</H3><A href="#" class="footer__item">Insert your text here</A></div></FOOTER><HEADER class="menu-bar"><A href="/"><img src="/assets/favicon-32x32.png" id="iel80b-2" class="nav__logo"/></A><NAV id="in0357-2-2" class="nav"><A href="" class="nav__item uppercase fx-flash nav_item--active">Sites</A></NAV><div class="lang"><A href="/" class="lang__item nav__item uppercase">en</A></div><div class="user__wrapper pointer"><div class="user-icon__wrapper"><div class="user-icon__image"></div></div><div><div id="ir10ge-2-2" class="button button--tertiary text-centered">Logout</div></div></div></HEADER><FOOTER class="footer"><div id="ilgsqu" class="footer__column"><H3 href="" class="footer__item">Insert your text here</H3><A href="#" class="footer__item">Insert your text here</A></div></FOOTER><HEADER class="menu-bar"><A href="/"><img src="/assets/favicon-32x32.png" id="iel80b-2" class="nav__logo"/></A><NAV id="in0357-2-2-2" class="nav"><A href="" class="nav__item uppercase fx-flash nav_item--active">Sites</A></NAV><div class="lang"><A href="/" class="lang__item nav__item uppercase">en</A></div><div class="user__wrapper pointer"><div class="user-icon__wrapper"><div class="user-icon__image"></div></div><div><div id="ir10ge-2-2-2" class="button button--tertiary text-centered">Logout</div></div></div></HEADER><FOOTER class="footer"><div id="ilgsqu-2" class="footer__column"><H3 href="" class="footer__item">Insert your text here</H3><A href="#" class="footer__item">Insert your text here</A></div></FOOTER><HEADER class="menu-bar"><A href="/"><img src="/assets/favicon-32x32.png" id="iel80b-2" class="nav__logo"/></A><NAV id="in0357-2-2-2-2" class="nav"><A href="" class="nav__item uppercase fx-flash nav_item--active">Sites</A></NAV><div class="lang"><A href="/" class="lang__item nav__item uppercase">en</A></div><div class="user__wrapper pointer"><div class="user-icon__wrapper"><div class="user-icon__image"></div></div><div><div id="ir10ge-2-2-2-2" class="button button--tertiary text-centered">Logout</div></div></div></HEADER><FOOTER class="footer"><div id="ilgsqu-2-2" class="footer__column"><H3 href="" class="footer__item">Insert your text here</H3><A href="#" class="footer__item">Insert your text here</A></div></FOOTER></body>
360
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexlabs/silex-dashboard",
3
- "version": "1.0.59",
3
+ "version": "1.0.61",
4
4
  "description": "Dashboard for Silex v3",
5
5
  "main": "silex/server-config.js",
6
6
  "scripts": {
@@ -8,7 +8,7 @@ collection: "Connectors"
8
8
  <html lang="">
9
9
  <head>
10
10
  <meta charset="UTF-8">
11
- <link rel="stylesheet" href="/css/connectors-748797d88cc32c0787052966e54e4f794629b8460d24f2aadac83c13899574fb.css" />
11
+ <link rel="stylesheet" href="/css/connectors-a8ae93c40b7c738a4514e47046a029afdcf74bb28a7724287e1350afac4fa60f.css" />
12
12
  <!-- font google -->
13
13
  <link rel="preconnect" href="https://fonts.gstatic.com" />
14
14
  <link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;700&display=swap" rel="stylesheet">
@@ -281,43 +281,43 @@ setTimeout(() => {
281
281
  <meta name="og:title" property="og:title" content="Silex Dashboard"/>
282
282
  <link href="https://fonts.googleapis.com" rel="preconnect" ><link href="https://fonts.gstatic.com" rel="preconnect" crossorigin ><link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet" ></head>
283
283
  {% liquid
284
- assign var_i2hcfw_22919 = tina.settingsConnection.edges | where: "node.lang", page.lang | first
285
- assign state_i2hcfw-1214_i2hcfw-xbsn5ipretk = var_i2hcfw_22919
284
+ assign var_i2hcfw_705 = tina.settingsConnection.edges | where: "node.lang", page.lang | first
285
+ assign state_i2hcfw-1214_i2hcfw-xbsn5ipretk = var_i2hcfw_705
286
286
  %}<body id="i2hcfw" class="body app before-js"><A id="ixzhcr" href="/" class="button button-bar__item--secondary">{{ api-translations[lang]["Back to home"] }}</A><div id="imawg3" class="bg-silex-purpel">{% liquid
287
- assign var_imgx81_22906 = tina.connectorsConnection.edges | where: "node.lang", page.lang | first
288
- assign var_imgx81_22907 = var_imgx81_22906.node
289
- assign state_imgx81-1985_imgx81-7uhkrqd2giq = var_imgx81_22907
290
- %}<div id="imgx81" 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" class="subtitle-16">{% liquid
291
- assign var_it2175_22902 = state_imgx81-1985_imgx81-7uhkrqd2giq.subtitle
292
- echo var_it2175_22902
293
- %}</p></div><h3 id="iqc1xf" class="margin-top">{% liquid
294
- assign var_iqc1xf_22903 = state_imgx81-1985_imgx81-7uhkrqd2giq.recommended
295
- echo var_iqc1xf_22903
296
- %}</h3><div id="in62y2"><div id="isqe61" class="" v-for="(connector, index) in connectors.slice(0, 1)"><a id="i44y9w" href="https://" 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/></div></a></div></div><DETAILS id="ihn6fj"><summary id="i8w75b" class="margin-30">{% liquid
297
- assign var_i8w75b_22904 = state_imgx81-1985_imgx81-7uhkrqd2giq.advanced_users
298
- echo var_i8w75b_22904
299
- %}</summary><div class="" v-for="(connector, index) in connectors.slice(1)"><a href="/" class="connector__card" v-bind:href="connector.oauthUrl" :key="index"><div class="button-bar__item__icon" :style="getConnectorStyle(connector)"></div><div class="connector__description" v-text="connector.displayName">Login with <span href="">Name</span><br/></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 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/></div></div><div id="isndui">This connector is about blablabla<br/></div></a></div><div id="ijflxq" class="text-centered">{% liquid
300
- assign var_ijflxq_22905 = state_imgx81-1985_imgx81-7uhkrqd2giq.help
301
- echo var_ijflxq_22905
302
- %}</div></div><div id="i9msnk" class="text-white top-space-20" v-if="error" v-text="message" :test="message">Insert your text here</div><div id="i6akll" class="button button--tertiary text-centered" v-if="error" v-on:click="logout()">{{ api-translations[lang]["Logout"] }}</div></div></div><FOOTER class="footer">{% liquid
303
- assign var_iprzeh_22918 = state_i2hcfw-1214_i2hcfw-xbsn5ipretk.node.footer_links
287
+ assign var_imgx81_692 = tina.connectorsConnection.edges | where: "node.lang", page.lang | first
288
+ assign var_imgx81_693 = var_imgx81_692.node
289
+ assign state_imgx81-1985_imgx81-7uhkrqd2giq = var_imgx81_693
290
+ %}<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">{% liquid
291
+ assign var_it2175_688 = state_imgx81-1985_imgx81-7uhkrqd2giq.subtitle
292
+ echo var_it2175_688
293
+ %}</p></div><h3 id="iqc1xf" style="display:none;" class="margin-top">{% liquid
294
+ assign var_iqc1xf_689 = state_imgx81-1985_imgx81-7uhkrqd2giq.recommended
295
+ echo var_iqc1xf_689
296
+ %}</h3><div id="in62y2"><div id="isqe61" style="display:inline-block;width:100%;padding:30px 0px 30px 0px;" class="" v-for="(connector, index) in connectors.slice(0, 1)"><a id="i44y9w" href="https://" 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/></div></a></div></div><DETAILS id="ihn6fj"><summary id="i8w75b" style="margin:10px 0px 10px 0px;font-size:0.95rem;font-weight:600;cursor:pointer;" class="margin-30">{% liquid
297
+ assign var_i8w75b_690 = state_imgx81-1985_imgx81-7uhkrqd2giq.advanced_users
298
+ echo var_i8w75b_690
299
+ %}</summary><div style="display:inline-block;width:100%;padding:30px 0px 30px 0px;" id="ibi9qh" class="" v-for="(connector, index) in connectors.slice(1)"><a href="https://" class="connector__card" :href="getHref(connector)" data-remove-href="true"><div class="button-bar__item__icon" :style="getConnectorStyle(connector)"></div><div class="connector__description" v-text="connector.displayName">Login with <span href="">Name</span><br/></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 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/></div></div><div id="isndui">This connector is about blablabla<br/></div></a></div><div id="ijflxq" style="font-size:0.85rem;text-align:left;margin:30px 0px 0px 0px;" class="text-centered">{% liquid
300
+ assign var_ijflxq_691 = state_imgx81-1985_imgx81-7uhkrqd2giq.help
301
+ echo var_ijflxq_691
302
+ %}</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()">{{ api-translations[lang]["Logout"] }}</div></div></div><FOOTER class="footer">{% liquid
303
+ assign var_iprzeh_704 = state_i2hcfw-1214_i2hcfw-xbsn5ipretk.node.footer_links
304
304
  %}
305
- {% for state_isucae-3308___data in var_iprzeh_22918 %}
306
- <div id="iprzeh" class="footer__column"><h3 href="" class="footer__item">{% liquid
307
- assign var_ineync_22913 = state_isucae-3308___data.title
308
- echo var_ineync_22913
305
+ {% for state_isucae-3308___data in var_iprzeh_704 %}
306
+ <div id="iprzeh" style="min-height:100px;" class="footer__column"><h3 href="" class="footer__item">{% liquid
307
+ assign var_i3tcob_699 = state_isucae-3308___data.title
308
+ echo var_i3tcob_699
309
309
  %}</h3>{% liquid
310
- assign var_i6qx92_22915 = state_isucae-3308___data.columns
310
+ assign var_iotadi_701 = state_isucae-3308___data.columns
311
311
  %}
312
- {% for state_i2u9h4-2642___data in var_i6qx92_22915 %}
312
+ {% for state_i2u9h4-2642___data in var_iotadi_701 %}
313
313
  <a href="{% liquid
314
- assign var_i6qx92_22916 = state_i2u9h4-2642___data.url
315
- echo var_i6qx92_22916
314
+ assign var_iotadi_702 = state_i2u9h4-2642___data.url
315
+ echo var_iotadi_702
316
316
  %}" class="footer__item" target="{% liquid
317
- assign var_i6qx92_22917 = state_i2u9h4-2642___data.target
318
- echo var_i6qx92_22917
317
+ assign var_iotadi_703 = state_i2u9h4-2642___data.target
318
+ echo var_iotadi_703
319
319
  %}">{% liquid
320
- assign var_i6qx92_22914 = state_i2u9h4-2642___data.label
321
- echo var_i6qx92_22914
320
+ assign var_iotadi_700 = state_i2u9h4-2642___data.label
321
+ echo var_iotadi_700
322
322
  %}</a>{% endfor %}</div>{% endfor %}</FOOTER></body>
323
323
  </html>