Skip to content

Commit

Permalink
Déploiement Version 1.13.1 (#653)
Browse files Browse the repository at this point in the history
Déploiement Version 1.13.1
  • Loading branch information
l-scherer authored Dec 5, 2024
2 parents e0cb006 + 859764c commit 80603ee
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .kontinuous/env/preprod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pgweb:

pg:
backup:
name: "202407291149" # backup on a new folder
name: "1732544897" # backup on a new folder
~tpl~enabled: "true"

jobs:
Expand Down
10 changes: 8 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ volumes:
services:
frontend-usagers:
image: "node:20.15.1-bullseye-slim"
restart: unless-stopped
working_dir: /app
command: bash -c "/app/packages/frontend-usagers/start.sh"
volumes:
Expand All @@ -30,6 +31,7 @@ services:

frontend-bo:
image: "node:20.15.1-bullseye-slim"
restart: unless-stopped
working_dir: /app
command: bash -c "/app/packages/frontend-bo/start.sh"
volumes:
Expand All @@ -55,6 +57,7 @@ services:

backend:
image: "node:20.15.1-bullseye-slim"
restart: unless-stopped
working_dir: /app
command: bash -c "/app/packages/backend/start.sh"
volumes:
Expand Down Expand Up @@ -95,7 +98,7 @@ services:

postgres:
image: postgres:15.1
restart: always
restart: unless-stopped
environment:
- PGTZ=Europe/Paris
- NODE_ENV=development
Expand All @@ -110,19 +113,21 @@ services:
- ./pg/scripts:/scripts
- ./pg/seeds:/seeds
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 10s
timeout: 5s
retries: 5

maildev:
image: maildev/maildev:2.1.0
restart: unless-stopped
ports:
- "1080:1080"
- "1025:1025"

pghero:
image: ankane/pghero
restart: unless-stopped
environment:
- DATABASE_URL=postgres://${PG_VAO_SUPERUSER}:${PG_VAO_SUPERPASSWORD}@postgres:5432/vao
ports:
Expand All @@ -132,6 +137,7 @@ services:

minio:
image: minio/minio
restart: unless-stopped
volumes:
- minio-data:/data
ports:
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend-usagers/src/components/DS/personnel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,11 @@ function addPersonne() {
modalPersonne.opened = true;
}
function editItem(item, index) {
function editItem(item) {
log.i("editItem - In", item);
if (props.modifiable) {
personnel.value = item;
indexCourant.value = index;
indexCourant.value = item.id;
modalPersonne.opened = true;
}
}
Expand Down
37 changes: 25 additions & 12 deletions packages/shared/src/components/Table/TableFull.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<template>
<TableUI
:on-update-item-by-page="onUpdateItemByPage"
:on-update-current-page="(p) => (currentPage = p)"
:items-by-page="itemByPage"
:total-items="filteredData?.length ?? 0"
:headers="h"
:title="title"
:displayed-data="displayedData"
:current-page="currentPage"
@click-row="onClickRow"
/>
<div class="table-container">
<TableUI
:on-update-item-by-page="onUpdateItemByPage"
:on-update-current-page="(p) => (currentPage = p)"
:items-by-page="itemByPage"
:total-items="filteredData?.length ?? 0"
:headers="h"
:title="title"
:displayed-data="displayedData"
:current-page="currentPage"
@click-row="onClickRow"
/>
</div>
</template>

<script setup>
Expand Down Expand Up @@ -228,4 +230,15 @@ onMounted(() => {
});
</script>
<style scoped></style>
<style scoped>
.table-container {
overflow-x: auto; /* Active le défilement horizontal */
-webkit-overflow-scrolling: touch; /* Défilement fluide sur mobile */
max-width: 100%; /* Assure que le conteneur ne dépasse pas la largeur disponible */
}
.table-container table {
width: 100%; /* Le tableau utilise tout l'espace disponible */
min-width: 800px; /* Largeur minimale pour forcer le scroll si nécessaire */
}
</style>

0 comments on commit 80603ee

Please sign in to comment.