Décision : picto gavel titre + parchemin docs, GrateWizard embed sans double scroll
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

- Page décision : icône gavel pour le titre, scroll-text pour Documents de référence
- GrateWizard : ouverture en mode embed (?embed=true&hideTabBar=true) avec
  scrollbars=no pour supprimer le double scroll

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Yvv
2026-03-03 06:48:52 +01:00
parent fbc2867163
commit 3a5c40a886
2 changed files with 9 additions and 6 deletions

View File

@@ -3,12 +3,15 @@ export function useGrateWizard() {
const { url, popup } = appConfig.gratewizard as { url: string; popup: { width: number; height: number } }
function launch(e?: Event) {
const left = Math.round((window.screen.width - popup.width) / 2)
const top = Math.round((window.screen.height - popup.height) / 2)
const w = popup.width
const h = popup.height
const left = Math.round((window.screen.width - w) / 2)
const top = Math.round((window.screen.height - h) / 2)
const embedUrl = `${url}?embed=true&hideTabBar=true&tab=mn`
const win = window.open(
url,
embedUrl,
'grateWizard',
`width=${popup.width},height=${popup.height},left=${left},top=${top},menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes`,
`width=${w},height=${h},left=${left},top=${top},menubar=no,toolbar=no,location=no,status=no,scrollbars=no,resizable=yes`,
)
if (win) e?.preventDefault()
}

View File

@@ -5,7 +5,7 @@
<!-- Header -->
<div class="text-center mb-12">
<div class="decision-icon mx-auto mb-6">
<div class="i-lucide-scale h-10 w-10" />
<div class="i-lucide-gavel h-10 w-10" />
</div>
<h1 class="font-display text-4xl font-bold text-white mb-4">Plateforme Décision</h1>
<p class="text-lg text-white/60 leading-relaxed">
@@ -58,7 +58,7 @@ const features = [
text: 'Formaliser et suivre les mandats confiés aux personnes désignées.',
},
{
icon: 'file-text',
icon: 'scroll-text',
title: 'Documents de référence',
text: 'Les textes fondateurs et documents qui encadrent la prise de décision.',
},