From f28fe9f7647405e255dc2ceab9ea96ccf3682b70 Mon Sep 17 00:00:00 2001 From: choj Date: Sat, 9 May 2020 17:12:01 +0200 Subject: [PATCH] =?UTF-8?q?factorisation=20du=20code=20pour=20bo=C3=AEte?= =?UTF-8?q?=20de=20dialogue=20+=20=20dialogue=20de=20choix=20d'environneme?= =?UTF-8?q?nt=20=C3=A0=20l'ouverture=20d'un=20nouveau=20document=20+=20int?= =?UTF-8?q?roduction=20de=20la=20liste=20des=20environnements=20dispo=20vi?= =?UTF-8?q?a=20envlist.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/env/envlist.json | 10 +++ public/index.html | 1 + src/assets/_dialog.scss | 50 +++++++++++++++ src/components/Dedediteur.vue | 28 ++++++--- src/components/MetaEditor.vue | 64 ++++++------------- src/components/OpenPane.vue | 112 ++++++++++++++++++++++++++++++++++ 6 files changed, 208 insertions(+), 57 deletions(-) create mode 100644 public/env/envlist.json create mode 100644 src/assets/_dialog.scss create mode 100644 src/components/OpenPane.vue diff --git a/public/env/envlist.json b/public/env/envlist.json new file mode 100644 index 0000000..4eed498 --- /dev/null +++ b/public/env/envlist.json @@ -0,0 +1,10 @@ +window.environments = [ + { + 'name':'typobasic', + 'desc': "Environnement de rédaction contenant l'ensemble des élements typographiques de base." + }, + { + 'name':'courrier', + 'desc': "Environnement permettant la rédaction d'un courrier." + } +]; diff --git a/public/index.html b/public/index.html index 4123528..a99cd85 100644 --- a/public/index.html +++ b/public/index.html @@ -6,6 +6,7 @@ <%= htmlWebpackPlugin.options.title %> +