From 8a7d4832f0f251fa598e1cc330c666969fd2b791 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Sun, 5 Apr 2026 11:16:34 +0200 Subject: [PATCH] map / marker / geoformat / chapter : remove preview panel button and redirect front to narrative - related to #21 --- .../5_test-avec-geoformat/narrative.txt | 15 +++++++-------- public/site/blueprints/pages/chapter.yml | 5 +++++ public/site/blueprints/pages/geoformat.yml | 5 +++++ public/site/blueprints/pages/map.yml | 5 +++++ public/site/blueprints/pages/marker.yml | 5 +++++ public/site/blueprints/pages/narrative.yml | 7 ++++++- public/site/blueprints/pages/project.yml | 5 +++++ public/site/templates/default.php | 6 +++++- src/components/StylesheetViewer.vue | 6 ++---- 9 files changed, 45 insertions(+), 14 deletions(-) diff --git a/public/content/cohesion-des-mondes/5_test-avec-geoformat/narrative.txt b/public/content/cohesion-des-mondes/5_test-avec-geoformat/narrative.txt index 9186dc5..0e2c1bb 100644 --- a/public/content/cohesion-des-mondes/5_test-avec-geoformat/narrative.txt +++ b/public/content/cohesion-des-mondes/5_test-avec-geoformat/narrative.txt @@ -31,14 +31,12 @@ body { } p { - font-size: 22px; + font-size: 14px; line-height: 18px; } h1 { - font-size: 28px; line-height: 38px; - background: rgba(60, 143, 66, 0.52); padding-top: 10px; padding-right: 20px; padding-bottom: 10px; @@ -49,13 +47,14 @@ h1 { font-weight: normal; margin-right: 0mm; margin-left: 0mm; - color: rgb(224, 9, 9); - border-style: solid; - border-color: #e01b1b; - border-width: 3px; text-align: right; font-style: italic; -} + font-size: 28px; + border-style: solid; + border- border-width: 3px; + border- + border- border-color: normal; + background: rgba(60, 143, 66, 0.52);} em { font-style: italic; diff --git a/public/site/blueprints/pages/chapter.yml b/public/site/blueprints/pages/chapter.yml index 74ad0c6..bb10825 100644 --- a/public/site/blueprints/pages/chapter.yml +++ b/public/site/blueprints/pages/chapter.yml @@ -1,4 +1,9 @@ title: Chapitre +buttons: + - open + - settings + - status + - languages tabs: contentTab: diff --git a/public/site/blueprints/pages/geoformat.yml b/public/site/blueprints/pages/geoformat.yml index 3104955..3067146 100644 --- a/public/site/blueprints/pages/geoformat.yml +++ b/public/site/blueprints/pages/geoformat.yml @@ -1,4 +1,9 @@ title: Géoformat +buttons: + - open + - settings + - status + - languages tabs: contentTab: diff --git a/public/site/blueprints/pages/map.yml b/public/site/blueprints/pages/map.yml index 0349133..e5b16d7 100644 --- a/public/site/blueprints/pages/map.yml +++ b/public/site/blueprints/pages/map.yml @@ -1,4 +1,9 @@ title: Carte +buttons: + - open + - settings + - status + - languages columns: main: diff --git a/public/site/blueprints/pages/marker.yml b/public/site/blueprints/pages/marker.yml index 45d0251..fef18ec 100644 --- a/public/site/blueprints/pages/marker.yml +++ b/public/site/blueprints/pages/marker.yml @@ -1,5 +1,10 @@ title: Marqueur icon: location +buttons: + - open + - settings + - status + - languages tabs: content: diff --git a/public/site/blueprints/pages/narrative.yml b/public/site/blueprints/pages/narrative.yml index 7109387..fea5587 100644 --- a/public/site/blueprints/pages/narrative.yml +++ b/public/site/blueprints/pages/narrative.yml @@ -1,4 +1,9 @@ title: Récit +buttons: + - open + - settings + - status + - languages tabs: contentTab: @@ -22,7 +27,7 @@ tabs: text: "{{ file.coverLabel }}" multiple: false width: 1/2 - pdf: + pdf: label: PDF de la publication type: files multiple: false diff --git a/public/site/blueprints/pages/project.yml b/public/site/blueprints/pages/project.yml index cd4787b..b51f161 100644 --- a/public/site/blueprints/pages/project.yml +++ b/public/site/blueprints/pages/project.yml @@ -1,4 +1,9 @@ title: Projet +buttons: + - open + - settings + - status + - languages columns: main: diff --git a/public/site/templates/default.php b/public/site/templates/default.php index 74e38ae..b828cc6 100644 --- a/public/site/templates/default.php +++ b/public/site/templates/default.php @@ -1 +1,5 @@ -

title() ?>

+intendedTemplate(), $redirectedTemplates)) go($page->parents()->findBy('template', 'narrative')->url(), 301); \ No newline at end of file diff --git a/src/components/StylesheetViewer.vue b/src/components/StylesheetViewer.vue index 63939ed..a30b7a2 100644 --- a/src/components/StylesheetViewer.vue +++ b/src/components/StylesheetViewer.vue @@ -204,12 +204,11 @@ watch(isCustomCssEditable, async (newValue, oldValue) => { flex-direction: column; background: #21252b; border-radius: 0.25rem; - overflow: hidden; } .custom-section { flex: 1; - min-height: 300px; + max-height: 45.2rem; } .section-header { @@ -301,6 +300,7 @@ h3 { display: flex; flex-direction: column; flex: 1; + overflow: auto; } .readonly { @@ -321,8 +321,6 @@ h3 { textarea { width: 100%; flex: 1; - min-height: 300px; - max-height: 500px; overflow-y: auto; background: #1e1e1e; color: #abb2bf;