forked from yvv/decision
Home : titres complets des blocs + burger mobile-only + seed CI
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
- Titres cards : "Décisions et consultation d'avis", "Documents de référence", "Mandats et nominations", "Protocoles et fonctionnement" - Burger supprimé sur desktop (≥768px), conservé mobile uniquement - CI : step seed (docker exec python seed.py) entre test-deploy et healthcheck Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -192,10 +192,23 @@ steps:
|
||||
done
|
||||
echo "PASS: tous les containers running"
|
||||
|
||||
- name: seed
|
||||
image: docker:27-cli
|
||||
depends_on:
|
||||
- test-deploy
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /opt/libredecision:/opt/libredecision
|
||||
commands:
|
||||
- |
|
||||
PROJECT=$(grep '^COMPOSE_PROJECT_NAME=' /opt/libredecision/.env | cut -d= -f2)
|
||||
docker exec "$PROJECT-backend-1" python seed.py
|
||||
echo "Seed terminée"
|
||||
|
||||
- name: healthcheck
|
||||
image: alpine:3.20
|
||||
depends_on:
|
||||
- test-deploy
|
||||
- seed
|
||||
commands:
|
||||
- apk add --no-cache --quiet curl
|
||||
- |
|
||||
|
||||
@@ -97,7 +97,7 @@ function isActive(to: string) {
|
||||
<!-- Left: Hamburger (mobile) + Logo -->
|
||||
<div class="app-header__left">
|
||||
<button
|
||||
class="app-header__menu-btn md:hidden"
|
||||
class="app-header__menu-btn"
|
||||
aria-label="Ouvrir le menu"
|
||||
@click="mobileMenuOpen = true"
|
||||
>
|
||||
@@ -327,6 +327,12 @@ function isActive(to: string) {
|
||||
background: var(--mood-accent-soft);
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.app-header__menu-btn {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.app-header__logo {
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
|
||||
@@ -37,7 +37,7 @@ const entryCards = computed(() => {
|
||||
return [
|
||||
{
|
||||
key: 'decisions',
|
||||
title: 'Décisions',
|
||||
title: 'Décisions et consultation d\'avis',
|
||||
icon: 'i-lucide-scale',
|
||||
to: '/decisions',
|
||||
count: decisionsTotal,
|
||||
@@ -47,7 +47,7 @@ const entryCards = computed(() => {
|
||||
},
|
||||
{
|
||||
key: 'documents',
|
||||
title: 'Documents',
|
||||
title: 'Documents de référence',
|
||||
icon: 'i-lucide-book-open',
|
||||
to: '/documents',
|
||||
count: docsActive || docsTotal,
|
||||
@@ -57,7 +57,7 @@ const entryCards = computed(() => {
|
||||
},
|
||||
{
|
||||
key: 'mandats',
|
||||
title: 'Mandats',
|
||||
title: 'Mandats et nominations',
|
||||
icon: 'i-lucide-user-check',
|
||||
to: '/mandates',
|
||||
count: mandatesTotal || null,
|
||||
@@ -67,7 +67,7 @@ const entryCards = computed(() => {
|
||||
},
|
||||
{
|
||||
key: 'protocoles',
|
||||
title: 'Protocoles',
|
||||
title: 'Protocoles et fonctionnement',
|
||||
icon: 'i-lucide-settings',
|
||||
to: '/protocols',
|
||||
count: protocolsCount || null,
|
||||
@@ -347,15 +347,16 @@ function formatDate(dateStr: string): string {
|
||||
}
|
||||
|
||||
.entry-card__title {
|
||||
font-size: 1rem;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 700;
|
||||
color: var(--mood-text);
|
||||
margin: 0;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.entry-card__title {
|
||||
font-size: 1.125rem;
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user