Lien vers site:
Site de creation de layout
Dans adminapi pouvoir créer un espace web (folder + conf/nginx + ssl)
Utiliser ce lien pour ajouter un espace de creation de contenu web via un component de creation puis basculement vers le lien /src/layouts/mapage.html"
Todo:
- Authenticate yourself and select a tribe where you are druid.
-
Choose a domaine name
-
Create or Choose a layouts page from appbuilder/tpllayouts
-
script to create an nginx conf and folder in tribe/www/domainname (without final extension)
-
customize layouts css variables for css (color, fonts, logo) => create the css bootstrap
-
script to create www/website/src/layouts by adding on top and end the block
Bloc to add on top of modelpae.html just after 'html lang="fr"':
Bloc to add at the end of a modelpage.html:
-
On peut acceder à l'editeur de site dans domainame/src/layouts/modelepage.html?variablename1=value&variablename2=value en fonction du template
-
Add an html edditor to list available component with a click to add in the modelepagelayout.
Add a button near each script to edit and update the comp.data.componentname
-
Add a save button to update layout page with data and html content.
-
Manage the web app case to optionnaly store template in comp.data.componentname.tpl to use it in a global app.js process